Versions in this module Expand all Collapse all v1 v1.2.11 Sep 8, 2021 v1.2.10 Sep 8, 2021 v1.2.9 Sep 8, 2021 Changes in this version + const ExtendedRoleObserver + const ExtendedRoleStakeholder + const ExtendedRoleUser + const Id + const Name + type Client struct + func NewClient(config *client.Config) (*Client, error) + func (c *Client) Create(context context.Context, request *CreateRequest) (*CreateResult, error) + func (c *Client) Delete(context context.Context, request *DeleteRequest) (*DeleteResult, error) + func (c *Client) Get(context context.Context, request *GetRequest) (*GetResult, error) + func (c *Client) List(context context.Context, request *ListRequest) (*ListResult, error) + func (c *Client) Update(context context.Context, request *UpdateRequest) (*UpdateResult, error) + type CreateRequest struct + DisallowedRights []string + ExtendedRole ExtendedRole + GrantedRights []string + Name string + func (r *CreateRequest) Method() string + func (r *CreateRequest) ResourcePath() string + func (r *CreateRequest) Validate() error + type CreateResult struct + Id string + Name string + Result string + type CustomUserRole struct + Id string + Name string + type DeleteRequest struct + Identifier string + IdentifierType Identifier + func (r *DeleteRequest) Method() string + func (r *DeleteRequest) RequestParams() map[string]string + func (r *DeleteRequest) ResourcePath() string + func (r *DeleteRequest) Validate() error + type DeleteResult struct + Result string + type ExtendedRole string + type GetRequest struct + Identifier string + IdentifierType Identifier + func (r *GetRequest) Method() string + func (r *GetRequest) RequestParams() map[string]string + func (r *GetRequest) ResourcePath() string + func (r *GetRequest) Validate() error + type GetResult struct + DisallowedRights []string + ExtendedRole ExtendedRole + GrantedRights []string + Id string + Name string + type Identifier uint32 + type ListRequest struct + func (r *ListRequest) Method() string + func (r *ListRequest) ResourcePath() string + func (r *ListRequest) Validate() error + type ListResult struct + CustomUserRoles []CustomUserRole + type UpdateRequest struct + DisallowedRights []string + ExtendedRole ExtendedRole + GrantedRights []string + Identifier string + IdentifierType Identifier + Name string + func (r *UpdateRequest) Method() string + func (r *UpdateRequest) RequestParams() map[string]string + func (r *UpdateRequest) ResourcePath() string + func (r *UpdateRequest) Validate() error + type UpdateResult struct + Id string + Name string + Result string