depot

package
v0.0.0-...-499d384 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2015 License: MIT, Apache-2.0 Imports: 5 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 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(handle string, bundle BundleSaver) error

func (*DirectoryDepot) Destroy

func (d *DirectoryDepot) Destroy(handle string) error

func (*DirectoryDepot) Lookup

func (d *DirectoryDepot) Lookup(handle string) (string, error)

Directories

Path Synopsis
This file was generated by counterfeiter This file was generated by counterfeiter
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