manifests

package
v2.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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