namespaceregistration

package
v0.100.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	PhaseCreating  = "Creating"
	PhaseFailed    = "Failed"
	PhaseCompleted = "Completed"
	PhaseDeleting  = "Deleting"

	ReasonInvalidName = "invalid name"
)

Variables

This section is empty.

Functions

func AddControllerToManager

func AddControllerToManager(logger logging.Logger, mgr manager.Manager, config *config.TargetShootSidecarConfiguration) error

AddControllerToManager adds the Namespaceregistration Controller to the manager

Types

type Controller

type Controller struct {
	operation.TargetShootSidecarOperation

	ReconcileFunc    func(ctx context.Context, namespaceRegistration *lssv1alpha1.NamespaceRegistration) (reconcile.Result, error)
	HandleDeleteFunc func(ctx context.Context, namespaceRegistration *lssv1alpha1.NamespaceRegistration) (reconcile.Result, error)
	// contains filtered or unexported fields
}

func NewTestActuator

func NewTestActuator(op operation.TargetShootSidecarOperation, logger logging.Logger) *Controller

NewTestActuator creates a new controller for testing purposes.

func (*Controller) Reconcile

func (c *Controller) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)

Jump to

Keyboard shortcuts

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