Documentation
¶
Index ¶
- Constants
- func MergeCloudProfiles(namespacedCloudProfile *gardencorev1beta1.NamespacedCloudProfile, ...)
- type Reconciler
- func (r *Reconciler) AddToManager(ctx context.Context, mgr manager.Manager) error
- func (r *Reconciler) MapCloudProfileToNamespacedCloudProfile(ctx context.Context, log logr.Logger, _ client.Reader, obj client.Object) []reconcile.Request
- func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.