docker

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2017 License: Apache-2.0 Imports: 36 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(a *types.AuthInfo, name string) ([]types.ImageInspect, *registry.RepositoryInfo, error)

GetImageData takes registry authentication information and a name of the image to return information about

func PutManifestList added in v0.2.0

func PutManifestList(a *types.AuthInfo, yamlInput types.YAMLInput, ignoreMissing bool) (string, int, error)

PutManifestList takes an authentication variable and a yaml spec struct and pushes an image list based on the spec

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.

Jump to

Keyboard shortcuts

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