logicalclusterdeletion

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "kcp-logicalcluster-deletion"
)

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 struct {
	// contains filtered or unexported fields
}

func NewController

func NewController(
	kubeClusterClient kcpkubernetesclientset.ClusterInterface,
	kcpClusterClient kcpclientset.ClusterInterface,
	logicalClusterAdminConfig *rest.Config,
	externalLogicalClusterAdminConfig *rest.Config,
	metadataClusterClient kcpmetadata.ClusterInterface,
	logicalClusterInformer corev1alpha1informers.LogicalClusterClusterInformer,
	discoverResourcesFn func(clusterName logicalcluster.Path) ([]*metav1.APIResourceList, error),
	apiBindingInformer apisv1alpha1informers.APIBindingClusterInformer,
) *Controller

func (*Controller) Start

func (c *Controller) Start(ctx context.Context, numThreads int)

type LogicalCluster

type LogicalCluster = corev1alpha1.LogicalCluster

type LogicalClusterSpec

type LogicalClusterSpec = corev1alpha1.LogicalClusterSpec

type LogicalClusterStatus

type LogicalClusterStatus = corev1alpha1.LogicalClusterStatus

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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