Documentation ¶
Overview ¶
Package common provides misc types and variables.
Index ¶
Constants ¶
View Source
const ( NoCompression = iota GzipCompression )
View Source
const ( // AppcDockerOriginalName is the unmodified name this image was originally // referenced by for fetching, e.g. something like "nginx:tag" or // "quay.io/user/image:latest" This is identical in most cases to // 'registryurl/repository:tag' but may differ for the default Dockerhub // registry or if the tag was inferred as latest. AppcDockerOriginalName = "appc.io/docker/originalname" AppcDockerRegistryURL = "appc.io/docker/registryurl" AppcDockerRepository = "appc.io/docker/repository" AppcDockerTag = "appc.io/docker/tag" AppcDockerImageID = "appc.io/docker/imageid" AppcDockerParentImageID = "appc.io/docker/parentimageid" AppcDockerEntrypoint = "appc.io/docker/entrypoint" AppcDockerCmd = "appc.io/docker/cmd" )
Variables ¶
This section is empty.
Functions ¶
func ValidateLayerId ¶ added in v0.13.0
ValidateLayerId validates a layer ID
Types ¶
type Compression ¶
type Compression int
type ErrSeveralImages ¶
func (*ErrSeveralImages) Error ¶
func (e *ErrSeveralImages) Error() string
type InsecureConfig ¶ added in v0.11.0
InsecureConfig represents the different insecure options available
type ParsedDockerURL ¶ added in v0.9.1
type ParsedDockerURL struct { OriginalName string IndexURL string ImageName string Tag string Digest string }
ParsedDockerURL represents a parsed Docker URL.
func ParseDockerURL ¶ added in v0.9.1
func ParseDockerURL(arg string) (*ParsedDockerURL, error)
ParseDockerURL takes a Docker URL and returns a ParsedDockerURL with its index URL, image name, and tag.
Click to show internal directories.
Click to hide internal directories.