# Packages
Package testing includes rbac unit tests.
# Functions
Create accepts a CreateOpts struct and creates a new rbac-policy using the values provided.
Delete accepts a unique ID and deletes the rbac-policy associated with it.
ExtractRBACPolicesInto extracts the elements into a slice of RBAC Policy structs.
ExtractRBACPolicies accepts a Page struct, specifically a RBAC Policy struct, and extracts the elements into a slice of RBAC Policy structs.
Get retrieves a specific rbac policy based on its unique ID.
List returns a Pager which allows you to iterate over a collection of rbac policies.
Update accepts a UpdateOpts struct and updates an existing rbac-policy using the values provided.
# Constants
ActionAccessExternal returns Action for the RBAC policy as access_as_external.
ActionAccessShared returns Action for the RBAC policy as access_as_shared.
# Structs
CreateOpts represents options used to create a rbac-policy.
CreateResult represents the result of a create operation.
DeleteResult represents the result of a delete operation.
GetResult represents the result of a get operation.
ListOpts allows the filtering and sorting of paginated collections through the API.
RBACPolicy represents a RBAC policy.
RBACPolicyPage is the page returned by a pager when traversing over a collection of rbac policies.
UpdateOpts represents options used to update a rbac-policy.
UpdateResult represents the result of an update operation.
# Interfaces
CreateOptsBuilder allows extensions to add additional parameters to the Create request.
ListOptsBuilder allows extensions to add additional parameters to the List request.
UpdateOptsBuilder allows extensions to add additional parameters to the Update request.
# Type aliases
PolicyAction maps to Action for the RBAC policy.