garbagecollector

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "kcp-garbage-collector"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

Controller manages per-workspace garbage collector controllers.

func NewController

func NewController(
	logicalClusterInformer corev1alpha1informers.LogicalClusterClusterInformer,
	kubeClusterClient kcpkubernetesclient.ClusterInterface,
	metadataClient kcpmetadataclient.ClusterInterface,
	dynamicDiscoverySharedInformerFactory *informer.DiscoveringDynamicSharedInformerFactory,
	workersPerLogicalCluster int,
	informersStarted <-chan struct{},
) (*Controller, error)

NewController creates a new Controller.

func (*Controller) Start

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

Start starts the controller.

Jump to

Keyboard shortcuts

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