Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for reportProgress (0.14 sec)

  1. operator/pkg/util/progress/progress_test.go

    	cnbo := name.UserFacingComponentName(cnb)
    	foo := p.NewComponent(string(cnp))
    	foo.ReportProgress()
    	expect(`- Processing resources for ` + cnpo + `.`)
    
    	bar := p.NewComponent(string(cnb))
    	bar.ReportProgress()
    	// string buffer won't rewrite, so we append
    	expect(`- Processing resources for ` + cnbo + `, ` + cnpo + `.`)
    	bar.ReportProgress()
    	bar.ReportProgress()
    
    	bar.ReportWaiting([]string{"deployment"})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. operator/pkg/util/progress/progress.go

    	}
    	bar.Start()
    	// if we aren't a terminal, we will return a new line for each new message
    	if !bar.GetBool(pb.Terminal) {
    		bar.Set(pb.ReturnSymbol, "\n")
    	}
    	return bar
    }
    
    // reportProgress will report an update for a given component
    // Because the bar library does not support multiple lines/bars at once, we need to aggregate current
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. operator/pkg/helmreconciler/apply.go

    				return result, err
    			}
    			if err := h.ApplyObject(obj.UnstructuredObject()); err != nil {
    				plog.ReportError(err.Error())
    				return result, err
    			}
    			plog.ReportProgress()
    			metrics.AddResource(obj.FullName(), obj.GroupVersionKind().GroupKind())
    			result.processedObjects = append(result.processedObjects, obj)
    			// Update the cache with the latest object.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 12 17:12:54 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top