peasfakes

package
v0.0.0-...-cf22b21 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2018 License: Apache-2.0 Imports: 5 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 FakePidGetter

type FakePidGetter struct {
	PidStub func(pidFilePath string) (int, error)
	// contains filtered or unexported fields
}

func (*FakePidGetter) Invocations

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

func (*FakePidGetter) Pid

func (fake *FakePidGetter) Pid(pidFilePath string) (int, error)

func (*FakePidGetter) PidArgsForCall

func (fake *FakePidGetter) PidArgsForCall(i int) string

func (*FakePidGetter) PidCallCount

func (fake *FakePidGetter) PidCallCount() int

func (*FakePidGetter) PidReturns

func (fake *FakePidGetter) PidReturns(result1 int, result2 error)

func (*FakePidGetter) PidReturnsOnCall

func (fake *FakePidGetter) PidReturnsOnCall(i int, result1 int, result2 error)

type FakePrivilegedGetter

type FakePrivilegedGetter struct {
	PrivilegedStub func(bundlePath string) (bool, error)
	// contains filtered or unexported fields
}

func (*FakePrivilegedGetter) Invocations

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

func (*FakePrivilegedGetter) Privileged

func (fake *FakePrivilegedGetter) Privileged(bundlePath string) (bool, error)

func (*FakePrivilegedGetter) PrivilegedArgsForCall

func (fake *FakePrivilegedGetter) PrivilegedArgsForCall(i int) string

func (*FakePrivilegedGetter) PrivilegedCallCount

func (fake *FakePrivilegedGetter) PrivilegedCallCount() int

func (*FakePrivilegedGetter) PrivilegedReturns

func (fake *FakePrivilegedGetter) PrivilegedReturns(result1 bool, result2 error)

func (*FakePrivilegedGetter) PrivilegedReturnsOnCall

func (fake *FakePrivilegedGetter) PrivilegedReturnsOnCall(i int, result1 bool, result2 error)

type FakeRuncDeleter

type FakeRuncDeleter struct {
	DeleteStub func(log lager.Logger, force bool, handle string) error
	// contains filtered or unexported fields
}

func (*FakeRuncDeleter) Delete

func (fake *FakeRuncDeleter) Delete(log lager.Logger, force bool, handle string) error

func (*FakeRuncDeleter) DeleteArgsForCall

func (fake *FakeRuncDeleter) DeleteArgsForCall(i int) (lager.Logger, bool, string)

func (*FakeRuncDeleter) DeleteCallCount

func (fake *FakeRuncDeleter) DeleteCallCount() int

func (*FakeRuncDeleter) DeleteReturns

func (fake *FakeRuncDeleter) DeleteReturns(result1 error)

func (*FakeRuncDeleter) DeleteReturnsOnCall

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

func (*FakeRuncDeleter) Invocations

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

type FakeVolumizer

type FakeVolumizer struct {
	CreateStub func(log lager.Logger, spec garden.ContainerSpec) (specs.Spec, error)

	DestroyStub func(log lager.Logger, handle string) error
	// contains filtered or unexported fields
}

func (*FakeVolumizer) Create

func (fake *FakeVolumizer) Create(log lager.Logger, spec garden.ContainerSpec) (specs.Spec, error)

func (*FakeVolumizer) CreateArgsForCall

func (fake *FakeVolumizer) CreateArgsForCall(i int) (lager.Logger, garden.ContainerSpec)

func (*FakeVolumizer) CreateCallCount

func (fake *FakeVolumizer) CreateCallCount() int

func (*FakeVolumizer) CreateReturns

func (fake *FakeVolumizer) CreateReturns(result1 specs.Spec, result2 error)

func (*FakeVolumizer) CreateReturnsOnCall

func (fake *FakeVolumizer) CreateReturnsOnCall(i int, result1 specs.Spec, result2 error)

func (*FakeVolumizer) Destroy

func (fake *FakeVolumizer) Destroy(log lager.Logger, handle string) error

func (*FakeVolumizer) DestroyArgsForCall

func (fake *FakeVolumizer) DestroyArgsForCall(i int) (lager.Logger, string)

func (*FakeVolumizer) DestroyCallCount

func (fake *FakeVolumizer) DestroyCallCount() int

func (*FakeVolumizer) DestroyReturns

func (fake *FakeVolumizer) DestroyReturns(result1 error)

func (*FakeVolumizer) DestroyReturnsOnCall

func (fake *FakeVolumizer) DestroyReturnsOnCall(i int, result1 error)

func (*FakeVolumizer) Invocations

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

Jump to

Keyboard shortcuts

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