aufsfakes

package
v0.0.0-...-6c5b0a6 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeBackingStoreMgr

type FakeBackingStoreMgr struct {
	CreateStub func(id string, quota int64) (string, error)

	DeleteStub func(id string) error
	// contains filtered or unexported fields
}

func (*FakeBackingStoreMgr) Create

func (fake *FakeBackingStoreMgr) Create(id string, quota int64) (string, error)

func (*FakeBackingStoreMgr) CreateArgsForCall

func (fake *FakeBackingStoreMgr) CreateArgsForCall(i int) (string, int64)

func (*FakeBackingStoreMgr) CreateCallCount

func (fake *FakeBackingStoreMgr) CreateCallCount() int

func (*FakeBackingStoreMgr) CreateReturns

func (fake *FakeBackingStoreMgr) CreateReturns(result1 string, result2 error)

func (*FakeBackingStoreMgr) CreateReturnsOnCall

func (fake *FakeBackingStoreMgr) CreateReturnsOnCall(i int, result1 string, result2 error)

func (*FakeBackingStoreMgr) Delete

func (fake *FakeBackingStoreMgr) Delete(id string) error

func (*FakeBackingStoreMgr) DeleteArgsForCall

func (fake *FakeBackingStoreMgr) DeleteArgsForCall(i int) string

func (*FakeBackingStoreMgr) DeleteCallCount

func (fake *FakeBackingStoreMgr) DeleteCallCount() int

func (*FakeBackingStoreMgr) DeleteReturns

func (fake *FakeBackingStoreMgr) DeleteReturns(result1 error)

func (*FakeBackingStoreMgr) DeleteReturnsOnCall

func (fake *FakeBackingStoreMgr) DeleteReturnsOnCall(i int, result1 error)

func (*FakeBackingStoreMgr) Invocations

func (fake *FakeBackingStoreMgr) Invocations() map[string][][]interface{}

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) error

	ExistsStub func(id string) bool

	StatusStub func() [][2]string

	GetMetadataStub func(id string) (map[string]string, error)

	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) (size int64, err error)

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

func (*FakeGraphDriver) ApplyDiff

func (fake *FakeGraphDriver) ApplyDiff(id string, parent string, diff archive.ArchiveReader) (size 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) ApplyDiffReturnsOnCall

func (fake *FakeGraphDriver) ApplyDiffReturnsOnCall(i int, 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) ChangesReturnsOnCall

func (fake *FakeGraphDriver) ChangesReturnsOnCall(i int, 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) CleanupReturnsOnCall

func (fake *FakeGraphDriver) CleanupReturnsOnCall(i int, 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) CreateReturnsOnCall

func (fake *FakeGraphDriver) CreateReturnsOnCall(i int, 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) DiffReturnsOnCall

func (fake *FakeGraphDriver) DiffReturnsOnCall(i int, result1 archive.Archive, result2 error)

func (*FakeGraphDriver) DiffSize

func (fake *FakeGraphDriver) DiffSize(id string, parent string) (size 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) DiffSizeReturnsOnCall

func (fake *FakeGraphDriver) DiffSizeReturnsOnCall(i int, 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) ExistsReturnsOnCall

func (fake *FakeGraphDriver) ExistsReturnsOnCall(i int, 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) GetMetadata

func (fake *FakeGraphDriver) GetMetadata(id string) (map[string]string, error)

func (*FakeGraphDriver) GetMetadataArgsForCall

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

func (*FakeGraphDriver) GetMetadataCallCount

func (fake *FakeGraphDriver) GetMetadataCallCount() int

func (*FakeGraphDriver) GetMetadataReturns

func (fake *FakeGraphDriver) GetMetadataReturns(result1 map[string]string, result2 error)

func (*FakeGraphDriver) GetMetadataReturnsOnCall

func (fake *FakeGraphDriver) GetMetadataReturnsOnCall(i int, result1 map[string]string, result2 error)

func (*FakeGraphDriver) GetReturns

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

func (*FakeGraphDriver) GetReturnsOnCall

func (fake *FakeGraphDriver) GetReturnsOnCall(i int, result1 string, result2 error)

func (*FakeGraphDriver) Invocations

func (fake *FakeGraphDriver) Invocations() map[string][][]interface{}

func (*FakeGraphDriver) Put

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

func (*FakeGraphDriver) PutArgsForCall

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

func (*FakeGraphDriver) PutCallCount

func (fake *FakeGraphDriver) PutCallCount() int

func (*FakeGraphDriver) PutReturns

func (fake *FakeGraphDriver) PutReturns(result1 error)

func (*FakeGraphDriver) PutReturnsOnCall

func (fake *FakeGraphDriver) PutReturnsOnCall(i int, result1 error)

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) RemoveReturnsOnCall

func (fake *FakeGraphDriver) RemoveReturnsOnCall(i int, 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) StatusReturnsOnCall

func (fake *FakeGraphDriver) StatusReturnsOnCall(i int, 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)

func (*FakeGraphDriver) StringReturnsOnCall

func (fake *FakeGraphDriver) StringReturnsOnCall(i int, result1 string)

type FakeLoopMounter

type FakeLoopMounter struct {
	MountFileStub func(filePath, destPath string) error

	UnmountStub func(path string) error
	// contains filtered or unexported fields
}

func (*FakeLoopMounter) Invocations

func (fake *FakeLoopMounter) Invocations() map[string][][]interface{}

func (*FakeLoopMounter) MountFile

func (fake *FakeLoopMounter) MountFile(filePath string, destPath string) error

func (*FakeLoopMounter) MountFileArgsForCall

func (fake *FakeLoopMounter) MountFileArgsForCall(i int) (string, string)

func (*FakeLoopMounter) MountFileCallCount

func (fake *FakeLoopMounter) MountFileCallCount() int

func (*FakeLoopMounter) MountFileReturns

func (fake *FakeLoopMounter) MountFileReturns(result1 error)

func (*FakeLoopMounter) MountFileReturnsOnCall

func (fake *FakeLoopMounter) MountFileReturnsOnCall(i int, result1 error)

func (*FakeLoopMounter) Unmount

func (fake *FakeLoopMounter) Unmount(path string) error

func (*FakeLoopMounter) UnmountArgsForCall

func (fake *FakeLoopMounter) UnmountArgsForCall(i int) string

func (*FakeLoopMounter) UnmountCallCount

func (fake *FakeLoopMounter) UnmountCallCount() int

func (*FakeLoopMounter) UnmountReturns

func (fake *FakeLoopMounter) UnmountReturns(result1 error)

func (*FakeLoopMounter) UnmountReturnsOnCall

func (fake *FakeLoopMounter) UnmountReturnsOnCall(i int, result1 error)

type FakeRetrier

type FakeRetrier struct {
	RunStub func(work func() error) error
	// contains filtered or unexported fields
}

func (*FakeRetrier) Invocations

func (fake *FakeRetrier) Invocations() map[string][][]interface{}

func (*FakeRetrier) Run

func (fake *FakeRetrier) Run(work func() error) error

func (*FakeRetrier) RunArgsForCall

func (fake *FakeRetrier) RunArgsForCall(i int) func() error

func (*FakeRetrier) RunCallCount

func (fake *FakeRetrier) RunCallCount() int

func (*FakeRetrier) RunReturns

func (fake *FakeRetrier) RunReturns(result1 error)

func (*FakeRetrier) RunReturnsOnCall

func (fake *FakeRetrier) RunReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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