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

monitor

package
v0.38.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrReload = errors.New("monitor: reload")

Functions

func RunMonitor

func RunMonitor(ctx context.Context, invokeConfig *build.InvokeConfig, rCtx *build.ResultHandle, stdin io.ReadCloser, stdout, stderr io.WriteCloser, progress *progress.Printer) error

RunMonitor provides an interactive session for running and managing containers via specified IO.

Types

type Monitor added in v0.25.0

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

func New added in v0.25.0

func New(cfg *build.InvokeConfig, stdin io.ReadCloser, stdout, stderr io.WriteCloser, printer *progress.Printer) *Monitor

func (*Monitor) Close added in v0.25.0

func (m *Monitor) Close() error

func (*Monitor) Evaluate added in v0.25.0

func (m *Monitor) Evaluate(ctx context.Context, _ string, c gateway.Client, res *gateway.Result, _ build.Options) error

func (*Monitor) Handler added in v0.25.0

func (m *Monitor) Handler() build.Handler

func (*Monitor) Run added in v0.25.0

func (m *Monitor) Run(ctx context.Context, rCtx *build.ResultHandle) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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