kubernetes/pkg/apis/rbac/v1beta1/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() rbacv1beta1.PolicyRule {}

func (r *PolicyRuleBuilder) Rule() (rbacv1beta1.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() rbacv1beta1.ClusterRoleBinding {}

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