Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallIndexers ¶ added in v0.25.0
func InstallIndexers(clusterRoleBindingInformer kcprbacinformers.ClusterRoleBindingClusterInformer)
InstallIndexers adds the additional indexers that this controller requires to the informers.
Types ¶
type Controller ¶
type Controller interface { Start(ctx context.Context, numThreads int) EnqueueClusterRoleBindings(clusterName logicalcluster.Name, values ...interface{}) }
func NewController ¶
func NewController( controllerName string, groupName string, isRelevantClusterRole func(clusterName logicalcluster.Name, cr *rbacv1.ClusterRole) bool, isRelevantClusterRoleBinding func(clusterName logicalcluster.Name, crb *rbacv1.ClusterRoleBinding) bool, kubeClusterClient kcpkubernetesclientset.ClusterInterface, clusterRoleBindingInformer kcprbacinformers.ClusterRoleBindingClusterInformer, clusterRoleInformer kcprbacinformers.ClusterRoleClusterInformer, ) Controller
NewController returns a new controller for labelling ClusterRoleBinding that should be replicated.
Click to show internal directories.
Click to hide internal directories.