package
0.0.0-20210831081626-d823fe11ceba
Repository: https://github.com/huaweicloud/golangsdk.git
Documentation: pkg.go.dev
# Packages
roles unit tests.
# Functions
Assign is the operation responsible for assigning a role to a user/group on a project/domain.
Create creates a new Role.
Delete deletes a role.
ExtractRoleAssignments extracts a slice of RoleAssignments from a Collection acquired from List.
ExtractProjects returns a slice of Roles contained in a single page of results.
Get retrieves details on a single role, by ID.
List enumerates the roles to which the current token has access.
ListAssignments enumerates the roles assigned to a specified resource.
Unassign is the operation responsible for unassigning a role from a user/group on a project/domain.
Update updates an existing Role.
# Structs
AssignmentResult represents the result of an assign operation.
AssignOpts provides options to assign a role.
CreateOpts provides options used to create a role.
CreateResult is the response from a Create operation.
DeleteResult is the response from a Delete operation.
GetResult is the response from a Get operation.
ListAssignmentsOpts allows you to query the ListAssignments method.
ListOpts provides options to filter the List results.
No description provided by the author
Role grants permissions to a user.
RoleAssignment is the result of a role assignments query.
RoleAssignmentPage is a single page of RoleAssignments results.
RolePage is a single page of Role results.
No description provided by the author
UnassignmentResult represents the result of an unassign operation.
UnassignOpts provides options to unassign a role.
UpdateOpts provides options for updating a role.
UpdateResult is the response from an Update operation.
# Interfaces
CreateOptsBuilder allows extensions to add additional parameters to the Create request.
ListAssignmentsOptsBuilder allows extensions to add additional parameters to the ListAssignments request.
ListOptsBuilder allows extensions to add additional parameters to the List request.
UpdateOptsBuilder allows extensions to add additional parameters to the Update request.