docker

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2016 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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, error)

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

func SplitReposName

func SplitReposName(name string) (indexName, remoteName string)

SplitReposName breaks a repo name into an index name and remote name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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