logicalclusterdeletion

package
v0.11.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: Apache-2.0 Imports: 29 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,
	shardExternalURL func() string,
	metadataClusterClient kcpmetadata.ClusterInterface,
	logicalClusterInformer corev1alpha1informers.LogicalClusterClusterInformer,
	discoverResourcesFn func(clusterName logicalcluster.Path) ([]*metav1.APIResourceList, error),
) *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