fake_graph_driver

package
v0.0.0-...-9038be0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeGraphDriver

type FakeGraphDriver struct {
	StringStub func() string

	CreateStub func(id, parent string) error

	RemoveStub func(id string) error

	GetStub func(id, mountLabel string) (dir string, err error)

	PutStub func(id string)

	ExistsStub func(id string) bool

	StatusStub func() [][2]string

	CleanupStub func() error

	DiffStub func(id, parent string) (archive.Archive, error)

	ChangesStub func(id, parent string) ([]archive.Change, error)

	ApplyDiffStub func(id, parent string, diff archive.ArchiveReader) (bytes int64, err error)

	DiffSizeStub func(id, parent string) (bytes int64, err error)
	// contains filtered or unexported fields
}

func (*FakeGraphDriver) ApplyDiff

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

func (*FakeGraphDriver) ApplyDiffArgsForCall

func (fake *FakeGraphDriver) ApplyDiffArgsForCall(i int) (string, string, archive.ArchiveReader)

func (*FakeGraphDriver) ApplyDiffCallCount

func (fake *FakeGraphDriver) ApplyDiffCallCount() int

func (*FakeGraphDriver) ApplyDiffReturns

func (fake *FakeGraphDriver) ApplyDiffReturns(result1 int64, result2 error)

func (*FakeGraphDriver) Changes

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

func (*FakeGraphDriver) ChangesArgsForCall

func (fake *FakeGraphDriver) ChangesArgsForCall(i int) (string, string)

func (*FakeGraphDriver) ChangesCallCount

func (fake *FakeGraphDriver) ChangesCallCount() int

func (*FakeGraphDriver) ChangesReturns

func (fake *FakeGraphDriver) ChangesReturns(result1 []archive.Change, result2 error)

func (*FakeGraphDriver) Cleanup

func (fake *FakeGraphDriver) Cleanup() error

func (*FakeGraphDriver) CleanupCallCount

func (fake *FakeGraphDriver) CleanupCallCount() int

func (*FakeGraphDriver) CleanupReturns

func (fake *FakeGraphDriver) CleanupReturns(result1 error)

func (*FakeGraphDriver) Create

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

func (*FakeGraphDriver) CreateArgsForCall

func (fake *FakeGraphDriver) CreateArgsForCall(i int) (string, string)

func (*FakeGraphDriver) CreateCallCount

func (fake *FakeGraphDriver) CreateCallCount() int

func (*FakeGraphDriver) CreateReturns

func (fake *FakeGraphDriver) CreateReturns(result1 error)

func (*FakeGraphDriver) Diff

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

func (*FakeGraphDriver) DiffArgsForCall

func (fake *FakeGraphDriver) DiffArgsForCall(i int) (string, string)

func (*FakeGraphDriver) DiffCallCount

func (fake *FakeGraphDriver) DiffCallCount() int

func (*FakeGraphDriver) DiffReturns

func (fake *FakeGraphDriver) DiffReturns(result1 archive.Archive, result2 error)

func (*FakeGraphDriver) DiffSize

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

func (*FakeGraphDriver) DiffSizeArgsForCall

func (fake *FakeGraphDriver) DiffSizeArgsForCall(i int) (string, string)

func (*FakeGraphDriver) DiffSizeCallCount

func (fake *FakeGraphDriver) DiffSizeCallCount() int

func (*FakeGraphDriver) DiffSizeReturns

func (fake *FakeGraphDriver) DiffSizeReturns(result1 int64, result2 error)

func (*FakeGraphDriver) Exists

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

func (*FakeGraphDriver) ExistsArgsForCall

func (fake *FakeGraphDriver) ExistsArgsForCall(i int) string

func (*FakeGraphDriver) ExistsCallCount

func (fake *FakeGraphDriver) ExistsCallCount() int

func (*FakeGraphDriver) ExistsReturns

func (fake *FakeGraphDriver) ExistsReturns(result1 bool)

func (*FakeGraphDriver) Get

func (fake *FakeGraphDriver) Get(id string, mountLabel string) (dir string, err error)

func (*FakeGraphDriver) GetArgsForCall

func (fake *FakeGraphDriver) GetArgsForCall(i int) (string, string)

func (*FakeGraphDriver) GetCallCount

func (fake *FakeGraphDriver) GetCallCount() int

func (*FakeGraphDriver) GetReturns

func (fake *FakeGraphDriver) GetReturns(result1 string, result2 error)

func (*FakeGraphDriver) Put

func (fake *FakeGraphDriver) Put(id string)

func (*FakeGraphDriver) PutArgsForCall

func (fake *FakeGraphDriver) PutArgsForCall(i int) string

func (*FakeGraphDriver) PutCallCount

func (fake *FakeGraphDriver) PutCallCount() int

func (*FakeGraphDriver) Remove

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

func (*FakeGraphDriver) RemoveArgsForCall

func (fake *FakeGraphDriver) RemoveArgsForCall(i int) string

func (*FakeGraphDriver) RemoveCallCount

func (fake *FakeGraphDriver) RemoveCallCount() int

func (*FakeGraphDriver) RemoveReturns

func (fake *FakeGraphDriver) RemoveReturns(result1 error)

func (*FakeGraphDriver) Status

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

func (*FakeGraphDriver) StatusCallCount

func (fake *FakeGraphDriver) StatusCallCount() int

func (*FakeGraphDriver) StatusReturns

func (fake *FakeGraphDriver) StatusReturns(result1 [][2]string)

func (*FakeGraphDriver) String

func (fake *FakeGraphDriver) String() string

func (*FakeGraphDriver) StringCallCount

func (fake *FakeGraphDriver) StringCallCount() int

func (*FakeGraphDriver) StringReturns

func (fake *FakeGraphDriver) StringReturns(result1 string)

Jump to

Keyboard shortcuts

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