common

package
v1.9.1 Latest Latest
Warning

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

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

Documentation

Overview

Package common provides misc types and variables.

Index

Constants

View Source
const (
	NoCompression = iota
	GzipCompression
)
View Source
const (
	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

This section is empty.

Types

type Compression added in v1.0.0

type Compression int

type ErrSeveralImages added in v1.2.0

type ErrSeveralImages struct {
	Msg    string
	Images []string
}

func (*ErrSeveralImages) Error added in v1.2.0

func (e *ErrSeveralImages) Error() string

type InsecureConfig added in v1.7.0

type InsecureConfig struct {
	SkipVerify bool
	AllowHTTP  bool
}

InsecureConfig represents the different insecure options available

type ParsedDockerURL added in v1.2.0

type ParsedDockerURL types.ParsedDockerURL

func ParseDockerURL

func ParseDockerURL(arg string) (*ParsedDockerURL, error)

ParseDockerURL takes a Docker URL and returns a ParsedDockerURL with its index URL, image name, and tag.

Jump to

Keyboard shortcuts

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