initialization

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 33 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 ClusterWorkspaces.

func NewAPIBinder

func NewAPIBinder(
	kcpClusterClient kcpclient.Interface,
	clusterWorkspaceInformer tenancyinformer.ClusterWorkspaceInformer,
	clusterWorkspaceTypeInformer tenancyinformer.ClusterWorkspaceTypeInformer,
	apiBindingsInformer apisinformer.APIBindingInformer,
	apiExportsInformer apisinformer.APIExportInformer,
) (*APIBinder, error)

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

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