daemon

package
v0.47.2 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: Apache-2.0 Imports: 27 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
	Index() *v1.IndexManifest
}

func ContainerdImage

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

ContainerdImage implements v1.Image

func DockerImage

func DockerImage(ref name.Reference) (Image, func(), error)

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

func DockerTarImage added in v0.23.0

func DockerTarImage(ref name.Reference, localTarPath string) (Image, func(), error)

DockerTarImage 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