layout

package
Version: v0.0.0-...-dc298f6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Transport = ociTransport{}

Transport is an ImageTransport for OCI directories.

Functions

func NewReference

func NewReference(dir, tag string) (types.ImageReference, error)

NewReference returns an OCI reference for a directory and a tag.

We do not expose an API supplying the resolvedDir; we could, but recomputing it is generally cheap enough that we prefer being confident about the properties of resolvedDir.

func ParseReference

func ParseReference(reference string) (types.ImageReference, error)

ParseReference converts a string, which should not start with the ImageTransport.Name prefix, into an OCI ImageReference.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL