Discover Packages
github.com/felixge/docker
pkg
progress
package
Version:
v1.4.2-0...-bb2c923
Opens a new window with list of versions in this module.
Published: Dec 16, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Jump to ...
Documentation
Index
Constants
Variables
Functions
Message(out, id, message)
Messagef(out, id, format, a)
Update(out, id, action)
Updatef(out, id, format, a)
Types
Source Files
Documentation
Documentation
¶
func Message(out Output, id, message string)
func Messagef(out Output, id, format string, a ...interface{})
func Update(out Output, id, action string)
func Updatef(out Output, id, format string, a ...interface{})
type Output
type Progress
type Reader
Message is a convenience function to write a progress message to the channel.
func Messagef(out Output , id, format string , a ...interface{})
Messagef is a convenience function to write a printf-formatted progress
message to the channel.
Update is a convenience function to write a progress update to the channel.
func Updatef(out Output , id, format string , a ...interface{})
Updatef is a convenience function to write a printf-formatted progress update
to the channel.
Output is an interface for writing progress information. It's
like a writer for progress, but we don't call it Writer because
that would be confusing next to ProgressReader (also, because it
doesn't implement the io.Writer interface).
ChanOutput returns a Output that writes progress updates to the
supplied channel.
Progress represents the progress of a transfer.
Reader is a Reader with progress bar.
NewProgressReader creates a new ProgressReader.
Close closes the progress reader and its underlying reader.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.