common

package
v0.0.0-...-d05ea2d Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2015 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateACI

func GenerateACI(layerData types.DockerImageData, dockerURL *types.ParsedDockerURL, outputDir string, layerFile *os.File, curPwl []string, compress bool) (string, *schema.ImageManifest, error)

func GenerateManifest

func GenerateManifest(layerData types.DockerImageData, dockerURL *types.ParsedDockerURL) (*schema.ImageManifest, error)

func GetAuthInfo

func GetAuthInfo(indexServer string) (string, string, error)

GetDockercfgAuth reads a ~/.dockercfg file and returns the username and password of the given docker index server.

func ParseDockerURL

func ParseDockerURL(arg string) *types.ParsedDockerURL

func SplitReposName

func SplitReposName(reposName string) (string, string)

splitReposName breaks a reposName into an index name and remote name

func ValidateACI

func ValidateACI(aciPath string) error

func WriteManifest

func WriteManifest(outputWriter *tar.Writer, manifest schema.ImageManifest) error

func WriteRootfsDir

func WriteRootfsDir(tarWriter *tar.Writer) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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