fake_graph_driver

package
v0.0.0-...-68efac8 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2014 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreatedGraph

type CreatedGraph struct {
	ID     string
	Parent string
}

type FakeGraphDriver

type FakeGraphDriver struct {
	CreateError error

	RemoveError error

	GetResult string
	GetError  error

	CleanupError error

	sync.RWMutex
	// contains filtered or unexported fields
}

func New

func New() *FakeGraphDriver

func (*FakeGraphDriver) ApplyDiff

func (graph *FakeGraphDriver) ApplyDiff(id, parent string, diff archive.ArchiveReader) (bytes int64, err error)

func (*FakeGraphDriver) Changes

func (graph *FakeGraphDriver) Changes(id, parent string) ([]archive.Change, error)

func (*FakeGraphDriver) CleanedUp

func (graph *FakeGraphDriver) CleanedUp() bool

func (*FakeGraphDriver) Cleanup

func (graph *FakeGraphDriver) Cleanup() error

func (*FakeGraphDriver) Create

func (graph *FakeGraphDriver) Create(id string, parent string) error

func (*FakeGraphDriver) Created

func (graph *FakeGraphDriver) Created() []CreatedGraph

func (*FakeGraphDriver) Diff

func (graph *FakeGraphDriver) Diff(id, parent string) (archive.Archive, error)

func (*FakeGraphDriver) DiffSize

func (graph *FakeGraphDriver) DiffSize(id, parent string) (bytes int64, err error)

func (*FakeGraphDriver) Exists

func (graph *FakeGraphDriver) Exists(id string) bool

func (*FakeGraphDriver) Get

func (graph *FakeGraphDriver) Get(id string, mountLabel string) (string, error)

func (*FakeGraphDriver) Put

func (graph *FakeGraphDriver) Put(id string)

func (*FakeGraphDriver) Putted

func (graph *FakeGraphDriver) Putted() []string

func (*FakeGraphDriver) Remove

func (graph *FakeGraphDriver) Remove(id string) error

func (*FakeGraphDriver) Removed

func (graph *FakeGraphDriver) Removed() []string

func (*FakeGraphDriver) SetExists

func (graph *FakeGraphDriver) SetExists(id string, exists bool)

func (*FakeGraphDriver) SetStatus

func (graph *FakeGraphDriver) SetStatus(status [][2]string)

func (*FakeGraphDriver) Status

func (graph *FakeGraphDriver) Status() [][2]string

func (*FakeGraphDriver) String

func (graph *FakeGraphDriver) String() string

Jump to

Keyboard shortcuts

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