Documentation ¶
Index ¶
- func Configure(log *zap.SugaredLogger)
- func OperatingSystemConfigObjectWrapper(reconciler OperatingSystemConfigReconciler) reconciling.ObjectReconciler
- func OperatingSystemProfileObjectWrapper(reconciler OperatingSystemProfileReconciler) reconciling.ObjectReconciler
- func ReconcileOperatingSystemConfigs(ctx context.Context, ...) error
- func ReconcileOperatingSystemProfiles(ctx context.Context, ...) error
- type NamedOperatingSystemConfigReconcilerFactory
- type NamedOperatingSystemProfileReconcilerFactory
- type OperatingSystemConfigReconciler
- type OperatingSystemProfileReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Configure ¶ added in v1.2.0
func Configure(log *zap.SugaredLogger)
func OperatingSystemConfigObjectWrapper ¶
func OperatingSystemConfigObjectWrapper(reconciler OperatingSystemConfigReconciler) reconciling.ObjectReconciler
OperatingSystemConfigObjectWrapper adds a wrapper so the OperatingSystemConfigReconciler matches ObjectReconciler. This is needed as Go does not support function interface matching.
func OperatingSystemProfileObjectWrapper ¶ added in v0.3.0
func OperatingSystemProfileObjectWrapper(reconciler OperatingSystemProfileReconciler) reconciling.ObjectReconciler
OperatingSystemProfileObjectWrapper adds a wrapper so the OperatingSystemProfileReconciler matches ObjectReconciler. This is needed as Go does not support function interface matching.
func ReconcileOperatingSystemConfigs ¶
func ReconcileOperatingSystemConfigs(ctx context.Context, namedFactories []NamedOperatingSystemConfigReconcilerFactory, namespace string, client ctrlruntimeclient.Client, objectModifiers ...reconciling.ObjectModifier) error
ReconcileOperatingSystemConfigs will create and update the OperatingSystemConfigs coming from the passed OperatingSystemConfigReconciler slice.
func ReconcileOperatingSystemProfiles ¶ added in v0.3.0
func ReconcileOperatingSystemProfiles(ctx context.Context, namedFactories []NamedOperatingSystemProfileReconcilerFactory, namespace string, client ctrlruntimeclient.Client, objectModifiers ...reconciling.ObjectModifier) error
ReconcileOperatingSystemProfiles will create and update the OperatingSystemProfiles coming from the passed OperatingSystemProfileReconciler slice.
Types ¶
type NamedOperatingSystemConfigReconcilerFactory ¶ added in v1.2.0
type NamedOperatingSystemConfigReconcilerFactory = func() (name string, reconciler OperatingSystemConfigReconciler)
NamedOperatingSystemConfigReconcilerFactory returns the name of the resource and the corresponding Reconciler function.
type NamedOperatingSystemProfileReconcilerFactory ¶ added in v1.2.0
type NamedOperatingSystemProfileReconcilerFactory = func() (name string, reconciler OperatingSystemProfileReconciler)
NamedOperatingSystemProfileReconcilerFactory returns the name of the resource and the corresponding Reconciler function.
type OperatingSystemConfigReconciler ¶ added in v1.2.0
type OperatingSystemConfigReconciler = func(existing *osmv1alpha1.OperatingSystemConfig) (*osmv1alpha1.OperatingSystemConfig, error)
OperatingSystemConfigReconciler defines an interface to create/update OperatingSystemConfigs.
type OperatingSystemProfileReconciler ¶ added in v1.2.0
type OperatingSystemProfileReconciler = func(existing *osmv1alpha1.OperatingSystemProfile) (*osmv1alpha1.OperatingSystemProfile, error)
OperatingSystemProfileReconciler defines an interface to create/update OperatingSystemProfiles.