infrastructure

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GardenerShootClusterReconciler

type GardenerShootClusterReconciler struct {
	Manager        mcmanager.Manager
	GardenerClient client.Client
	IsKCP          bool

	PrioritizeShoot bool
}

GardenerShootClusterReconciler reconciles a GardenerShootCluster object.

func (*GardenerShootClusterReconciler) MapShootToGardenerShootClusterObject

func (r *GardenerShootClusterReconciler) MapShootToGardenerShootClusterObject(ctx context.Context, obj client.Object) []mcreconcile.Request

MapShootToGardenerShootClusterObject maps a Shoot object to a GardenerShootCluster object for reconciliation.

func (*GardenerShootClusterReconciler) Reconcile

Reconcile reconciles and syncs the GardenerShootCluster resource with the corresponding Shoot resource.

func (*GardenerShootClusterReconciler) SetupWithManager

SetupWithManager sets up the controller with the Manager.

type GardenerWorkerPoolReconciler

type GardenerWorkerPoolReconciler struct {
	Manager         mcmanager.Manager
	GardenerClient  client.Client
	IsKCP           bool
	Scheme          *runtime.Scheme
	PrioritizeShoot bool
}

GardenerWorkerPoolReconciler reconciles a GardenerWorkerPool object

func (*GardenerWorkerPoolReconciler) MapShootToGardenerWorkerPoolObject

func (r *GardenerWorkerPoolReconciler) MapShootToGardenerWorkerPoolObject(ctx context.Context, obj client.Object) []mcreconcile.Request

MapShootToGardenerWorkerPoolObject maps a Shoot object to a list of GardenerWorkerPool reconcile requests.

func (*GardenerWorkerPoolReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the GardenerWorkerPool object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.20.4/pkg/reconcile

func (*GardenerWorkerPoolReconciler) SetupWithManager

func (r *GardenerWorkerPoolReconciler) SetupWithManager(mgr mcmanager.Manager, targetCluster controllerRuntimeCluster.Cluster) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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