depot

package
v0.0.0-...-7f502db Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDoesNotExist = errors.New("does not exist")

Functions

This section is empty.

Types

type BundleLoader

type BundleLoader interface {
	Load(bundleDir string) (goci.Bndl, error)
}

type BundleSaver

type BundleSaver interface {
	Save(path string) error
}

type DirectoryDepot

type DirectoryDepot struct {
	// contains filtered or unexported fields
}

a depot which stores containers as subdirs of a depot directory

func New

func New(dir string) *DirectoryDepot

func (*DirectoryDepot) Create

func (d *DirectoryDepot) Create(log lager.Logger, handle string, bundle BundleSaver) error

func (*DirectoryDepot) Destroy

func (d *DirectoryDepot) Destroy(log lager.Logger, handle string) error

func (*DirectoryDepot) Handles

func (d *DirectoryDepot) Handles() ([]string, error)

func (*DirectoryDepot) Lookup

func (d *DirectoryDepot) Lookup(log lager.Logger, handle string) (string, error)

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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