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, insecure, includeTags bool) ([]types.ImageInspect, *registry.RepositoryInfo, error)
GetImageData takes registry authentication information and a name of the image to return information about
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.
Click to show internal directories.
Click to hide internal directories.