controller

package
v1.61.5 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToManager added in v1.59.0

func AddToManager(
	mgr manager.Manager,
	gardenCluster cluster.Cluster,
	seedCluster cluster.Cluster,
	seedClientSet kubernetes.Interface,
	cfg *config.GardenletConfiguration,
	gardenNamespace *corev1.Namespace,
	gardenClusterIdentity string,
	identity *gardencorev1beta1.Gardener,
	healthManager healthz.Manager,
) error

AddToManager adds all gardenlet controllers to the given manager.

Types

type LegacyControllerFactory added in v1.57.0

type LegacyControllerFactory struct {
	GardenCluster         cluster.Cluster
	SeedCluster           cluster.Cluster
	SeedClientSet         kubernetes.Interface
	ShootClientMap        clientmap.ClientMap
	Log                   logr.Logger
	Config                *config.GardenletConfiguration
	GardenClusterIdentity string
	Identity              *gardencorev1beta1.Gardener
}

LegacyControllerFactory starts gardenlet's legacy controllers under leader election of the given manager for the purpose of gradually migrating to native controller-runtime controllers. Deprecated: this will be replaced by adding native controllers directly to the manager. New controllers should be implemented as native controller-runtime controllers right away and should be added to the manager directly.

func (*LegacyControllerFactory) Start added in v1.57.0

Start starts all legacy controllers.

Directories

Path Synopsis
mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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