runtime

package
v1.115.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2025 License: Apache-2.0 Imports: 27 Imported by: 1

Documentation

Index

Constants

View Source
const ControllerName = "extension-required-runtime"

ControllerName is the name of this controller.

Variables

View Source
var RequeueDurationWhenGardenIsBeingDeleted = 2 * time.Second

RequeueDurationWhenGardenIsBeingDeleted is the duration after the request will be requeued when the Garden is being deleted. Exposed for testing.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	Client client.Client
	Config operatorconfigv1alpha1.ExtensionRequiredRuntimeControllerConfiguration
	// contains filtered or unexported fields
}

Reconciler reconciles Extensions to determine their required state.

func (*Reconciler) AddToManager

func (r *Reconciler) AddToManager(mgr manager.Manager) error

AddToManager adds Reconciler to the given manager.

func (*Reconciler) MapGardenToExtensions added in v1.114.0

func (r *Reconciler) MapGardenToExtensions(log logr.Logger) handler.MapFunc

MapGardenToExtensions returns a mapping function that maps a given garden resource to all related extensions.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

Reconcile performs the main reconciliation logic.

Jump to

Keyboard shortcuts

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