pull

package
v0.1.17 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: MPL-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

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