Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithPolicyRule ¶
func WithPolicyRule(verbs, apiGroups, resources []string) ( option kubernetesRoleOption, )
Types ¶
type KubernetesRole ¶
type KubernetesRole struct {
// contains filtered or unexported fields
}
func NewKubernetesRole ¶
func NewKubernetesRole(name, kubeConfigPath string, options ...kubernetesRoleOption, ) ( r *KubernetesRole, e error, )
func (*KubernetesRole) Destroy ¶
func (r *KubernetesRole) Destroy() (e error)
Click to show internal directories.
Click to hide internal directories.