daemon

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 31 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) (Image, func(), error)

ContainerdImage implements v1.Image

func DockerImage

func DockerImage(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(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