Help us shape the future of Go! Take the 2026 Go Developer Survey

shootstate

package
v1.152.2 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "shootstate-finalizer"

ControllerName is the name of the controller.

View Source
const FinalizerName = "core.gardener.cloud/shootstate"

FinalizerName is the finalizer used by the controller.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	// Client is the API Server client used by the Reconciler.
	Client client.Client
	// Config is the configuration used by the Reconciler.
	Config controllermanagerconfigv1alpha1.ShootStateControllerConfiguration
}

Reconciler reconciles ShootState objects and ensures the finalizer exists during "Migrate" and "Restore" phases of Shoot migration to another Seed.

func (*Reconciler) AddToManager

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

AddToManager adds the Reconciler to the given manager.

func (*Reconciler) MapShootToShootState

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

MapShootToShootState maps a Shoot object to ShootState reconciliation request.

func (*Reconciler) Reconcile

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

Reconcile reconciles ShootStates.

func (*Reconciler) ShootPredicates

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

ShootPredicates returns predicates for Shoot requests acceptance.

Jump to

Keyboard shortcuts

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