controllers

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// to store all controllers and their set up function
	TasServices = map[string]ControllerSetupFunc{}
	// convenient list to store all registered services
	AllTasServices = []string{}
)

Functions

func SetupControllers added in v1.28.0

func SetupControllers(enabledServices []string, mgr manager.Manager, ns, configmap string, recorder record.EventRecorder) error

Types

type ControllerSetupFunc added in v1.28.0

type ControllerSetupFunc func(mgr manager.Manager, ns, configmap string, recorder record.EventRecorder) error

to set up a controller. may include webhook or not

type EnabledServices added in v1.28.0

type EnabledServices []string

func (*EnabledServices) Empty added in v1.28.0

func (es *EnabledServices) Empty() bool

func (*EnabledServices) Set added in v1.28.0

func (es *EnabledServices) Set(services string) error

func (*EnabledServices) String added in v1.28.0

func (es *EnabledServices) String() string

Directories

Path Synopsis
tas

Jump to

Keyboard shortcuts

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