reconciling

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

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.

Jump to

Keyboard shortcuts

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