Documentation
¶
Index ¶
- func ConvertConfigStateToReconcileStatus(state v1alpha1.ConfigState) types.ReconcileStatus
- func ConvertReconcileStatusToConfigState(status types.ReconcileStatus) v1alpha1.ConfigState
- func UpdateStatus(ctx context.Context, c client.Client, object runtime.Object, ...) error
- type Base
- func (rec *Base) Enabled(object runtime.Object) bool
- func (rec *Base) GetHelmReconciler() *HelmReconciler
- func (rec *Base) GetManifest(object runtime.Object) ([]byte, error)
- func (rec *Base) IsOptional() bool
- func (rec *Base) Name() string
- func (rec *Base) PreChecks(object runtime.Object) error
- func (rec *Base) Reconcile(object runtime.Object) (reconcile.Result, error)
- func (rec *Base) ReleaseData(object runtime.Object) (*templatereconciler.ReleaseData, error)
- func (rec *Base) Skipped(object runtime.Object) bool
- func (rec *Base) UpdateStatus(object runtime.Object, status types.ReconcileStatus, message string) error
- type ComponentReconciler
- type HelmReconciler
- type MinimalComponent
- type NewComponentReconcilerFunc
- type ObjectWithStatus
- type Reconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertConfigStateToReconcileStatus ¶
func ConvertConfigStateToReconcileStatus(state v1alpha1.ConfigState) types.ReconcileStatus
func ConvertReconcileStatusToConfigState ¶
func ConvertReconcileStatusToConfigState(status types.ReconcileStatus) v1alpha1.ConfigState
Types ¶
type Base ¶
type Base struct { HelmReconciler *HelmReconciler Component MinimalComponent }
func (*Base) GetHelmReconciler ¶
func (rec *Base) GetHelmReconciler() *HelmReconciler
func (*Base) IsOptional ¶
func (*Base) ReleaseData ¶
func (rec *Base) ReleaseData(object runtime.Object) (*templatereconciler.ReleaseData, error)
func (*Base) UpdateStatus ¶
type ComponentReconciler ¶
type HelmReconciler ¶
type HelmReconciler = templatereconciler.HelmReconciler
type MinimalComponent ¶
type MinimalComponent interface { Name() string Enabled(runtime.Object) bool ReleaseData(runtime.Object) (*templatereconciler.ReleaseData, error) }
type NewComponentReconcilerFunc ¶
type NewComponentReconcilerFunc = func(helmReconciler *HelmReconciler) ComponentReconciler
type ObjectWithStatus ¶
type ObjectWithStatus interface { client.Object SetStatus(status v1alpha1.ConfigState, errorMessage string) }
Click to show internal directories.
Click to hide internal directories.