image

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 57 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert(ctx context.Context, client *containerd.Client, srcRawRef, targetRawRef string, options types.ImageConvertOptions) error

func Crypt

func Crypt(ctx context.Context, client *containerd.Client, srcRawRef, targetRawRef string, encrypt bool, options types.ImageCryptOptions) error

func EnsureImage

func EnsureImage(ctx context.Context, client *containerd.Client, rawRef string, ocispecPlatforms []v1.Platform, pull string, unpack *bool, quiet bool, options types.ImagePullOptions) (*imgutil.EnsuredImage, error)

func Inspect

func Inspect(ctx context.Context, client *containerd.Client, images []string, options types.ImageInspectOptions) error

Inspect prints detailed information of each image in `images`.

func List

func List(ctx context.Context, client *containerd.Client, options types.ImageListOptions) error

func Load

func Load(ctx context.Context, client *containerd.Client, options types.ImageLoadOptions) error

func Pull

func Pull(ctx context.Context, client *containerd.Client, rawRef string, options types.ImagePullOptions) error

func Push

func Push(ctx context.Context, client *containerd.Client, rawRef string, options types.ImagePushOptions) error

func Remove

func Remove(ctx context.Context, client *containerd.Client, args []string, options types.ImageRemoveOptions) error

Remove removes a list of `images`.

func Tag

func Tag(ctx context.Context, client *containerd.Client, options types.ImageTagOptions) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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