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