transports

package
v0.0.0-...-93a9f23 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KnownTransports map[string]types.ImageTransport

KnownTransports is a registry of known ImageTransport instances.

Functions

func ImageName

func ImageName(ref types.ImageReference) string

ImageName converts a types.ImageReference into an URL-like image name, which MUST be such that ParseImageName(ImageName(reference)) returns an equivalent reference.

This is the generally recommended way to refer to images in the UI.

NOTE: The returned string is not promised to be equal to the original input to ParseImageName; e.g. default attribute values omitted by the user may be filled in in the return value, or vice versa.

func ParseImageName

func ParseImageName(imgName string) (types.ImageReference, error)

ParseImageName converts a URL-like image name to a types.ImageReference.

Types

This section is empty.

Jump to

Keyboard shortcuts

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