Documentation ¶
Index ¶
- type RolesClient
- func (rc *RolesClient) CreateRole(role *rbacv1.Role, namespace string) (*rbacv1.Role, error)
- func (rc *RolesClient) DeleteRole(name string, namespace string) error
- func (rc *RolesClient) GetList(namespace string, opts metav1.ListOptions) (*rbacv1.RoleList, error)
- func (rc *RolesClient) GetRole(name string, namespace string) (*rbacv1.Role, error)
- type RolesClientInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RolesClient ¶
type RolesClient struct {
Clientset *kubernetes.Clientset
}
func (*RolesClient) CreateRole ¶
func (*RolesClient) DeleteRole ¶
func (rc *RolesClient) DeleteRole(name string, namespace string) error
func (*RolesClient) GetList ¶
func (rc *RolesClient) GetList(namespace string, opts metav1.ListOptions) (*rbacv1.RoleList, error)
type RolesClientInterface ¶
Click to show internal directories.
Click to hide internal directories.