cluster

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2025 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,
	reconcileServiceBinding func(binding *kubebindv1alpha2.APIServiceBinding) bool,
	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
}

Jump to

Keyboard shortcuts

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