garden

package
v1.69.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 57 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "garden"

ControllerName is the name of this controller.

Variables

View Source
var NewClientFromSecretObject = kubernetes.NewClientFromSecretObject

NewClientFromSecretObject is an alias for kubernetes.NewClientFromSecretObject.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	RuntimeClientSet      kubernetes.Interface
	RuntimeVersion        *semver.Version
	Config                config.OperatorConfiguration
	Clock                 clock.Clock
	Recorder              record.EventRecorder
	Identity              *gardencorev1beta1.Gardener
	ImageVector           imagevector.ImageVector
	ComponentImageVectors imagevector.ComponentImageVectors
	GardenNamespace       string
}

Reconciler reconciles Gardens.

func (*Reconciler) AddToManager

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

AddToManager adds Reconciler to the given manager.

func (*Reconciler) HasOperationAnnotation added in v1.62.0

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