controller

package
v1.58.3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddControllersToManager added in v1.58.0

func AddControllersToManager(
	mgr manager.Manager,
	gardenCluster cluster.Cluster,
	seedCluster cluster.Cluster,
	seedClientSet kubernetes.Interface,
	cfg *config.GardenletConfiguration,
	gardenNamespace *corev1.Namespace,
	gardenClusterIdentity string,
) error

AddControllersToManager 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
	HealthManager         healthz.Manager
	GardenClusterIdentity string
}

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