Documentation
¶
Index ¶
- Constants
- func HasBindOrContentRule(clusterName logicalcluster.Name, cr *rbacv1.ClusterRole) bool
- func HasMaximalPermissionClaimSubject(clusterName logicalcluster.Name, crb *rbacv1.ClusterRoleBinding) bool
- func NewController(kubeClusterClient kcpkubernetesclientset.ClusterInterface, ...) labelclusterroles.Controller
Constants ¶
View Source
const (
ControllerName = "kcp-apis-replicate-clusterrole"
)
Variables ¶
This section is empty.
Functions ¶
func HasBindOrContentRule ¶
func HasBindOrContentRule(clusterName logicalcluster.Name, cr *rbacv1.ClusterRole) bool
func HasMaximalPermissionClaimSubject ¶
func HasMaximalPermissionClaimSubject(clusterName logicalcluster.Name, crb *rbacv1.ClusterRoleBinding) 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.