package progresswriter
import "github.com/moby/buildkit/util/progress/progresswriter"
Index ¶
- func Wrap(name string, l Logger, fn func(SubLogger) error) (err error)
- func Write(w Writer, name string, f func() error)
- type Logger
- type MultiWriter
- func NewMultiWriter(pw Writer) *MultiWriter
- func (mw *MultiWriter) Done() <-chan struct{}
- func (mw *MultiWriter) Err() error
- func (mw *MultiWriter) Status() chan *client.SolveStatus
- func (mw *MultiWriter) WithPrefix(pfx string, force bool) Writer
- type SubLogger
- type Writer
Functions ¶
func Wrap ¶
func Write ¶
Types ¶
type Logger ¶
type Logger func(*client.SolveStatus)
type MultiWriter ¶
type MultiWriter struct {
// contains filtered or unexported fields
}
func NewMultiWriter ¶
func NewMultiWriter(pw Writer) *MultiWriter
func (*MultiWriter) Done ¶
func (mw *MultiWriter) Done() <-chan struct{}
func (*MultiWriter) Err ¶
func (mw *MultiWriter) Err() error
func (*MultiWriter) Status ¶
func (mw *MultiWriter) Status() chan *client.SolveStatus
func (*MultiWriter) WithPrefix ¶
func (mw *MultiWriter) WithPrefix(pfx string, force bool) Writer
type SubLogger ¶
type Writer ¶
type Writer interface { Done() <-chan struct{} Err() error Status() chan *client.SolveStatus }
func NewPrinter ¶
func ResetTime ¶
func Tee ¶
func Tee(w Writer, ch chan *client.SolveStatus) Writer
Source Files ¶
multiwriter.go printer.go progress.go reset.go writer.go
- Version
- v0.20.0-rc1
- Published
- Feb 11, 2025
- Platform
- js/wasm
- Imports
- 11 packages
- Last checked
- 1 minute ago –
Tools for package owners.