lifecycle

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Type is the type of Extension resource.
	Type = constants.ExtensionType
	// Name is the name of the lifecycle controller.
	Name = "shoot_lakom_service_lifecycle_controller"
	// FinalizerSuffix is the finalizer suffix for the Lakom Service controller.
	FinalizerSuffix = constants.ExtensionType
)
View Source
const (
	// ActuatorName is the name of the Lakom Service actuator.
	ActuatorName = constants.ExtensionType + "-actuator"
)

Variables

View Source
var DefaultAddOptions = AddOptions{}

DefaultAddOptions contains configuration for the Lakom service.

Functions

func AddToManager

func AddToManager(ctx context.Context, mgr manager.Manager) error

AddToManager adds a Lakom Service Lifecycle controller to the given Controller Manager.

func NewActuator

func NewActuator(mgr manager.Manager, config config.Configuration) extension.Actuator

NewActuator returns an actuator responsible for Extension resources.

Types

type AddOptions

type AddOptions struct {
	// ControllerOptions contains options for the controller.
	ControllerOptions controller.Options
	// ServiceConfig contains configuration for the shoot Lakom service.
	ServiceConfig controllerconfig.Config
	// IgnoreOperationAnnotation specifies whether to ignore the operation annotation or not.
	IgnoreOperationAnnotation bool
}

AddOptions are options to apply when adding the lakom service controller to the manager.

Jump to

Keyboard shortcuts

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