podmanutil

package
v0.0.0-...-8056938 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBadParam = errors.New("bad parameter")
	ErrNotFound = errors.New("not found")
)

Functions

func ListImages

func ListImages(client context.Context, imageNameFilter string) (map[string]BasicImageProps, error)

func LoadImage

func LoadImage(client context.Context,
	locaTarFilePath string,
	inputStream io.Reader,
	outputStream io.Writer) error

func SaveImage

func SaveImage(
	client context.Context,
	imageRef string,
	local string,
	extract bool,
	removeOrig bool,
	useDockerFormat bool,
	inactivityTimeout int) error

Types

type BasicImageProps

type BasicImageProps struct {
	ID      string
	Size    int64
	Created int64
}

type ImageIdentity

type ImageIdentity struct {
	ID           string
	ShortTags    []string
	RepoTags     []string
	ShortDigests []string
	RepoDigests  []string
}

func HasImage

func HasImage(client context.Context, imageRef string) (*ImageIdentity, error)

func ImageToIdentity

func ImageToIdentity(info *types.ImageInspectReport) *ImageIdentity

Jump to

Keyboard shortcuts

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