oci

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 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
	Index  int    // Layer index (0-based); -1 for non-layer phases.
	Total  int    // Total number of layers.
	Digest string // Short digest hex (first 12 chars) for layer events.
}

Event describes a single OCI pull progress update.

type Phase

type Phase int

Phase represents a stage in the OCI pull lifecycle.

const (
	PhasePull   Phase = iota // Image resolved, layer count known.
	PhaseLayer               // A single layer has been processed.
	PhaseCommit              // Committing artifacts to shared image paths.
	PhaseDone                // Pull completed successfully.
)

Jump to

Keyboard shortcuts

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