gardenlet

package
v1.105.0 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: 31 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "gardenlet"

ControllerName is the name of this controller.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	RuntimeCluster        cluster.Cluster
	RuntimeClient         client.Client
	VirtualConfig         *rest.Config
	VirtualAPIReader      client.Reader
	VirtualClient         client.Client
	Config                config.GardenletDeployerControllerConfig
	Clock                 clock.Clock
	Recorder              record.EventRecorder
	HelmRegistry          oci.Interface
	GardenNamespaceTarget string
}

Reconciler reconciles the Gardenlet.

func (*Reconciler) AddToManager

func (r *Reconciler) AddToManager(ctx context.Context, mgr manager.Manager, virtualCluster cluster.Cluster) error

AddToManager adds Reconciler to the given manager.

func (*Reconciler) OperatorResponsiblePredicate

func (r *Reconciler) OperatorResponsiblePredicate(ctx context.Context) predicate.Predicate

OperatorResponsiblePredicate is a predicate for checking whether the Seed object has already been created for the Gardenlet resource, and whether the kubeconfig secret ref has been removed.

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