import "istio.io/istio/operator/pkg/util/progress"
const ( StateInstalling InstallState = iota StatePruning StateComplete StateUninstallComplete )
type Log struct {
// contains filtered or unexported fields
}
Log records the progress of an installation This aims to provide information about the install of multiple components in parallel, while working around the limitations of the pb library, which will only support single lines. To do this, we aggregate the current components into a single line, and as components complete there final state is persisted to a new line.
func (p *Log) NewComponent(component string) *ManifestLog
func (p *Log) SetState(state InstallState)
type ManifestLog struct {
// contains filtered or unexported fields
}
ManifestLog records progress for a single component
func (p *ManifestLog) ReportError(err string)
func (p *ManifestLog) ReportFinished()
func (p *ManifestLog) ReportProgress()
func (p *ManifestLog) ReportWaiting(resources []string)
Package progress imports 7 packages (graph) and is imported by 2 packages. Updated 2020-10-15. Refresh now. Tools for package owners.