Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func List ¶
func List(client *gophercloud.ServiceClient) pagination.Pager
List is the operation responsible for listing all available global roles that a user can adopt.
func MockAddUserRoleResponse ¶
func MockListRoleResponse ¶
Types ¶
type UserRoleResult ¶
type UserRoleResult struct {
gophercloud.ErrResult
}
UserRoleResult represents the result of either an AddUserRole or a DeleteUserRole operation.
func AddUserRole ¶
func AddUserRole(client *gophercloud.ServiceClient, userID, roleID string) UserRoleResult
AddUserRole is the operation responsible for assigning a particular role to a user. This is confined to the scope of the user's tenant - so the tenant ID is a required argument.
func DeleteUserRole ¶
func DeleteUserRole(client *gophercloud.ServiceClient, userID, roleID string) UserRoleResult
DeleteUserRole is the operation responsible for deleting a particular role from a user. This is confined to the scope of the user's tenant - so the tenant ID is a required argument.
Click to show internal directories.
Click to hide internal directories.