Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for reportProgress (0.47 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)
Back to top