manifest-tool: github.com/estesp/manifest-tool/docker Index | Files

package docker

import "github.com/estesp/manifest-tool/docker"

Index

Package Files

createml.go inspect.go inspect_v1.go inspect_v2.go util.go

Constants

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/"
)

func GetImageData Uses

func GetImageData(a *types.AuthInfo, name string, insecure bool) ([]types.ImageInspect, *registry.RepositoryInfo, error)

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

func PutManifestList Uses

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

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

type ImageConfigPullError Uses

type ImageConfigPullError struct {
    Err error
}

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

func (ImageConfigPullError) Error Uses

func (e ImageConfigPullError) Error() string

Error returns the error string for ImageConfigPullError.

Package docker imports 35 packages (graph) and is imported by 2 packages. Updated 2019-04-24. Refresh now. Tools for package owners.