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 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.
Click to show internal directories.
Click to hide internal directories.