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 controllermanagerconfigv1alpha1.NamespacedCloudProfileControllerConfiguration Recorder record.EventRecorder }
Reconciler reconciles NamespacedCloudProfiles.
func (*Reconciler) AddToManager ¶
func (r *Reconciler) AddToManager(mgr manager.Manager) error
AddToManager adds Reconciler to the given manager.
func (*Reconciler) MapCloudProfileToNamespacedCloudProfile ¶
func (r *Reconciler) MapCloudProfileToNamespacedCloudProfile(log logr.Logger) handler.MapFunc
MapCloudProfileToNamespacedCloudProfile is a handler.MapFunc for mapping a core.gardener.cloud/v1beta1.CloudProfile to core.gardener.cloud/v1beta1.NamespacedCloudProfile.
Click to show internal directories.
Click to hide internal directories.