Refine search
/** * <pre> * Alarm activates, deactivates, and queries alarms regarding cluster health. * </pre> */ public void alarm(etcdserverpb.Rpc.AlarmRequest request, io.grpc.stub.StreamObserver<etcdserverpb.Rpc.AlarmResponse> responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_ALARM, getCallOptions()), request, responseObserver); }
/** * <pre> * Status gets the status of the member. * </pre> */ public void status(etcdserverpb.Rpc.StatusRequest request, io.grpc.stub.StreamObserver<etcdserverpb.Rpc.StatusResponse> responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_STATUS, getCallOptions()), request, responseObserver); }
/** * <pre> * 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. * </pre> */ public void put(etcdserverpb.Rpc.PutRequest request, io.grpc.stub.StreamObserver<etcdserverpb.Rpc.PutResponse> responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_PUT, getCallOptions()), request, responseObserver); }
/** * <pre> * AuthDisable disables authentication. * </pre> */ public void authDisable(etcdserverpb.Rpc.AuthDisableRequest request, io.grpc.stub.StreamObserver<etcdserverpb.Rpc.AuthDisableResponse> responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_AUTH_DISABLE, getCallOptions()), request, responseObserver); }
/** * <pre> * 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. * </pre> */ public void deleteRange(etcdserverpb.Rpc.DeleteRangeRequest request, io.grpc.stub.StreamObserver<etcdserverpb.Rpc.DeleteRangeResponse> responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_DELETE_RANGE, getCallOptions()), request, responseObserver); }
/** * <pre> * UserList gets a list of all users. * </pre> */ public void userList(etcdserverpb.Rpc.AuthUserListRequest request, io.grpc.stub.StreamObserver<etcdserverpb.Rpc.AuthUserListResponse> responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_USER_LIST, getCallOptions()), request, responseObserver); }
/** * <pre> * RoleGet gets detailed role information. * </pre> */ public void roleGet(etcdserverpb.Rpc.AuthRoleGetRequest request, io.grpc.stub.StreamObserver<etcdserverpb.Rpc.AuthRoleGetResponse> responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_ROLE_GET, getCallOptions()), request, responseObserver); }
/** * <pre> * RoleList gets lists of all roles. * </pre> */ public void roleList(etcdserverpb.Rpc.AuthRoleListRequest request, io.grpc.stub.StreamObserver<etcdserverpb.Rpc.AuthRoleListResponse> responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_ROLE_LIST, getCallOptions()), request, responseObserver); }
/** * <pre> * Hash returns the hash of the local KV state for consistency checking purpose. * This is designed for testing; do not use this in production when there * are ongoing transactions. * </pre> */ public void hash(etcdserverpb.Rpc.HashRequest request, io.grpc.stub.StreamObserver<etcdserverpb.Rpc.HashResponse> responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_HASH, getCallOptions()), request, responseObserver); }
/** * <pre> * LeaseGrant creates a lease which expires if the server does not receive a keepAlive * within a given time to live period. All keys attached to the lease will be expired and * deleted if the lease expires. Each expired key generates a delete event in the event history. * </pre> */ public void leaseGrant(etcdserverpb.Rpc.LeaseGrantRequest request, io.grpc.stub.StreamObserver<etcdserverpb.Rpc.LeaseGrantResponse> responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_LEASE_GRANT, getCallOptions()), request, responseObserver); }
/** * <pre> * LeaseRevoke revokes a lease. All keys attached to the lease will expire and be deleted. * </pre> */ public void leaseRevoke(etcdserverpb.Rpc.LeaseRevokeRequest request, io.grpc.stub.StreamObserver<etcdserverpb.Rpc.LeaseRevokeResponse> responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_LEASE_REVOKE, getCallOptions()), request, responseObserver); }
/** * <pre> * Range gets the keys in the range from the key-value store. * </pre> */ public void range(etcdserverpb.Rpc.RangeRequest request, io.grpc.stub.StreamObserver<etcdserverpb.Rpc.RangeResponse> responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_RANGE, getCallOptions()), request, responseObserver); }
/** * <pre> * UserChangePassword changes the password of a specified user. * </pre> */ public void userChangePassword(etcdserverpb.Rpc.AuthUserChangePasswordRequest request, io.grpc.stub.StreamObserver<etcdserverpb.Rpc.AuthUserChangePasswordResponse> responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_USER_CHANGE_PASSWORD, getCallOptions()), request, responseObserver); }
/** * <pre> * UserGrant grants a role to a specified user. * </pre> */ public void userGrantRole(etcdserverpb.Rpc.AuthUserGrantRoleRequest request, io.grpc.stub.StreamObserver<etcdserverpb.Rpc.AuthUserGrantRoleResponse> responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_USER_GRANT_ROLE, getCallOptions()), request, responseObserver); }
/** * <pre> * RoleGrantPermission grants a permission of a specified key or range to a specified role. * </pre> */ public void roleGrantPermission(etcdserverpb.Rpc.AuthRoleGrantPermissionRequest request, io.grpc.stub.StreamObserver<etcdserverpb.Rpc.AuthRoleGrantPermissionResponse> responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_ROLE_GRANT_PERMISSION, getCallOptions()), request, responseObserver); }
/** * <pre> * RoleRevokePermission revokes a key or range permission of a specified role. * </pre> */ public void roleRevokePermission(etcdserverpb.Rpc.AuthRoleRevokePermissionRequest request, io.grpc.stub.StreamObserver<etcdserverpb.Rpc.AuthRoleRevokePermissionResponse> responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_ROLE_REVOKE_PERMISSION, getCallOptions()), request, responseObserver); } }
/** * <pre> * MemberAdd adds a member into the cluster. * </pre> */ public void memberAdd(etcdserverpb.Rpc.MemberAddRequest request, io.grpc.stub.StreamObserver<etcdserverpb.Rpc.MemberAddResponse> responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_MEMBER_ADD, getCallOptions()), request, responseObserver); }
/** * <pre> * MemberList lists all the members in the cluster. * </pre> */ public void memberList(etcdserverpb.Rpc.MemberListRequest request, io.grpc.stub.StreamObserver<etcdserverpb.Rpc.MemberListResponse> responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_MEMBER_LIST, getCallOptions()), request, responseObserver); } }
/** * <pre> * Defragment defragments a member's backend database to recover storage space. * </pre> */ public void defragment(etcdserverpb.Rpc.DefragmentRequest request, io.grpc.stub.StreamObserver<etcdserverpb.Rpc.DefragmentResponse> responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_DEFRAGMENT, getCallOptions()), request, responseObserver); }
/** * <pre> * UserAdd adds a new user. * </pre> */ public void userAdd(etcdserverpb.Rpc.AuthUserAddRequest request, io.grpc.stub.StreamObserver<etcdserverpb.Rpc.AuthUserAddResponse> responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_USER_ADD, getCallOptions()), request, responseObserver); }