Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface {
IsControllerReady() bool
}
type FTCSubControllerInitFuncs ¶
type FTCSubControllerInitFuncs struct { StartFunc StartFTCSubControllerFunc IsEnabledFunc IsFTCSubControllerEnabledFunc }
type IsFTCSubControllerEnabledFunc ¶
type IsFTCSubControllerEnabledFunc func(typeConfig *fedcorev1a1.FederatedTypeConfig) bool
type StartControllerFunc ¶
type StartControllerFunc func(ctx context.Context, controllerCtx *controllercontext.Context) (Controller, error)
startControllerFunc is responsible for constructing and starting a controller. startControllerFunc should be asynchronous and an error is only returned if we fail to start the controller.
type StartFTCSubControllerFunc ¶
type StartFTCSubControllerFunc func( ctx context.Context, controllerCtx *controllercontext.Context, typeConfig *fedcorev1a1.FederatedTypeConfig, ) (Controller, error)
StartFTCSubControllerFunc is responsible for constructing and starting a FTC subcontroller. A FTC subcontroller is started/stopped dynamically for every FTC. StartFTCSubControllerFunc should be asynchronous and an error is only returned if we fail to start the controller.
Click to show internal directories.
Click to hide internal directories.