controllermanager

package
v0.0.0-...-5ee5d88 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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