Versions in this module Expand all Collapse all v1 v1.16.3 Nov 9, 2022 Changes in this version + type ClusterRoleBindingAdapter struct + ClusterRoleBinding *rbacv1.ClusterRoleBinding + func (in *ClusterRoleBindingAdapter) DeepCopy() *ClusterRoleBindingAdapter + func (in *ClusterRoleBindingAdapter) DeepCopyInto(out *ClusterRoleBindingAdapter) + func (in ClusterRoleBindingAdapter) DeepCopyRoleBinding() RoleBinding + func (o ClusterRoleBindingAdapter) GetAnnotations() map[string]string + func (o ClusterRoleBindingAdapter) GetLabels() map[string]string + func (o ClusterRoleBindingAdapter) GetName() string + func (o ClusterRoleBindingAdapter) GetNamespace() string + func (o ClusterRoleBindingAdapter) GetObject() runtime.Object + func (o ClusterRoleBindingAdapter) GetRoleRef() rbacv1.RoleRef + func (o ClusterRoleBindingAdapter) GetSubjects() []rbacv1.Subject + func (o ClusterRoleBindingAdapter) GetUID() types.UID + func (o ClusterRoleBindingAdapter) SetAnnotations(in map[string]string) + func (o ClusterRoleBindingAdapter) SetLabels(in map[string]string) + func (o ClusterRoleBindingAdapter) SetSubjects(in []rbacv1.Subject) + type ClusterRoleBindingClientAdapter struct + Client rbacv1client.ClusterRoleBindingInterface + func (c ClusterRoleBindingClientAdapter) Create(in RoleBinding) (RoleBinding, error) + func (c ClusterRoleBindingClientAdapter) Delete(namespace, name string, uid types.UID) error + func (c ClusterRoleBindingClientAdapter) Get(namespace, name string) (RoleBinding, error) + func (c ClusterRoleBindingClientAdapter) Update(in RoleBinding) (RoleBinding, error) + type ClusterRoleModifier struct + Client rbacv1client.ClusterRoleInterface + func (c ClusterRoleModifier) Create(in RuleOwner) (RuleOwner, error) + func (c ClusterRoleModifier) Get(namespace, name string) (RuleOwner, error) + func (c ClusterRoleModifier) Update(in RuleOwner) (RuleOwner, error) + type ClusterRoleRuleOwner struct + ClusterRole *rbacv1.ClusterRole + func (in *ClusterRoleRuleOwner) DeepCopy() *ClusterRoleRuleOwner + func (in *ClusterRoleRuleOwner) DeepCopyInto(out *ClusterRoleRuleOwner) + func (in ClusterRoleRuleOwner) DeepCopyRuleOwner() RuleOwner + func (o ClusterRoleRuleOwner) GetAggregationRule() *rbacv1.AggregationRule + func (o ClusterRoleRuleOwner) GetAnnotations() map[string]string + func (o ClusterRoleRuleOwner) GetLabels() map[string]string + func (o ClusterRoleRuleOwner) GetName() string + func (o ClusterRoleRuleOwner) GetNamespace() string + func (o ClusterRoleRuleOwner) GetObject() runtime.Object + func (o ClusterRoleRuleOwner) GetRules() []rbacv1.PolicyRule + func (o ClusterRoleRuleOwner) SetAggregationRule(in *rbacv1.AggregationRule) + func (o ClusterRoleRuleOwner) SetAnnotations(in map[string]string) + func (o ClusterRoleRuleOwner) SetLabels(in map[string]string) + func (o ClusterRoleRuleOwner) SetRules(in []rbacv1.PolicyRule) + type ReconcileClusterRoleBindingResult struct + ExtraSubjects []rbacv1.Subject + MissingSubjects []rbacv1.Subject + Operation ReconcileOperation + Protected bool + RoleBinding RoleBinding + type ReconcileClusterRoleResult struct + ExtraAggregationRuleSelectors []metav1.LabelSelector + ExtraRules []rbacv1.PolicyRule + MissingAggregationRuleSelectors []metav1.LabelSelector + MissingRules []rbacv1.PolicyRule + Operation ReconcileOperation + Protected bool + Role RuleOwner + type ReconcileOperation string + var ReconcileCreate ReconcileOperation = "create" + var ReconcileNone ReconcileOperation = "none" + var ReconcileRecreate ReconcileOperation = "recreate" + var ReconcileUpdate ReconcileOperation = "update" + type ReconcileRoleBindingOptions struct + Client RoleBindingModifier + Confirm bool + RemoveExtraSubjects bool + RoleBinding RoleBinding + func (o *ReconcileRoleBindingOptions) Run() (*ReconcileClusterRoleBindingResult, error) + type ReconcileRoleOptions struct + Client RuleOwnerModifier + Confirm bool + RemoveExtraPermissions bool + Role RuleOwner + func (o *ReconcileRoleOptions) Run() (*ReconcileClusterRoleResult, error) + type RoleBinding interface + DeepCopyRoleBinding func() RoleBinding + GetAnnotations func() map[string]string + GetLabels func() map[string]string + GetName func() string + GetNamespace func() string + GetObject func() runtime.Object + GetRoleRef func() rbacv1.RoleRef + GetSubjects func() []rbacv1.Subject + GetUID func() types.UID + SetAnnotations func(map[string]string) + SetLabels func(map[string]string) + SetSubjects func([]rbacv1.Subject) + type RoleBindingAdapter struct + RoleBinding *rbacv1.RoleBinding + func (in *RoleBindingAdapter) DeepCopy() *RoleBindingAdapter + func (in *RoleBindingAdapter) DeepCopyInto(out *RoleBindingAdapter) + func (in RoleBindingAdapter) DeepCopyRoleBinding() RoleBinding + func (o RoleBindingAdapter) GetAnnotations() map[string]string + func (o RoleBindingAdapter) GetLabels() map[string]string + func (o RoleBindingAdapter) GetName() string + func (o RoleBindingAdapter) GetNamespace() string + func (o RoleBindingAdapter) GetObject() runtime.Object + func (o RoleBindingAdapter) GetRoleRef() rbacv1.RoleRef + func (o RoleBindingAdapter) GetSubjects() []rbacv1.Subject + func (o RoleBindingAdapter) GetUID() types.UID + func (o RoleBindingAdapter) SetAnnotations(in map[string]string) + func (o RoleBindingAdapter) SetLabels(in map[string]string) + func (o RoleBindingAdapter) SetSubjects(in []rbacv1.Subject) + type RoleBindingClientAdapter struct + Client rbacv1client.RoleBindingsGetter + NamespaceClient corev1client.NamespaceInterface + func (c RoleBindingClientAdapter) Create(in RoleBinding) (RoleBinding, error) + func (c RoleBindingClientAdapter) Delete(namespace, name string, uid types.UID) error + func (c RoleBindingClientAdapter) Get(namespace, name string) (RoleBinding, error) + func (c RoleBindingClientAdapter) Update(in RoleBinding) (RoleBinding, error) + type RoleBindingModifier interface + Create func(RoleBinding) (RoleBinding, error) + Delete func(namespace, name string, uid types.UID) error + Get func(namespace, name string) (RoleBinding, error) + Update func(RoleBinding) (RoleBinding, error) + type RoleModifier struct + Client rbacv1client.RolesGetter + NamespaceClient corev1client.NamespaceInterface + func (c RoleModifier) Create(in RuleOwner) (RuleOwner, error) + func (c RoleModifier) Get(namespace, name string) (RuleOwner, error) + func (c RoleModifier) Update(in RuleOwner) (RuleOwner, error) + type RoleRuleOwner struct + Role *rbacv1.Role + func (in *RoleRuleOwner) DeepCopy() *RoleRuleOwner + func (in *RoleRuleOwner) DeepCopyInto(out *RoleRuleOwner) + func (in RoleRuleOwner) DeepCopyRuleOwner() RuleOwner + func (o RoleRuleOwner) GetAggregationRule() *rbacv1.AggregationRule + func (o RoleRuleOwner) GetAnnotations() map[string]string + func (o RoleRuleOwner) GetLabels() map[string]string + func (o RoleRuleOwner) GetName() string + func (o RoleRuleOwner) GetNamespace() string + func (o RoleRuleOwner) GetObject() runtime.Object + func (o RoleRuleOwner) GetRules() []rbacv1.PolicyRule + func (o RoleRuleOwner) SetAggregationRule(in *rbacv1.AggregationRule) + func (o RoleRuleOwner) SetAnnotations(in map[string]string) + func (o RoleRuleOwner) SetLabels(in map[string]string) + func (o RoleRuleOwner) SetRules(in []rbacv1.PolicyRule) + type RuleOwner interface + DeepCopyRuleOwner func() RuleOwner + GetAggregationRule func() *rbacv1.AggregationRule + GetAnnotations func() map[string]string + GetLabels func() map[string]string + GetName func() string + GetNamespace func() string + GetObject func() runtime.Object + GetRules func() []rbacv1.PolicyRule + SetAggregationRule func(*rbacv1.AggregationRule) + SetAnnotations func(map[string]string) + SetLabels func(map[string]string) + SetRules func([]rbacv1.PolicyRule) + type RuleOwnerModifier interface + Create func(RuleOwner) (RuleOwner, error) + Get func(namespace, name string) (RuleOwner, error) + Update func(RuleOwner) (RuleOwner, error)