Documentation ¶
Index ¶
Constants ¶
View Source
const (
ControllerName = "tmc-workloads-replicate-clusterrole"
)
Variables ¶
This section is empty.
Functions ¶
func HasSyncRule ¶
func HasSyncRule(clusterName logicalcluster.Name, cr *rbacv1.ClusterRole) bool
func NewController ¶
func NewController( kubeClusterClient kcpkubernetesclientset.ClusterInterface, clusterRoleInformer kcprbacinformers.ClusterRoleClusterInformer, clusterRoleBindingInformer kcprbacinformers.ClusterRoleBindingClusterInformer, ) labelclusterroles.Controller
NewController returns a new controller for labelling ClusterRole that should be replicated.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.