reference

package
v1.4.2-0...-b2786a3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTagFromNamedRef

func GetTagFromNamedRef(ref distreference.Named) string

GetTagFromNamedRef returns a tag from the specified reference. This function is necessary as long as the docker "server" api makes the distinction between repository and tags.

func Parse

func Parse(ref string) (string, string, error)

Parse parses the given references and returns the repository and tag (if present) from it. If there is an error during parsing, it will return an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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