controller

package
v1.57.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 20 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddControllersToManager added in v1.52.0

func AddControllersToManager(mgr manager.Manager, cfg *config.ControllerManagerConfiguration) error

AddControllersToManager adds all controller-manager controllers to the given manager.

Types

type LegacyControllerFactory added in v1.52.0

type LegacyControllerFactory struct {
	Manager manager.Manager
	Log     logr.Logger
	Config  *config.ControllerManagerConfiguration
}

LegacyControllerFactory starts controller-manager'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.52.0

Start starts all legacy controllers.

Jump to

Keyboard shortcuts

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