Package io.etcd.jetcd.api
Class VertxAuthGrpc.AuthVertxStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<VertxAuthGrpc.AuthVertxStub>
-
- io.etcd.jetcd.api.VertxAuthGrpc.AuthVertxStub
-
- Enclosing class:
- VertxAuthGrpc
public static final class VertxAuthGrpc.AuthVertxStub extends io.grpc.stub.AbstractStub<VertxAuthGrpc.AuthVertxStub>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.vertx.core.Future<AuthDisableResponse>authDisable(AuthDisableRequest request)Put puts the given key into the key-value store.io.vertx.core.Future<AuthEnableResponse>authEnable(AuthEnableRequest request)Range gets the keys in the range from the key-value store.io.vertx.core.Future<AuthenticateResponse>authenticate(AuthenticateRequest request)DeleteRange deletes the given range from the key-value store.protected VertxAuthGrpc.AuthVertxStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)io.vertx.core.Future<AuthRoleAddResponse>roleAdd(AuthRoleAddRequest request)RoleAdd adds a new role.io.vertx.core.Future<AuthRoleDeleteResponse>roleDelete(AuthRoleDeleteRequest request)RoleDelete deletes a specified role.io.vertx.core.Future<AuthRoleGetResponse>roleGet(AuthRoleGetRequest request)RoleGet gets detailed role information.io.vertx.core.Future<AuthRoleGrantPermissionResponse>roleGrantPermission(AuthRoleGrantPermissionRequest request)RoleGrantPermission grants a permission of a specified key or range to a specified role.io.vertx.core.Future<AuthRoleListResponse>roleList(AuthRoleListRequest request)RoleList gets lists of all roles.io.vertx.core.Future<AuthRoleRevokePermissionResponse>roleRevokePermission(AuthRoleRevokePermissionRequest request)RoleRevokePermission revokes a key or range permission of a specified role.io.vertx.core.Future<AuthUserAddResponse>userAdd(AuthUserAddRequest request)Txn processes multiple requests in a single transaction.io.vertx.core.Future<AuthUserChangePasswordResponse>userChangePassword(AuthUserChangePasswordRequest request)UserChangePassword changes the password of a specified user.io.vertx.core.Future<AuthUserDeleteResponse>userDelete(AuthUserDeleteRequest request)MoveLeader requests current leader node to transfer its leadership to transferee.io.vertx.core.Future<AuthUserGetResponse>userGet(AuthUserGetRequest request)Compact compacts the event history in the etcd key-value store.io.vertx.core.Future<AuthUserGrantRoleResponse>userGrantRole(AuthUserGrantRoleRequest request)UserGrant grants a role to a specified user.io.vertx.core.Future<AuthUserListResponse>userList(AuthUserListRequest request)Snapshot sends a snapshot of the entire backend from a member over a stream to a client.io.vertx.core.Future<AuthUserRevokeRoleResponse>userRevokeRole(AuthUserRevokeRoleRequest request)UserRevokeRole revokes a role of specified user.-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, newStub, newStub, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
-
-
-
Method Detail
-
build
protected VertxAuthGrpc.AuthVertxStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<VertxAuthGrpc.AuthVertxStub>
-
authEnable
public io.vertx.core.Future<AuthEnableResponse> authEnable(AuthEnableRequest request)
Range gets the keys in the range from the key-value store.
-
authDisable
public io.vertx.core.Future<AuthDisableResponse> authDisable(AuthDisableRequest request)
Put puts the given key into the key-value store. A put request increments the revision of the key-value store and generates one event in the event history.
-
authenticate
public io.vertx.core.Future<AuthenticateResponse> authenticate(AuthenticateRequest request)
DeleteRange deletes the given range from the key-value store. A delete request increments the revision of the key-value store and generates a delete event in the event history for every deleted key.
-
userAdd
public io.vertx.core.Future<AuthUserAddResponse> userAdd(AuthUserAddRequest request)
Txn processes multiple requests in a single transaction. A txn request increments the revision of the key-value store and generates events with the same revision for every completed request. It is not allowed to modify the same key several times within one txn.
-
userGet
public io.vertx.core.Future<AuthUserGetResponse> userGet(AuthUserGetRequest request)
Compact compacts the event history in the etcd key-value store. The key-value store should be periodically compacted or the event history will continue to grow indefinitely.
-
userList
public io.vertx.core.Future<AuthUserListResponse> userList(AuthUserListRequest request)
Snapshot sends a snapshot of the entire backend from a member over a stream to a client.
-
userDelete
public io.vertx.core.Future<AuthUserDeleteResponse> userDelete(AuthUserDeleteRequest request)
MoveLeader requests current leader node to transfer its leadership to transferee.
-
userChangePassword
public io.vertx.core.Future<AuthUserChangePasswordResponse> userChangePassword(AuthUserChangePasswordRequest request)
UserChangePassword changes the password of a specified user.
-
userGrantRole
public io.vertx.core.Future<AuthUserGrantRoleResponse> userGrantRole(AuthUserGrantRoleRequest request)
UserGrant grants a role to a specified user.
-
userRevokeRole
public io.vertx.core.Future<AuthUserRevokeRoleResponse> userRevokeRole(AuthUserRevokeRoleRequest request)
UserRevokeRole revokes a role of specified user.
-
roleAdd
public io.vertx.core.Future<AuthRoleAddResponse> roleAdd(AuthRoleAddRequest request)
RoleAdd adds a new role.
-
roleGet
public io.vertx.core.Future<AuthRoleGetResponse> roleGet(AuthRoleGetRequest request)
RoleGet gets detailed role information.
-
roleList
public io.vertx.core.Future<AuthRoleListResponse> roleList(AuthRoleListRequest request)
RoleList gets lists of all roles.
-
roleDelete
public io.vertx.core.Future<AuthRoleDeleteResponse> roleDelete(AuthRoleDeleteRequest request)
RoleDelete deletes a specified role.
-
roleGrantPermission
public io.vertx.core.Future<AuthRoleGrantPermissionResponse> roleGrantPermission(AuthRoleGrantPermissionRequest request)
RoleGrantPermission grants a permission of a specified key or range to a specified role.
-
roleRevokePermission
public io.vertx.core.Future<AuthRoleRevokePermissionResponse> roleRevokePermission(AuthRoleRevokePermissionRequest request)
RoleRevokePermission revokes a key or range permission of a specified role.
-
-