package images

import "github.com/containerd/containerd/cmd/ctr/commands/images"

Index

Variables

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

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 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.

Source Files

convert.go export.go images.go import.go mount.go pull.go push.go tag.go unmount.go usage.go

Version
v1.7.15
Published
Apr 5, 2024
Platform
windows/amd64
Imports
35 packages
Last checked
1 minute ago

Tools for package owners.