Documentation ¶
Index ¶
- type Client
- func (c *Client) AddMember(ctx context.Context, groupID string, userID string) error
- func (c *Client) AssignRole(ctx context.Context, roleID string, userID string) error
- func (c *Client) CreateGroup(ctx context.Context, name string, options *directory.CreateGroupOptions) (*directory.Group, error)
- func (c *Client) CreateRole(ctx context.Context, groupID string, name string, ...) (*directory.Role, error)
- func (c *Client) CreateUser(ctx context.Context, username string, options *directory.CreateUserOptions) (*directory.User, error)
- func (c *Client) DeleteGroup(ctx context.Context, groupID string, options *directory.DeleteGroupOptions) error
- func (c *Client) DeleteRole(ctx context.Context, roleID string, options *directory.DeleteRoleOptions) error
- func (c *Client) DeleteUser(ctx context.Context, userID string, options *directory.DeleteUserOptions) error
- func (c *Client) Group(ctx context.Context, groupID string) (*directory.Group, error)
- func (c *Client) Groups(ctx context.Context, options *directory.GroupListOptions) ([]directory.Group, error)
- func (c *Client) Members(ctx context.Context, groupID string, options *directory.MemberListOptions) ([]directory.Member, error)
- func (c *Client) RemoveMember(ctx context.Context, groupID string, userID string) error
- func (c *Client) RemoveRole(ctx context.Context, roleID string, userID string) error
- func (c *Client) Role(ctx context.Context, roleID string) (*directory.Role, error)
- func (c *Client) Roles(ctx context.Context, groupID string, options *directory.RoleListOptions) ([]directory.Role, error)
- func (c *Client) UpdateGroupExtensions(ctx context.Context, groupID string, extensions map[string]string) error
- func (c *Client) User(ctx context.Context, userID string) (*directory.User, error)
- func (c *Client) Users(ctx context.Context, options *directory.UserListOptions) ([]directory.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AssignRole ¶
func (*Client) CreateGroup ¶
func (*Client) CreateRole ¶
func (*Client) CreateUser ¶
func (*Client) DeleteGroup ¶
func (*Client) DeleteRole ¶
func (*Client) DeleteUser ¶
func (*Client) RemoveMember ¶
func (*Client) RemoveRole ¶
func (*Client) UpdateGroupExtensions ¶
Click to show internal directories.
Click to hide internal directories.