Help us shape the future of Go! Take the 2026 Go Developer Survey

solvermon

package
v0.8.19 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package solvermon monitors the progress of buildkit solvers, tracking operations and identifying fatal errors.

Index

Constants

View Source
const (
	// BuildkitStatsStream is the stream number associated with runc stats.
	BuildkitStatsStream = 99 // TODO move to a common location in buildkit
)

Variables

This section is empty.

Functions

func FormatError

func FormatError(operation string, errString string) string

FormatError formats an error string with the operation name.

Types

type SolverMonitor

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

SolverMonitor is a buildkit solver monitor.

func New

func New(b *logbus.Bus) *SolverMonitor

New creates a new SolverMonitor.

func (*SolverMonitor) MonitorProgress

func (sm *SolverMonitor) MonitorProgress(ctx context.Context, ch chan *client.SolveStatus) error

MonitorProgress processes a channel of buildkit solve statuses.

Jump to

Keyboard shortcuts

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