Documentation ¶
Index ¶
- Constants
- func FromReader(w Writer, name string, rc io.ReadCloser)
- func NewChannel(w Writer) (chan *client.SolveStatus, chan struct{})
- func Wrap(name string, l Logger, fn func(SubLogger) error) (err error)
- func Write(w Writer, name string, f func() error)
- type Logger
- type Printer
- type SubLogger
- type Writer
Constants ¶
View Source
const ( PrinterModeAuto = "auto" PrinterModeTty = "tty" PrinterModePlain = "plain" PrinterModeQuiet = "quiet" )
Variables ¶
This section is empty.
Functions ¶
func FromReader ¶
func FromReader(w Writer, name string, rc io.ReadCloser)
func NewChannel ¶ added in v0.5.0
func NewChannel(w Writer) (chan *client.SolveStatus, chan struct{})
Types ¶
type Logger ¶
type Logger func(*client.SolveStatus)
type Printer ¶ added in v0.5.0
type Printer struct {
// contains filtered or unexported fields
}
func NewPrinter ¶
func (*Printer) ClearLogSource ¶ added in v0.8.0
func (p *Printer) ClearLogSource(v interface{})
func (*Printer) ValidateLogSource ¶ added in v0.8.0
func (*Printer) Warnings ¶ added in v0.8.0
func (p *Printer) Warnings() []client.VertexWarning
func (*Printer) Write ¶ added in v0.5.0
func (p *Printer) Write(s *client.SolveStatus)
Click to show internal directories.
Click to hide internal directories.