progresswriter

package
v0.2.0-beta4 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Write

func Write(w Writer, name string, f func() error)

Types

type Writer

type Writer interface {
	Done() <-chan struct{}
	Err() error
	Status() chan *client.SolveStatus
}

func NewPrinter

func NewPrinter(ctx context.Context, out console.File, mode string) (Writer, error)

func Tee

func Tee(w Writer, ch chan *client.SolveStatus) Writer

Jump to

Keyboard shortcuts

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