dir

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: Apache-2.0 Imports: 13 Imported by: 6

Documentation

Index

Constants

View Source
const (
	// ImageLayoutVersion is the version of the image layout we support. This
	// value is *not* the same as imagespec.Version, and the meaning of this
	// field is still under discussion in the spec. For now we'll just hardcode
	// the value and hope for the best.
	ImageLayoutVersion = "1.0.0"
)

Variables

This section is empty.

Functions

func Create

func Create(path string) error

Create creates a new OCI image layout at the given path. If the path already exists, os.ErrExist is returned. However, all of the parent components of the path will be created if necessary.

func Open

func Open(path string) (cas.Engine, error)

Open opens a new reference to the directory-backed OCI image referenced by the provided path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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