controller

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Create = iota
	Update
	Delete
)

Variables

This section is empty.

Functions

func Run

func Run(stopCh <-chan struct{}, ti cache.SharedIndexInformer, tenantCli tenantclient.TenantV1alpha1Interface, typedCli kubernetes.Interface, discoveryCli *discovery.DiscoveryClient, dynamicCli dynamic.Interface, crdClient *apiextensions.Clientset, quotaClient quotaclient.QuotaV1alpha1Interface, clientCAFile, clientCAKeyFile, kubeZooBindAddress string, kubeZooSecurePort int)

Run starts the tenant controller

Types

type Event

type Event struct {
	// contains filtered or unexported fields
}

Event indicate the informerEvent

type EventType

type EventType int

type TenantController

type TenantController struct {
	// contains filtered or unexported fields
}

TenantController take responsibility for tenant management including the tenant object, tenant certificate and the tenant's k8s resources.

func (*TenantController) HasSynced

func (tc *TenantController) HasSynced() bool

HasSynced returns true if the shared informer's store has been informed by at least one full LIST of the authoritative state of the informer's object collection.

Jump to

Keyboard shortcuts

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