CompletableFuture<DeleteResponse> |
KV.delete(ByteSequence key)
delete a key.
|
CompletableFuture<DeleteResponse> |
KV.delete(ByteSequence key,
DeleteOption option)
delete a key or range with option.
|
CompletableFuture<GetResponse> |
KV.get(ByteSequence key)
retrieve value for the given key.
|
CompletableFuture<GetResponse> |
KV.get(ByteSequence key,
GetOption option)
retrieve keys with GetOption.
|
CompletableFuture<LockResponse> |
Lock.lock(ByteSequence name,
long leaseId)
Acquire a lock with the given name.
|
ClientBuilder |
ClientBuilder.password(ByteSequence password)
config etcd auth password.
|
CompletableFuture<PutResponse> |
KV.put(ByteSequence key,
ByteSequence value)
put a key-value pair into etcd.
|
CompletableFuture<PutResponse> |
KV.put(ByteSequence key,
ByteSequence value,
PutOption option)
put a key-value pair into etcd with option.
|
CompletableFuture<AuthRoleAddResponse> |
Auth.roleAdd(ByteSequence user)
adds a new role to an etcd cluster.
|
CompletableFuture<AuthRoleDeleteResponse> |
Auth.roleDelete(ByteSequence role)
RoleDelete deletes a role.
|
CompletableFuture<AuthRoleGetResponse> |
Auth.roleGet(ByteSequence role)
gets a detailed information of a role.
|
CompletableFuture<AuthRoleGrantPermissionResponse> |
Auth.roleGrantPermission(ByteSequence role,
ByteSequence key,
ByteSequence rangeEnd,
Permission.Type permType)
grants a permission to a role.
|
CompletableFuture<AuthRoleRevokePermissionResponse> |
Auth.roleRevokePermission(ByteSequence role,
ByteSequence key,
ByteSequence rangeEnd)
revokes a permission from a role.
|
CompletableFuture<UnlockResponse> |
Lock.unlock(ByteSequence lockKey)
Release the lock identified by the given key.
|
ClientBuilder |
ClientBuilder.user(ByteSequence user)
config etcd auth user.
|
CompletableFuture<AuthUserAddResponse> |
Auth.userAdd(ByteSequence user,
ByteSequence password)
adds a new user to an etcd cluster.
|
CompletableFuture<AuthUserChangePasswordResponse> |
Auth.userChangePassword(ByteSequence user,
ByteSequence password)
changes a password of a user.
|
CompletableFuture<AuthUserDeleteResponse> |
Auth.userDelete(ByteSequence user)
deletes a user from an etcd cluster.
|
CompletableFuture<AuthUserGetResponse> |
Auth.userGet(ByteSequence user)
gets a detailed information of a user.
|
CompletableFuture<AuthUserGrantRoleResponse> |
Auth.userGrantRole(ByteSequence user,
ByteSequence role)
grants a role to a user.
|
CompletableFuture<AuthUserRevokeRoleResponse> |
Auth.userRevokeRole(ByteSequence user,
ByteSequence role)
revokes a role of a user.
|
Watch.Watcher |
Watch.watch(ByteSequence key)
watch on a key.
|
Watch.Watcher |
Watch.watch(ByteSequence key,
WatchOption watchOption)
watch on a key with option.
|