labellogicalcluster

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: 20 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommitFunc

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

type Controller

type Controller interface {
	EnqueueLogicalCluster(cluster *corev1alpha1.LogicalCluster, values ...interface{})

	Start(ctx context.Context, numThreads int)
}

func NewController

func NewController(
	controllerName string,
	groupName string,
	isRelevantLogicalCluster func(cluster *corev1alpha1.LogicalCluster) bool,
	kcpClusterClient kcpclientset.ClusterInterface,
	logicalClusterInformer corev1alpha1informers.LogicalClusterClusterInformer,
) Controller

NewController returns a new controller for labelling LogicalClusters that should be replicated.

type LogicalCluster

type LogicalCluster = corev1alpha1.LogicalCluster

type LogicalClusterSpec

type LogicalClusterSpec = corev1alpha1.LogicalClusterSpec

type LogicalClusterStatus

type LogicalClusterStatus = corev1alpha1.LogicalClusterStatus

Jump to

Keyboard shortcuts

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