fake_cake

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: 4 Imported by: 0

Documentation

Overview

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 FakeCake

type FakeCake struct {
	DriverNameStub func() string

	CreateStub func(layerID, parentID layercake.ID, containerID string) error

	RegisterStub func(img *image.Image, layer archive.ArchiveReader) error

	RegisterWithQuotaStub func(img *image.Image, layer archive.ArchiveReader, quota int64) error

	GetStub func(id layercake.ID) (*image.Image, error)

	UnmountStub func(id layercake.ID) error

	RemoveStub func(id layercake.ID) error

	PathStub func(id layercake.ID) (string, error)

	QuotaedPathStub func(id layercake.ID, quota int64) (string, error)

	IsLeafStub func(id layercake.ID) (bool, error)

	GetAllLeavesStub func() ([]layercake.ID, error)

	AllStub func() []*image.Image
	// contains filtered or unexported fields
}

func (*FakeCake) All

func (fake *FakeCake) All() []*image.Image

func (*FakeCake) AllCallCount

func (fake *FakeCake) AllCallCount() int

func (*FakeCake) AllReturns

func (fake *FakeCake) AllReturns(result1 []*image.Image)

func (*FakeCake) AllReturnsOnCall

func (fake *FakeCake) AllReturnsOnCall(i int, result1 []*image.Image)

func (*FakeCake) Create

func (fake *FakeCake) Create(layerID layercake.ID, parentID layercake.ID, containerID string) error

func (*FakeCake) CreateArgsForCall

func (fake *FakeCake) CreateArgsForCall(i int) (layercake.ID, layercake.ID, string)

func (*FakeCake) CreateCallCount

func (fake *FakeCake) CreateCallCount() int

func (*FakeCake) CreateReturns

func (fake *FakeCake) CreateReturns(result1 error)

func (*FakeCake) CreateReturnsOnCall

func (fake *FakeCake) CreateReturnsOnCall(i int, result1 error)

func (*FakeCake) DriverName

func (fake *FakeCake) DriverName() string

func (*FakeCake) DriverNameCallCount

func (fake *FakeCake) DriverNameCallCount() int

func (*FakeCake) DriverNameReturns

func (fake *FakeCake) DriverNameReturns(result1 string)

func (*FakeCake) DriverNameReturnsOnCall

func (fake *FakeCake) DriverNameReturnsOnCall(i int, result1 string)

func (*FakeCake) Get

func (fake *FakeCake) Get(id layercake.ID) (*image.Image, error)

func (*FakeCake) GetAllLeaves

func (fake *FakeCake) GetAllLeaves() ([]layercake.ID, error)

func (*FakeCake) GetAllLeavesCallCount

func (fake *FakeCake) GetAllLeavesCallCount() int

func (*FakeCake) GetAllLeavesReturns

func (fake *FakeCake) GetAllLeavesReturns(result1 []layercake.ID, result2 error)

func (*FakeCake) GetAllLeavesReturnsOnCall

func (fake *FakeCake) GetAllLeavesReturnsOnCall(i int, result1 []layercake.ID, result2 error)

func (*FakeCake) GetArgsForCall

func (fake *FakeCake) GetArgsForCall(i int) layercake.ID

func (*FakeCake) GetCallCount

func (fake *FakeCake) GetCallCount() int

func (*FakeCake) GetReturns

func (fake *FakeCake) GetReturns(result1 *image.Image, result2 error)

func (*FakeCake) GetReturnsOnCall

func (fake *FakeCake) GetReturnsOnCall(i int, result1 *image.Image, result2 error)

func (*FakeCake) Invocations

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

func (*FakeCake) IsLeaf

func (fake *FakeCake) IsLeaf(id layercake.ID) (bool, error)

func (*FakeCake) IsLeafArgsForCall

func (fake *FakeCake) IsLeafArgsForCall(i int) layercake.ID

func (*FakeCake) IsLeafCallCount

func (fake *FakeCake) IsLeafCallCount() int

func (*FakeCake) IsLeafReturns

func (fake *FakeCake) IsLeafReturns(result1 bool, result2 error)

func (*FakeCake) IsLeafReturnsOnCall

func (fake *FakeCake) IsLeafReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeCake) Path

func (fake *FakeCake) Path(id layercake.ID) (string, error)

func (*FakeCake) PathArgsForCall

func (fake *FakeCake) PathArgsForCall(i int) layercake.ID

func (*FakeCake) PathCallCount

func (fake *FakeCake) PathCallCount() int

func (*FakeCake) PathReturns

func (fake *FakeCake) PathReturns(result1 string, result2 error)

func (*FakeCake) PathReturnsOnCall

func (fake *FakeCake) PathReturnsOnCall(i int, result1 string, result2 error)

func (*FakeCake) QuotaedPath

func (fake *FakeCake) QuotaedPath(id layercake.ID, quota int64) (string, error)

func (*FakeCake) QuotaedPathArgsForCall

func (fake *FakeCake) QuotaedPathArgsForCall(i int) (layercake.ID, int64)

func (*FakeCake) QuotaedPathCallCount

func (fake *FakeCake) QuotaedPathCallCount() int

func (*FakeCake) QuotaedPathReturns

func (fake *FakeCake) QuotaedPathReturns(result1 string, result2 error)

func (*FakeCake) QuotaedPathReturnsOnCall

func (fake *FakeCake) QuotaedPathReturnsOnCall(i int, result1 string, result2 error)

func (*FakeCake) Register

func (fake *FakeCake) Register(img *image.Image, layer archive.ArchiveReader) error

func (*FakeCake) RegisterArgsForCall

func (fake *FakeCake) RegisterArgsForCall(i int) (*image.Image, archive.ArchiveReader)

func (*FakeCake) RegisterCallCount

func (fake *FakeCake) RegisterCallCount() int

func (*FakeCake) RegisterReturns

func (fake *FakeCake) RegisterReturns(result1 error)

func (*FakeCake) RegisterReturnsOnCall

func (fake *FakeCake) RegisterReturnsOnCall(i int, result1 error)

func (*FakeCake) RegisterWithQuota

func (fake *FakeCake) RegisterWithQuota(img *image.Image, layer archive.ArchiveReader, quota int64) error

func (*FakeCake) RegisterWithQuotaArgsForCall

func (fake *FakeCake) RegisterWithQuotaArgsForCall(i int) (*image.Image, archive.ArchiveReader, int64)

func (*FakeCake) RegisterWithQuotaCallCount

func (fake *FakeCake) RegisterWithQuotaCallCount() int

func (*FakeCake) RegisterWithQuotaReturns

func (fake *FakeCake) RegisterWithQuotaReturns(result1 error)

func (*FakeCake) RegisterWithQuotaReturnsOnCall

func (fake *FakeCake) RegisterWithQuotaReturnsOnCall(i int, result1 error)

func (*FakeCake) Remove

func (fake *FakeCake) Remove(id layercake.ID) error

func (*FakeCake) RemoveArgsForCall

func (fake *FakeCake) RemoveArgsForCall(i int) layercake.ID

func (*FakeCake) RemoveCallCount

func (fake *FakeCake) RemoveCallCount() int

func (*FakeCake) RemoveReturns

func (fake *FakeCake) RemoveReturns(result1 error)

func (*FakeCake) RemoveReturnsOnCall

func (fake *FakeCake) RemoveReturnsOnCall(i int, result1 error)

func (*FakeCake) Unmount

func (fake *FakeCake) Unmount(id layercake.ID) error

func (*FakeCake) UnmountArgsForCall

func (fake *FakeCake) UnmountArgsForCall(i int) layercake.ID

func (*FakeCake) UnmountCallCount

func (fake *FakeCake) UnmountCallCount() int

func (*FakeCake) UnmountReturns

func (fake *FakeCake) UnmountReturns(result1 error)

func (*FakeCake) UnmountReturnsOnCall

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

Jump to

Keyboard shortcuts

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