approver

package
v0.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

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.

func (*CRRApprover) Run

func (crrApprover *CRRApprover) Run(threadiness int, ctx context.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL