manifests

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(ctx context.Context, name string, options image.ManifestAddOpts) (string, error)

Add adds a manifest to a given manifest list. Additional options for the manifest can also be specified. The ID of the new manifest list is returned as a string

func Create

func Create(ctx context.Context, names, images []string, all *bool) (string, error)

Create creates a manifest for the given name. Optional images to be associated with the new manifest can also be specified. The all boolean specifies to add all entries of a list if the name provided is a manifest list. The ID of the new manifest list is returned as a string.

func Inspect

func Inspect(ctx context.Context, name string) (*manifest.Schema2List, error)

Inspect returns a manifest list for a given name.

func Push

func Push(ctx context.Context, name string, destination *string, all *bool) (string, error)

Push takes a manifest list and pushes to a destination. If the destination is not specified, the name will be used instead. If the optional all boolean is specified, all images specified in the list will be pushed as well.

func Remove

func Remove(ctx context.Context, name, digest string) (string, error)

Remove deletes a manifest entry from a manifest list. Both name and the digest to be removed are mandatory inputs. The ID of the new manifest list is returned as a string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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