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-" // MultiClusterServiceSyncerRole is the default role to syncer mcs-related resources MultiClusterServiceSyncerRole = "mcs-syncer" // MultiClusterServiceNamespace is the default namespace to store mcs-related resources MultiClusterServiceNamespace = "clusternet-mcs" )
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.
Click to show internal directories.
Click to hide internal directories.