namespacedcloudprofile

package
v1.106.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 24 Imported by: 2

Documentation

Index

Constants

View Source
const ControllerName = "namespacedcloudprofile"

ControllerName is the name of this controller.

Variables

This section is empty.

Functions

func MergeCloudProfiles

func MergeCloudProfiles(namespacedCloudProfile *gardencorev1beta1.NamespacedCloudProfile, cloudProfile *gardencorev1beta1.CloudProfile)

MergeCloudProfiles merges the cloud profile spec from a base CloudProfile and a NamespacedCloudProfile into the NamespacedCloudProfile.Status.CloudProfileSpec.

Types

type Reconciler

type Reconciler struct {
	Client   client.Client
	Config   config.NamespacedCloudProfileControllerConfiguration
	Recorder record.EventRecorder
}

Reconciler reconciles NamespacedCloudProfiles.

func (*Reconciler) AddToManager

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

AddToManager adds Reconciler to the given manager.

func (*Reconciler) MapCloudProfileToNamespacedCloudProfile

func (r *Reconciler) MapCloudProfileToNamespacedCloudProfile(ctx context.Context, log logr.Logger, _ client.Reader, obj client.Object) []reconcile.Request

MapCloudProfileToNamespacedCloudProfile is a mapper.MapFunc for mapping a core.gardener.cloud/v1beta1.CloudProfile to core.gardener.cloud/v1beta1.NamespacedCloudProfile.

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