reference

package
Version: v0.23.6 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: 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 make the distinction between repository and tags.

func Parse

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

Parse parses the given references and return 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