Documentation ¶
Index ¶
Constants ¶
View Source
const RolloutReconcileWaitTime = time.Second * 3
RolloutReconcileWaitTime is the time to wait before reconcile again an application still in rollout phase
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateAppConfig ¶ added in v0.3.0
func CreateOrUpdateAppConfig(ctx context.Context, client client.Client, appConfig *v1alpha2.ApplicationConfiguration) error
CreateOrUpdateAppConfig will create if not exist and update if exists.
Types ¶
type Reconciler ¶
type Reconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme // contains filtered or unexported fields }
Reconciler reconciles a Application object
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager install to manager
func (*Reconciler) UpdateStatus ¶ added in v0.3.3
func (r *Reconciler) UpdateStatus(ctx context.Context, app *v1alpha2.Application, opts ...client.UpdateOption) error
UpdateStatus updates v1alpha2.Application's Status with retry.RetryOnConflict
Click to show internal directories.
Click to hide internal directories.