Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetStatusBegin (0.14 sec)

  1. operator/pkg/helmreconciler/reconciler.go

    	if err := h.client.Get(context.TODO(), objectKey, receiver); err == nil {
    		_ = h.client.Delete(context.TODO(), receiver)
    	}
    }
    
    // SetStatusBegin updates the status field on the IstioOperator instance before reconciling.
    func (h *HelmReconciler) SetStatusBegin() error {
    	isop := &istioV1Alpha1.IstioOperator{}
    	if err := h.getClient().Get(context.TODO(), config.NamespacedName(h.iop), isop); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 22 08:32:23 UTC 2024
    - 22K bytes
    - Viewed (0)
  2. operator/pkg/controller/istiocontrolplane/istiocontrolplane_controller.go

    	if err != nil {
    		scope.Errorf("Error during reconcile. Error: %s", err)
    		return reconcile.Result{}, err
    	}
    	if err := reconciler.SetStatusBegin(); err != nil {
    		scope.Errorf("Error during reconcile, failed to update status to Begin. Error: %s", err)
    		return reconcile.Result{}, err
    	}
    	status, err := reconciler.Reconcile()
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top