Documentation ¶
Index ¶
- func GetImageReference(resource *ocmapi.Resource) (string, error)
- func GetResourceAccess(resource *ocmapi.Resource) (cpi.AccessSpec, error)
- type ComponentVersionReconciler
- type ConfigurationReconciler
- type LocalizationReconciler
- type MutationReconcileLooper
- type ResourceReconciler
- type SnapshotReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetImageReference ¶ added in v0.1.0
TODO: Replace this with something that can handle other access Types. Alternatively, extend it.
func GetResourceAccess ¶ added in v0.1.0
func GetResourceAccess(resource *ocmapi.Resource) (cpi.AccessSpec, error)
Types ¶
type ComponentVersionReconciler ¶
type ComponentVersionReconciler struct { client.Client Scheme *runtime.Scheme OCMClient ocmclient.FetchVerifier }
ComponentVersionReconciler reconciles a ComponentVersion object
func (*ComponentVersionReconciler) Reconcile ¶
func (r *ComponentVersionReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*ComponentVersionReconciler) SetupWithManager ¶
func (r *ComponentVersionReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ConfigurationReconciler ¶
type ConfigurationReconciler struct { client.Client Scheme *runtime.Scheme ReconcileInterval time.Duration RetryInterval time.Duration Cache cache.Cache OCMClient ocm.FetchVerifier }
ConfigurationReconciler reconciles a Configuration object
func (*ConfigurationReconciler) Reconcile ¶
func (r *ConfigurationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*ConfigurationReconciler) SetupWithManager ¶
func (r *ConfigurationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type LocalizationReconciler ¶
type LocalizationReconciler struct { client.Client Scheme *runtime.Scheme ReconcileInterval time.Duration RetryInterval time.Duration OCMClient ocm.FetchVerifier Cache cache.Cache }
LocalizationReconciler reconciles a Localization object
func (*LocalizationReconciler) Reconcile ¶
func (r *LocalizationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*LocalizationReconciler) SetupWithManager ¶
func (r *LocalizationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type MutationReconcileLooper ¶
type MutationReconcileLooper struct { Scheme *runtime.Scheme OCMClient ocm.FetchVerifier Client client.Client Cache cache.Cache }
func (*MutationReconcileLooper) ReconcileMutationObject ¶
func (m *MutationReconcileLooper) ReconcileMutationObject(ctx context.Context, spec v1alpha1.MutationSpec, obj client.Object) (string, error)
type ResourceReconciler ¶
type ResourceReconciler struct { client.Client Scheme *runtime.Scheme OCMClient ocm.FetchVerifier Cache cache.Cache }
ResourceReconciler reconciles a Resource object
func (*ResourceReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*ResourceReconciler) SetupWithManager ¶
func (r *ResourceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type SnapshotReconciler ¶
SnapshotReconciler reconciles a Snapshot object
func (*SnapshotReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*SnapshotReconciler) SetupWithManager ¶
func (r *SnapshotReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Source Files ¶
- build_tar.go
- componentversion_controller.go
- configuration_controller.go
- configuration_strat_merge_patch.go
- get_resource.go
- localization_controller.go
- mutation_generate_subst_rules.go
- mutation_reconcile_looper.go
- mutation_write_snapshot.go
- patch_object.go
- resource_controller.go
- snapshot_controller.go