approver

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 26 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-"
)

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{})

Jump to

Keyboard shortcuts

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