repoutils

package
v0.15.4 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultDockerRegistry is the default docker registry address.
	DefaultDockerRegistry = "https://registry-1.docker.io"
)

Variables

This section is empty.

Functions

func GetAuthConfig

func GetAuthConfig(username, password, registry string) (types.AuthConfig, error)

GetAuthConfig returns the docker registry AuthConfig. Optionally takes in the authentication values, otherwise pulls them from the docker config file.

func GetRepoAndRef

func GetRepoAndRef(image string) (repo, ref string, err error)

GetRepoAndRef parses the repo name and reference.

Types

This section is empty.

Jump to

Keyboard shortcuts

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