docker

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2016 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultHostname is the default built-in registry (DockerHub)
	DefaultHostname = "docker.io"
	// LegacyDefaultHostname is the old hostname used for DockerHub
	LegacyDefaultHostname = "index.docker.io"
	// DefaultRepoPrefix is the prefix used for official images in DockerHub
	DefaultRepoPrefix = "library/"
)

Variables

This section is empty.

Functions

func GetImageData added in v0.2.0

func GetImageData(c *cli.Context, name string) ([]types.ImageInspect, *registry.RepositoryInfo, error)

func PutManifestList added in v0.2.0

func PutManifestList(c *cli.Context, filePath string) (string, error)

Types

type ImageConfigPullError added in v0.2.0

type ImageConfigPullError struct {
	Err error
}

ImageConfigPullError is an error pulling the image config blob (only applies to schema2).

func (ImageConfigPullError) Error added in v0.2.0

func (e ImageConfigPullError) Error() string

Error returns the error string for ImageConfigPullError.

type ManifestEntry added in v0.2.0

type ManifestEntry struct {
	Image    string
	Platform manifestlist.PlatformSpec
}

ManifestEntry represents an entry in the list of manifests to be combined into a manifest list, provided via the YAML input

type YAMLInput added in v0.2.0

type YAMLInput struct {
	Image     string
	Manifests []ManifestEntry
}

YAMLInput represents the YAML format input to the pushml command.

Jump to

Keyboard shortcuts

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