Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ManagedClusterRole is the default role for ManagedCluster objects ManagedClusterRole = "clusternet-managedcluster-role" // SocketsClusterRoleNamePrefix is the prefix name of Sockets clusterrole SocketsClusterRoleNamePrefix = "clusternet-" )
rbac
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CRRApprover ¶
type CRRApprover struct {
// contains filtered or unexported fields
}
CRRApprover defines configuration for ClusterRegistrationRequests approver
func NewCRRApprover ¶
func NewCRRApprover(kubeclient *kubernetes.Clientset, clusternetclient *clusternetClientSet.Clientset, clusternetInformerFactory clusternetInformers.SharedInformerFactory, kubeInformerFactory kubeInformers.SharedInformerFactory, socketConnection bool) (*CRRApprover, error)
NewCRRApprover returns a new CRRApprover for ClusterRegistrationRequest.
func (*CRRApprover) Run ¶
func (crrApprover *CRRApprover) Run(threadiness int, stopCh <-chan struct{})
Click to show internal directories.
Click to hide internal directories.