daemon

package
v3.9.1-2866 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image interface {
	v1.Image
	RepoTags() []string
	RepoDigests() []string
}

func ContainerdImage

func ContainerdImage(ctx context.Context, imageName string, opts types.ImageOptions) (Image, func(), error)

ContainerdImage implements v1.Image

func DockerImage

func DockerImage(ctx context.Context, ref name.Reference, host string) (Image, func(), error)

DockerImage implements v1.Image by extending daemon.Image. The caller must call cleanup() to remove a temporary file.

func PodmanImage

func PodmanImage(ctx context.Context, ref string) (Image, func(), error)

PodmanImage implements v1.Image by extending daemon.Image. The caller must call cleanup() to remove a temporary file.

Jump to

Keyboard shortcuts

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