garden

package
v1.102.2 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: Apache-2.0 Imports: 108 Imported by: 1

Documentation

Index

Constants

View Source
const ControllerName = "garden"

ControllerName is the name of this controller.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	Manager               manager.Manager
	RuntimeClientSet      kubernetes.Interface
	RuntimeVersion        *semver.Version
	Config                config.OperatorConfiguration
	Clock                 clock.Clock
	Recorder              record.EventRecorder
	Identity              *gardencorev1beta1.Gardener
	ComponentImageVectors imagevector.ComponentImageVectors
	GardenNamespace       string
	// GardenClientMap is the ClientMap used to communicate with the virtual garden cluster. It should be set by AddToManager function but the field is still public for use in tests.
	GardenClientMap clientmap.ClientMap
	// contains filtered or unexported fields
}

Reconciler reconciles Gardens.

func (*Reconciler) AddToManager

func (r *Reconciler) AddToManager(mgr manager.Manager, gardenClientMap clientmap.ClientMap) error

AddToManager adds Reconciler to the given manager.

func (*Reconciler) HasOperationAnnotation

func (r *Reconciler) HasOperationAnnotation() predicate.Predicate

HasOperationAnnotation returns a predicate which returns true when the object has an operation annotation.

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