cluster

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(
	consumerSecretRefKey string,
	providerNamespace string,
	consumerConfig, providerConfig *rest.Config,
	namespaceInformer dynamic.Informer[corelisters.NamespaceLister],
	serviceBindingInformer dynamic.Informer[bindlisters.APIServiceBindingLister],
	crdInformer dynamic.Informer[crdlisters.CustomResourceDefinitionLister],
) (*controller, error)

NewController returns a new controller handling one cluster connection.

Types

type GenericController

type GenericController interface {
	Start(ctx context.Context, numThreads int)
}

type SharedInformerFactory

type SharedInformerFactory interface {
	Start(stopCh <-chan struct{})
	WaitForCacheSync(stopCh <-chan struct{}) map[reflect.Type]bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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