operator

package
v0.0.0-...-661409f Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConditionController

func NewConditionController(
	name string,
	client v1helpers.OperatorClient,
	eventRecorder events.Recorder,
	conditions []operatorv1.OperatorCondition,
) factory.Controller

func NewValidatingWebhookConfigController

func NewValidatingWebhookConfigController(
	name string,
	client v1helpers.OperatorClient,
	kubeCient kubernetes.Interface,
	webhookInformer admissionregistrationinformer.ValidatingWebhookConfigurationInformer,
	assetFunc resourceapply.AssetFunc,
	asset string,
	eventRecorder events.Recorder,
	hooks []validatingWebhookConfigHook,
) factory.Controller

func NewVersionController

func NewVersionController(
	name string,
	client v1helpers.OperatorClient,
	versionGetter status.VersionGetter,
	eventRecorder events.Recorder,
	availableConditionName string,
	progressingConditionName string,
	operatorVersion string,
	operandVersion string,
) factory.Controller

func RunOperator

func RunOperator(ctx context.Context, controllerConfig *controllercmd.ControllerContext, guestKubeConfigFile string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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