Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { // Controllers is the list of controllers to enable or disable // '*' means "all enabled by default controllers" // 'foo' means "enable 'foo'" // '-foo' means "disable 'foo'" // first item for a particular name wins Controllers []string Manager controllerruntime.Manager }
Context defines the context object for controller
type InitFunc ¶
InitFunc is used to launch a particular controller. Any error returned will cause the controller process to `Fatal` The bool indicates whether the controller was enabled.
type Initializers ¶
Initializers is a public map of named controller groups
func (Initializers) ControllerNames ¶
func (i Initializers) ControllerNames() []string
ControllerNames returns all known controller names
func (Initializers) StartControllers ¶
func (i Initializers) StartControllers(ctx Context, controllersDisabledByDefault sets.Set[string]) error
StartControllers starts a set of controllers with a specified ControllerContext
Click to show internal directories.
Click to hide internal directories.