pull

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2017 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Progress

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

Progress ingests pull information from docker and reports it as necessary.

func NewProgress

func NewProgress(tty bool, reader io.Reader) *Progress

NewProgress returns a progress parser.

func (*Progress) Print

func (p *Progress) Print()

Print prints the current state of the progress meter.

func (*Progress) Process

func (p *Progress) Process() (string, error)

Process processes the reader with a function to map the pull information.

Jump to

Keyboard shortcuts

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