Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Reporter ¶
type Reporter interface {
Phase(name string)
StartLayer(d digest.Digest, totalBytes int64, encoding string) Layer
Finish()
}
func FromWriter ¶
func NewBars ¶
NewBars returns a multi-bar reporter backed by mpb. If w is not a TTY, mpb would swallow its output (cursor escapes are unsafe on a pipe/file), so NewBars degrades to the line reporter — users that explicitly passed --progress=bars into a non-TTY sink still see layer progress, just without animation.
func NewDiscard ¶
func NewDiscard() Reporter
type SlogWriterProvider ¶
Click to show internal directories.
Click to hide internal directories.