pub struct AclRoleListStub {
pub id: String,
pub name: String,
pub description: String,
pub policies: Vec<AclRolePolicyLink>,
pub create_index: u64,
pub modify_index: u64,
}
Expand description
ACLRoleListStub is the stub object returned when performing a listing of ACL roles. While it might not currently be different to the full response object, it allows us to future-proof the RPC in the event the ACLRole object grows over time.
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§id: String
ID is an internally generated UUID for this role and is controlled by Nomad.
name: String
Name is unique across the entire set of federated clusters and is supplied by the operator on role creation. The name can be modified by updating the role and including the Nomad generated ID. This update will not affect tokens created and linked to this role. This is a required field.
description: String
Description is a human-readable, operator set description that can provide additional context about the role. This is an operational field.
policies: Vec<AclRolePolicyLink>
Policies is an array of ACL policy links. Although currently policies can only be linked using their name, in the future we will want to add IDs also and thus allow operators to specify either a name, an ID, or both.
create_index: u64
§modify_index: u64
Implementations§
Source§impl AclRoleListStub
impl AclRoleListStub
pub fn builder() -> AclRoleListStubBuilder
Trait Implementations§
Source§impl Clone for AclRoleListStub
impl Clone for AclRoleListStub
Source§fn clone(&self) -> AclRoleListStub
fn clone(&self) -> AclRoleListStub
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more