Versions in this module Expand all Collapse all v1 v1.5.0-1 Jun 24, 2023 v1.2.1 Mar 20, 2023 Changes in this version + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + func ListAssignments(client *gophercloud.ServiceClient, opts ListAssignmentsOptsBuilder) pagination.Pager + func ListAssignmentsOnResource(client *gophercloud.ServiceClient, opts ListAssignmentsOnResourceOpts) pagination.Pager + type AssignOpts struct + DomainID string + GroupID string + ProjectID string + UserID string + type AssignedRole struct + ID string + Name string + type AssignmentResult struct + func Assign(client *gophercloud.ServiceClient, roleID string, opts AssignOpts) (r AssignmentResult) + type CreateOpts struct + DomainID string + Extra map[string]interface{} + Name string + func (opts CreateOpts) ToRoleCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToRoleCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Role, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, roleID string) (r DeleteResult) + type Domain struct + ID string + Name string + type GetResult struct + func Get(client *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Role, error) + type Group struct + Domain Domain + ID string + Name string + type InvalidListFilter struct + FilterName string + func (e InvalidListFilter) Error() string + type ListAssignmentsOnResourceOpts struct + DomainID string + GroupID string + ProjectID string + UserID string + type ListAssignmentsOpts struct + Effective *bool + GroupID string + IncludeNames *bool + IncludeSubtree *bool + RoleID string + ScopeDomainID string + ScopeProjectID string + UserID string + func (opts ListAssignmentsOpts) ToRolesListAssignmentsQuery() (string, error) + type ListAssignmentsOptsBuilder interface + ToRolesListAssignmentsQuery func() (string, error) + type ListOpts struct + DomainID string + Filters map[string]string + Name string + func (opts ListOpts) ToRoleListQuery() (string, error) + type ListOptsBuilder interface + ToRoleListQuery func() (string, error) + type Project struct + Domain Domain + ID string + Name string + type Role struct + DomainID string + Extra map[string]interface{} + ID string + Links map[string]interface{} + Name string + func ExtractRoles(r pagination.Page) ([]Role, error) + func (r *Role) UnmarshalJSON(b []byte) error + type RoleAssignment struct + Group Group + Role AssignedRole + Scope Scope + User User + func ExtractRoleAssignments(r pagination.Page) ([]RoleAssignment, error) + type RoleAssignmentPage struct + func (r RoleAssignmentPage) IsEmpty() (bool, error) + func (r RoleAssignmentPage) NextPageURL() (string, error) + type RolePage struct + func (r RolePage) IsEmpty() (bool, error) + func (r RolePage) NextPageURL() (string, error) + type Scope struct + Domain Domain + Project Project + type UnassignOpts struct + DomainID string + GroupID string + ProjectID string + UserID string + type UnassignmentResult struct + func Unassign(client *gophercloud.ServiceClient, roleID string, opts UnassignOpts) (r UnassignmentResult) + type UpdateOpts struct + Extra map[string]interface{} + Name string + func (opts UpdateOpts) ToRoleUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToRoleUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(client *gophercloud.ServiceClient, roleID string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Role, error) + type User struct + Domain Domain + ID string + Name string