outmon

package
v0.7.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2023 License: MPL-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SolverMonitor

type SolverMonitor struct {
	// contains filtered or unexported fields
}

SolverMonitor is an object that monitors for status updates from a buildkit solve and prints them to the console.

func NewSolverMonitor

func NewSolverMonitor(console conslogging.ConsoleLogger, verbose bool, disableNoOutputUpdates bool) *SolverMonitor

NewSolverMonitor retuns a new solver monitor.

func (*SolverMonitor) MonitorProgress

func (sm *SolverMonitor) MonitorProgress(ctx context.Context, ch chan *client.SolveStatus, phaseText string, sideRun bool, bkClient *client.Client) (string, error)

MonitorProgress consumes progress messages from a solve statue channel and prints them to the console.

func (*SolverMonitor) PrintTiming

func (sm *SolverMonitor) PrintTiming()

PrintTiming prints the accumulated timing information.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL