Documentation
¶
Index ¶
- type ActionRule
- type Client
- func (c *Client) CreateOrUpdatePolicy(p *Policy) error
- func (c *Client) CreateOrUpdateRoleBinding(projectName string, roleBinding *RoleBinding) error
- func (c *Client) CreateOrUpdateSystemRoleBinding(roleBinding *RoleBinding) error
- func (c *Client) CreatePublicRole(name string, role *Role) error
- func (c *Client) CreateSystemRole(name string, role *Role) error
- func (c *Client) DeleteRoleBinding(name string, projectName string) error
- func (c *Client) DeleteRoleBindings(names []string, projectName string) error
- func (c *Client) DeleteRoles(names []string, projectName string) error
- func (c *Client) ListRoleBindings(projectName string) ([]*RoleBinding, error)
- type NameArgs
- type Policy
- type Role
- type RoleBinding
- type Rule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionRule ¶
type Client ¶
type Client struct { *httpclient.Client // contains filtered or unexported fields }
func NewDefault ¶
func NewDefault() *Client
func (*Client) CreateOrUpdatePolicy ¶
func (*Client) CreateOrUpdateRoleBinding ¶
func (c *Client) CreateOrUpdateRoleBinding(projectName string, roleBinding *RoleBinding) error
func (*Client) CreateOrUpdateSystemRoleBinding ¶
func (c *Client) CreateOrUpdateSystemRoleBinding(roleBinding *RoleBinding) error
func (*Client) DeleteRoleBinding ¶
func (*Client) DeleteRoleBindings ¶
func (*Client) ListRoleBindings ¶
func (c *Client) ListRoleBindings(projectName string) ([]*RoleBinding, error)
type RoleBinding ¶
Click to show internal directories.
Click to hide internal directories.