cloudimg

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Phase      Phase
	BytesTotal int64 // Content-Length; -1 if unknown.
	BytesDone  int64 // Bytes downloaded so far (download phase only).
}

Event describes a single cloud image pull progress update.

type Phase

type Phase int

Phase represents a stage in the cloud image pull lifecycle.

const (
	PhaseDownload Phase = iota // HTTP download started.
	PhaseConvert               // Format conversion (qemu-img) started.
	PhaseCommit                // Writing to index.
	PhaseDone                  // Pull completed successfully.
)

Jump to

Keyboard shortcuts

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