kubernetes/pkg/apis/rbac/v1alpha1/helpers.go

type PolicyRuleBuilder

func (r *PolicyRuleBuilder) Groups(groups ...string) *PolicyRuleBuilder {}

func (r *PolicyRuleBuilder) Resources(resources ...string) *PolicyRuleBuilder {}

func (r *PolicyRuleBuilder) Names(names ...string) *PolicyRuleBuilder {}

func (r *PolicyRuleBuilder) URLs(urls ...string) *PolicyRuleBuilder {}

func (r *PolicyRuleBuilder) RuleOrDie() rbacv1alpha1.PolicyRule {}

func (r *PolicyRuleBuilder) Rule() (rbacv1alpha1.PolicyRule, error) {}

type ClusterRoleBindingBuilder

func (r *ClusterRoleBindingBuilder) Groups(groups ...string) *ClusterRoleBindingBuilder {}

func (r *ClusterRoleBindingBuilder) Users(users ...string) *ClusterRoleBindingBuilder {}

func (r *ClusterRoleBindingBuilder) SAs(namespace string, serviceAccountNames ...string) *ClusterRoleBindingBuilder {}

func (r *ClusterRoleBindingBuilder) BindingOrDie() rbacv1alpha1.ClusterRoleBinding {}

func (r *ClusterRoleBindingBuilder) Binding() (rbacv1alpha1.ClusterRoleBinding, error) {}