initialization

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "kcp-apibinder-initializer"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type APIBinder

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

APIBinder is a controller which instantiates APIBindings and waits for them to be fully bound in new Workspaces.

func NewAPIBinder

func NewAPIBinder(
	kcpClusterClient kcpclientset.ClusterInterface,
	logicalClusterInformer corev1alpha1informers.LogicalClusterClusterInformer,
	workspaceTypeInformer, globalWorkspaceTypeInformer tenancyv1alpha1informers.WorkspaceTypeClusterInformer,
	apiBindingsInformer apisv1alpha1informers.APIBindingClusterInformer,
	apiExportsInformer, globalAPIExportsInformer apisv1alpha1informers.APIExportClusterInformer,
) (*APIBinder, error)

NewAPIBinder returns a new controller which instantiates APIBindings and waits for them to be fully bound in new Workspaces.

func (*APIBinder) ShutDown

func (b *APIBinder) ShutDown()

func (*APIBinder) Start

func (b *APIBinder) Start(ctx context.Context, numThreads int)

Jump to

Keyboard shortcuts

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