| Package | Description |
|---|---|
| io.etcd.jetcd | |
| io.etcd.jetcd.auth |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<AuthRoleGrantPermissionResponse> |
Auth.roleGrantPermission(ByteSequence role,
ByteSequence key,
ByteSequence rangeEnd,
Permission.Type permType)
grants a permission to a role.
|
| Modifier and Type | Method and Description |
|---|---|
Permission.Type |
Permission.getPermType()
returns the type of Permission: READ, WRITE, READWRITE, or UNRECOGNIZED.
|
static Permission.Type |
Permission.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Permission.Type[] |
Permission.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
Permission(Permission.Type permType,
ByteSequence key,
ByteSequence rangeEnd) |
Copyright © 2020. All rights reserved.