transports

package
v0.0.0-...-fb36437 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(name string)

Delete deletes a transport from the registered transports.

func Get

func Get(name string) types.ImageTransport

Get returns the transport specified by name or nil when unavailable.

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 Register

func Register(t types.ImageTransport)

Register registers a transport.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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