images

package
v0.0.0-...-c2cca62 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: Apache-2.0 Imports: 49 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = &cli.Command{
	Name:    "images",
	Aliases: []string{"image", "i"},
	Usage:   "Manage images",
	Subcommands: cli.Commands{
		checkCommand,
		exportCommand,
		importCommand,
		inspectCommand,
		listCommand,
		mountCommand,
		unmountCommand,
		pullCommand,
		pushCommand,
		pruneCommand,
		removeCommand,
		tagCommand,
		setLabelsCommand,
		convertCommand,
		usageCommand,
		encryptCommand,
		decryptCommand,
		layerinfoCommand,
	},
}

Command is the cli command for managing images

Functions

func Display

func Display(w io.Writer, status string, statuses []transfer.Progress, start time.Time)

Display pretty prints out the download or upload progress Status tree

func DisplayHierarchy

func DisplayHierarchy(w io.Writer, status string, roots []*progressNode, start time.Time)

func ParseEncArgs

func ParseEncArgs(context *cli.Context) parsehelpers.EncArgs

func ProgressHandler

func ProgressHandler(ctx context.Context, out io.Writer) (transfer.ProgressFunc, func())

ProgressHandler continuously updates the output with job progress by checking status in the content store.

Types

type LayerInfo

type LayerInfo struct {
	// The Number of this layer in the sequence; starting at 0
	Index      uint32
	Descriptor ocispec.Descriptor
}

LayerInfo holds information about an image layer

Jump to

Keyboard shortcuts

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