Documentation ¶
Overview ¶
Package role manipulates the k8s api of role object
Index ¶
- type Option
- type Role
- func (r *Role) Create(role *rbacv1.Role) error
- func (r *Role) Delete(namespace, name string) error
- func (r *Role) DeleteIfExists(namespace, name string) error
- func (r *Role) Exists(namespace, name string) error
- func (r *Role) Get(namespace, name string) (*rbacv1.Role, error)
- func (r *Role) Patch(role *rbacv1.Role) error
- func (r *Role) Update(role *rbacv1.Role) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Role)
Option configures an Role
func WithCompleteParams ¶
func WithCompleteParams(addr string, client *httpclient.HTTPClient) Option
WithCompleteParams provides an Option
Click to show internal directories.
Click to hide internal directories.