Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { Context context.Context Mgr controllerruntime.Manager CloudProvider multiclusterprovider.Interface Opts Options DynamicClientSet dynamic.Interface InformerManager genericmanager.SingleClusterInformerManager ProviderClassName string }
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
type Options ¶
type Options struct { // Controllers contains all controller names. Controllers []string // RateLimiterOptions contains the options for rate limiter. RateLimiterOptions ratelimiterflag.Options }
Options defines all the parameters required by our controllers.
Click to show internal directories.
Click to hide internal directories.