peasfakes

package
v0.0.0-...-d02b2c3 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 7 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.

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.

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 FakeBundleGenerator

type FakeBundleGenerator struct {
	GenerateStub func(spec.DesiredContainerSpec) (goci.Bndl, error)
	// contains filtered or unexported fields
}

func (*FakeBundleGenerator) Generate

func (fake *FakeBundleGenerator) Generate(arg1 spec.DesiredContainerSpec) (goci.Bndl, error)

func (*FakeBundleGenerator) GenerateArgsForCall

func (fake *FakeBundleGenerator) GenerateArgsForCall(i int) spec.DesiredContainerSpec

func (*FakeBundleGenerator) GenerateCallCount

func (fake *FakeBundleGenerator) GenerateCallCount() int

func (*FakeBundleGenerator) GenerateCalls

func (fake *FakeBundleGenerator) GenerateCalls(stub func(spec.DesiredContainerSpec) (goci.Bndl, error))

func (*FakeBundleGenerator) GenerateReturns

func (fake *FakeBundleGenerator) GenerateReturns(result1 goci.Bndl, result2 error)

func (*FakeBundleGenerator) GenerateReturnsOnCall

func (fake *FakeBundleGenerator) GenerateReturnsOnCall(i int, result1 goci.Bndl, result2 error)

func (*FakeBundleGenerator) Invocations

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

type FakeBundleLoader

type FakeBundleLoader struct {
	LoadStub func(lager.Logger, string) (goci.Bndl, error)
	// contains filtered or unexported fields
}

func (*FakeBundleLoader) Invocations

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

func (*FakeBundleLoader) Load

func (fake *FakeBundleLoader) Load(arg1 lager.Logger, arg2 string) (goci.Bndl, error)

func (*FakeBundleLoader) LoadArgsForCall

func (fake *FakeBundleLoader) LoadArgsForCall(i int) (lager.Logger, string)

func (*FakeBundleLoader) LoadCallCount

func (fake *FakeBundleLoader) LoadCallCount() int

func (*FakeBundleLoader) LoadCalls

func (fake *FakeBundleLoader) LoadCalls(stub func(lager.Logger, string) (goci.Bndl, error))

func (*FakeBundleLoader) LoadReturns

func (fake *FakeBundleLoader) LoadReturns(result1 goci.Bndl, result2 error)

func (*FakeBundleLoader) LoadReturnsOnCall

func (fake *FakeBundleLoader) LoadReturnsOnCall(i int, result1 goci.Bndl, result2 error)

type FakeDeleter

type FakeDeleter struct {
	DeleteStub func(lager.Logger, string) error
	// contains filtered or unexported fields
}

func (*FakeDeleter) Delete

func (fake *FakeDeleter) Delete(arg1 lager.Logger, arg2 string) error

func (*FakeDeleter) DeleteArgsForCall

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

func (*FakeDeleter) DeleteCallCount

func (fake *FakeDeleter) DeleteCallCount() int

func (*FakeDeleter) DeleteCalls

func (fake *FakeDeleter) DeleteCalls(stub func(lager.Logger, string) error)

func (*FakeDeleter) DeleteReturns

func (fake *FakeDeleter) DeleteReturns(result1 error)

func (*FakeDeleter) DeleteReturnsOnCall

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

func (*FakeDeleter) Invocations

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

type FakeNetworkDepot

type FakeNetworkDepot struct {
	DestroyStub func(lager.Logger, string) error

	SetupBindMountsStub func(lager.Logger, string, bool, string) ([]garden.BindMount, error)
	// contains filtered or unexported fields
}

func (*FakeNetworkDepot) Destroy

func (fake *FakeNetworkDepot) Destroy(arg1 lager.Logger, arg2 string) error

func (*FakeNetworkDepot) DestroyArgsForCall

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

func (*FakeNetworkDepot) DestroyCallCount

func (fake *FakeNetworkDepot) DestroyCallCount() int

func (*FakeNetworkDepot) DestroyCalls

func (fake *FakeNetworkDepot) DestroyCalls(stub func(lager.Logger, string) error)

func (*FakeNetworkDepot) DestroyReturns

func (fake *FakeNetworkDepot) DestroyReturns(result1 error)

func (*FakeNetworkDepot) DestroyReturnsOnCall

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

func (*FakeNetworkDepot) Invocations

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

func (*FakeNetworkDepot) SetupBindMounts

func (fake *FakeNetworkDepot) SetupBindMounts(arg1 lager.Logger, arg2 string, arg3 bool, arg4 string) ([]garden.BindMount, error)

func (*FakeNetworkDepot) SetupBindMountsArgsForCall

func (fake *FakeNetworkDepot) SetupBindMountsArgsForCall(i int) (lager.Logger, string, bool, string)

func (*FakeNetworkDepot) SetupBindMountsCallCount

func (fake *FakeNetworkDepot) SetupBindMountsCallCount() int

func (*FakeNetworkDepot) SetupBindMountsCalls

func (fake *FakeNetworkDepot) SetupBindMountsCalls(stub func(lager.Logger, string, bool, string) ([]garden.BindMount, error))

func (*FakeNetworkDepot) SetupBindMountsReturns

func (fake *FakeNetworkDepot) SetupBindMountsReturns(result1 []garden.BindMount, result2 error)

func (*FakeNetworkDepot) SetupBindMountsReturnsOnCall

func (fake *FakeNetworkDepot) SetupBindMountsReturnsOnCall(i int, result1 []garden.BindMount, result2 error)

type FakePeaPidGetter

type FakePeaPidGetter struct {
	GetPeaPidStub func(lager.Logger, string, string) (int, error)
	// contains filtered or unexported fields
}

func (*FakePeaPidGetter) GetPeaPid

func (fake *FakePeaPidGetter) GetPeaPid(arg1 lager.Logger, arg2 string, arg3 string) (int, error)

func (*FakePeaPidGetter) GetPeaPidArgsForCall

func (fake *FakePeaPidGetter) GetPeaPidArgsForCall(i int) (lager.Logger, string, string)

func (*FakePeaPidGetter) GetPeaPidCallCount

func (fake *FakePeaPidGetter) GetPeaPidCallCount() int

func (*FakePeaPidGetter) GetPeaPidCalls

func (fake *FakePeaPidGetter) GetPeaPidCalls(stub func(lager.Logger, string, string) (int, error))

func (*FakePeaPidGetter) GetPeaPidReturns

func (fake *FakePeaPidGetter) GetPeaPidReturns(result1 int, result2 error)

func (*FakePeaPidGetter) GetPeaPidReturnsOnCall

func (fake *FakePeaPidGetter) GetPeaPidReturnsOnCall(i int, result1 int, result2 error)

func (*FakePeaPidGetter) Invocations

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

type FakePidGetter

type FakePidGetter struct {
	GetPidStub func(lager.Logger, string) (int, error)
	// contains filtered or unexported fields
}

func (*FakePidGetter) GetPid

func (fake *FakePidGetter) GetPid(arg1 lager.Logger, arg2 string) (int, error)

func (*FakePidGetter) GetPidArgsForCall

func (fake *FakePidGetter) GetPidArgsForCall(i int) (lager.Logger, string)

func (*FakePidGetter) GetPidCallCount

func (fake *FakePidGetter) GetPidCallCount() int

func (*FakePidGetter) GetPidCalls

func (fake *FakePidGetter) GetPidCalls(stub func(lager.Logger, string) (int, error))

func (*FakePidGetter) GetPidReturns

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

func (*FakePidGetter) GetPidReturnsOnCall

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

func (*FakePidGetter) Invocations

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

type FakePrivilegedGetter

type FakePrivilegedGetter struct {
	PrivilegedStub func(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(arg1 string) (bool, error)

func (*FakePrivilegedGetter) PrivilegedArgsForCall

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

func (*FakePrivilegedGetter) PrivilegedCallCount

func (fake *FakePrivilegedGetter) PrivilegedCallCount() int

func (*FakePrivilegedGetter) PrivilegedCalls

func (fake *FakePrivilegedGetter) PrivilegedCalls(stub func(string) (bool, error))

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 FakeProcessPidGetter

type FakeProcessPidGetter struct {
	GetPeaPidStub func(lager.Logger, string, string) (int, error)

	GetPidStub func(lager.Logger, string) (int, error)
	// contains filtered or unexported fields
}

func (*FakeProcessPidGetter) GetPeaPid

func (fake *FakeProcessPidGetter) GetPeaPid(arg1 lager.Logger, arg2 string, arg3 string) (int, error)

func (*FakeProcessPidGetter) GetPeaPidArgsForCall

func (fake *FakeProcessPidGetter) GetPeaPidArgsForCall(i int) (lager.Logger, string, string)

func (*FakeProcessPidGetter) GetPeaPidCallCount

func (fake *FakeProcessPidGetter) GetPeaPidCallCount() int

func (*FakeProcessPidGetter) GetPeaPidCalls

func (fake *FakeProcessPidGetter) GetPeaPidCalls(stub func(lager.Logger, string, string) (int, error))

func (*FakeProcessPidGetter) GetPeaPidReturns

func (fake *FakeProcessPidGetter) GetPeaPidReturns(result1 int, result2 error)

func (*FakeProcessPidGetter) GetPeaPidReturnsOnCall

func (fake *FakeProcessPidGetter) GetPeaPidReturnsOnCall(i int, result1 int, result2 error)

func (*FakeProcessPidGetter) GetPid

func (fake *FakeProcessPidGetter) GetPid(arg1 lager.Logger, arg2 string) (int, error)

func (*FakeProcessPidGetter) GetPidArgsForCall

func (fake *FakeProcessPidGetter) GetPidArgsForCall(i int) (lager.Logger, string)

func (*FakeProcessPidGetter) GetPidCallCount

func (fake *FakeProcessPidGetter) GetPidCallCount() int

func (*FakeProcessPidGetter) GetPidCalls

func (fake *FakeProcessPidGetter) GetPidCalls(stub func(lager.Logger, string) (int, error))

func (*FakeProcessPidGetter) GetPidReturns

func (fake *FakeProcessPidGetter) GetPidReturns(result1 int, result2 error)

func (*FakeProcessPidGetter) GetPidReturnsOnCall

func (fake *FakeProcessPidGetter) GetPidReturnsOnCall(i int, result1 int, result2 error)

func (*FakeProcessPidGetter) Invocations

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

type FakeRuntime

type FakeRuntime struct {
	ContainerHandlesStub func() ([]string, error)

	ContainerPeaHandlesStub func(lager.Logger, string) ([]string, error)
	// contains filtered or unexported fields
}

func (*FakeRuntime) ContainerHandles

func (fake *FakeRuntime) ContainerHandles() ([]string, error)

func (*FakeRuntime) ContainerHandlesCallCount

func (fake *FakeRuntime) ContainerHandlesCallCount() int

func (*FakeRuntime) ContainerHandlesCalls

func (fake *FakeRuntime) ContainerHandlesCalls(stub func() ([]string, error))

func (*FakeRuntime) ContainerHandlesReturns

func (fake *FakeRuntime) ContainerHandlesReturns(result1 []string, result2 error)

func (*FakeRuntime) ContainerHandlesReturnsOnCall

func (fake *FakeRuntime) ContainerHandlesReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeRuntime) ContainerPeaHandles

func (fake *FakeRuntime) ContainerPeaHandles(arg1 lager.Logger, arg2 string) ([]string, error)

func (*FakeRuntime) ContainerPeaHandlesArgsForCall

func (fake *FakeRuntime) ContainerPeaHandlesArgsForCall(i int) (lager.Logger, string)

func (*FakeRuntime) ContainerPeaHandlesCallCount

func (fake *FakeRuntime) ContainerPeaHandlesCallCount() int

func (*FakeRuntime) ContainerPeaHandlesCalls

func (fake *FakeRuntime) ContainerPeaHandlesCalls(stub func(lager.Logger, string) ([]string, error))

func (*FakeRuntime) ContainerPeaHandlesReturns

func (fake *FakeRuntime) ContainerPeaHandlesReturns(result1 []string, result2 error)

func (*FakeRuntime) ContainerPeaHandlesReturnsOnCall

func (fake *FakeRuntime) ContainerPeaHandlesReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeRuntime) Invocations

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

type FakeVolumizer

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

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

func (*FakeVolumizer) Create

func (fake *FakeVolumizer) Create(arg1 lager.Logger, arg2 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) CreateCalls

func (fake *FakeVolumizer) CreateCalls(stub func(lager.Logger, garden.ContainerSpec) (specs.Spec, error))

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(arg1 lager.Logger, arg2 string) error

func (*FakeVolumizer) DestroyArgsForCall

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

func (*FakeVolumizer) DestroyCallCount

func (fake *FakeVolumizer) DestroyCallCount() int

func (*FakeVolumizer) DestroyCalls

func (fake *FakeVolumizer) DestroyCalls(stub func(lager.Logger, string) error)

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