Documentation
¶
Overview ¶
Package pull implements image pull progress reporting.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProgressWriter ¶
type ProgressWriter struct {
// contains filtered or unexported fields
}
ProgressWriter writes pull progress updates to a reporter.
func (*ProgressWriter) PrintLayerProgress ¶
func (w *ProgressWriter) PrintLayerProgress(rep *reporter.Reporter)
PrintLayerProgress prints the current layer pull progress to the reporter.
func (*ProgressWriter) UpdateJob ¶
func (w *ProgressWriter) UpdateJob(node, layerID string, progress *machine.ImageServicePullLayerProgress)
UpdateJob updates the progress of a pull job for a given node and layer ID.
It is supposed to be called whenever there is a progress update for a layer pull.
Click to show internal directories.
Click to hide internal directories.