bootstrap

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: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerNameBase = "kcp-workspacetypes-bootstrap"
)

Variables

This section is empty.

Functions

func NewController

func NewController(
	dynamicClusterClient kcpdynamic.ClusterInterface,
	kcpClusterClient kcpclientset.ClusterInterface,
	logicalClusterInformer corev1alpha1informers.LogicalClusterClusterInformer,
	workspaceType tenancyv1alpha1.WorkspaceTypeReference,
	bootstrap func(context.Context, discovery.DiscoveryInterface, dynamic.Interface, clientset.Interface, sets.Set[string]) error,
	batteriesIncluded sets.Set[string],
) (*controller, error)

Types

type CommitFunc added in v0.11.0

type CommitFunc = func(context.Context, *Resource, *Resource) error

type LogicalCluster added in v0.11.0

type LogicalCluster = corev1alpha1.LogicalCluster

type LogicalClusterSpec added in v0.11.0

type LogicalClusterSpec = corev1alpha1.LogicalClusterSpec

type LogicalClusterStatus added in v0.11.0

type LogicalClusterStatus = corev1alpha1.LogicalClusterStatus

type Patcher added in v0.11.0

type Resource added in v0.11.0

Jump to

Keyboard shortcuts

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