rundmcfakes

package
v0.0.0-...-024aa85 Latest Latest
Warning

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

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

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 FakeBundlerRule

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

func (*FakeBundlerRule) Apply

func (fake *FakeBundlerRule) Apply(arg1 goci.Bndl, arg2 spec.DesiredContainerSpec) (goci.Bndl, error)

func (*FakeBundlerRule) ApplyArgsForCall

func (fake *FakeBundlerRule) ApplyArgsForCall(i int) (goci.Bndl, spec.DesiredContainerSpec)

func (*FakeBundlerRule) ApplyCallCount

func (fake *FakeBundlerRule) ApplyCallCount() int

func (*FakeBundlerRule) ApplyCalls

func (fake *FakeBundlerRule) ApplyCalls(stub func(goci.Bndl, spec.DesiredContainerSpec) (goci.Bndl, error))

func (*FakeBundlerRule) ApplyReturns

func (fake *FakeBundlerRule) ApplyReturns(result1 goci.Bndl, result2 error)

func (*FakeBundlerRule) ApplyReturnsOnCall

func (fake *FakeBundlerRule) ApplyReturnsOnCall(i int, result1 goci.Bndl, result2 error)

func (*FakeBundlerRule) Invocations

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

type FakeCPUCgrouper

type FakeCPUCgrouper struct {
	CreateBadCgroupStub func(string) error

	DestroyBadCgroupStub func(string) error

	ReadBadCgroupUsageStub func(string) (garden.ContainerCPUStat, error)
	// contains filtered or unexported fields
}

func (*FakeCPUCgrouper) CreateBadCgroup

func (fake *FakeCPUCgrouper) CreateBadCgroup(arg1 string) error

func (*FakeCPUCgrouper) CreateBadCgroupArgsForCall

func (fake *FakeCPUCgrouper) CreateBadCgroupArgsForCall(i int) string

func (*FakeCPUCgrouper) CreateBadCgroupCallCount

func (fake *FakeCPUCgrouper) CreateBadCgroupCallCount() int

func (*FakeCPUCgrouper) CreateBadCgroupCalls

func (fake *FakeCPUCgrouper) CreateBadCgroupCalls(stub func(string) error)

func (*FakeCPUCgrouper) CreateBadCgroupReturns

func (fake *FakeCPUCgrouper) CreateBadCgroupReturns(result1 error)

func (*FakeCPUCgrouper) CreateBadCgroupReturnsOnCall

func (fake *FakeCPUCgrouper) CreateBadCgroupReturnsOnCall(i int, result1 error)

func (*FakeCPUCgrouper) DestroyBadCgroup

func (fake *FakeCPUCgrouper) DestroyBadCgroup(arg1 string) error

func (*FakeCPUCgrouper) DestroyBadCgroupArgsForCall

func (fake *FakeCPUCgrouper) DestroyBadCgroupArgsForCall(i int) string

func (*FakeCPUCgrouper) DestroyBadCgroupCallCount

func (fake *FakeCPUCgrouper) DestroyBadCgroupCallCount() int

func (*FakeCPUCgrouper) DestroyBadCgroupCalls

func (fake *FakeCPUCgrouper) DestroyBadCgroupCalls(stub func(string) error)

func (*FakeCPUCgrouper) DestroyBadCgroupReturns

func (fake *FakeCPUCgrouper) DestroyBadCgroupReturns(result1 error)

func (*FakeCPUCgrouper) DestroyBadCgroupReturnsOnCall

func (fake *FakeCPUCgrouper) DestroyBadCgroupReturnsOnCall(i int, result1 error)

func (*FakeCPUCgrouper) Invocations

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

func (*FakeCPUCgrouper) ReadBadCgroupUsage

func (fake *FakeCPUCgrouper) ReadBadCgroupUsage(arg1 string) (garden.ContainerCPUStat, error)

func (*FakeCPUCgrouper) ReadBadCgroupUsageArgsForCall

func (fake *FakeCPUCgrouper) ReadBadCgroupUsageArgsForCall(i int) string

func (*FakeCPUCgrouper) ReadBadCgroupUsageCallCount

func (fake *FakeCPUCgrouper) ReadBadCgroupUsageCallCount() int

func (*FakeCPUCgrouper) ReadBadCgroupUsageCalls

func (fake *FakeCPUCgrouper) ReadBadCgroupUsageCalls(stub func(string) (garden.ContainerCPUStat, error))

func (*FakeCPUCgrouper) ReadBadCgroupUsageReturns

func (fake *FakeCPUCgrouper) ReadBadCgroupUsageReturns(result1 garden.ContainerCPUStat, result2 error)

func (*FakeCPUCgrouper) ReadBadCgroupUsageReturnsOnCall

func (fake *FakeCPUCgrouper) ReadBadCgroupUsageReturnsOnCall(i int, result1 garden.ContainerCPUStat, result2 error)

type FakeDepot

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

func (*FakeDepot) Destroy

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

func (*FakeDepot) DestroyArgsForCall

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

func (*FakeDepot) DestroyCallCount

func (fake *FakeDepot) DestroyCallCount() int

func (*FakeDepot) DestroyCalls

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

func (*FakeDepot) DestroyReturns

func (fake *FakeDepot) DestroyReturns(result1 error)

func (*FakeDepot) DestroyReturnsOnCall

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

func (*FakeDepot) Invocations

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

type FakeEventStore

type FakeEventStore struct {
	EventsStub func(string) []string

	OnEventStub func(string, string) error
	// contains filtered or unexported fields
}

func (*FakeEventStore) Events

func (fake *FakeEventStore) Events(arg1 string) []string

func (*FakeEventStore) EventsArgsForCall

func (fake *FakeEventStore) EventsArgsForCall(i int) string

func (*FakeEventStore) EventsCallCount

func (fake *FakeEventStore) EventsCallCount() int

func (*FakeEventStore) EventsCalls

func (fake *FakeEventStore) EventsCalls(stub func(string) []string)

func (*FakeEventStore) EventsReturns

func (fake *FakeEventStore) EventsReturns(result1 []string)

func (*FakeEventStore) EventsReturnsOnCall

func (fake *FakeEventStore) EventsReturnsOnCall(i int, result1 []string)

func (*FakeEventStore) Invocations

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

func (*FakeEventStore) OnEvent

func (fake *FakeEventStore) OnEvent(arg1 string, arg2 string) error

func (*FakeEventStore) OnEventArgsForCall

func (fake *FakeEventStore) OnEventArgsForCall(i int) (string, string)

func (*FakeEventStore) OnEventCallCount

func (fake *FakeEventStore) OnEventCallCount() int

func (*FakeEventStore) OnEventCalls

func (fake *FakeEventStore) OnEventCalls(stub func(string, string) error)

func (*FakeEventStore) OnEventReturns

func (fake *FakeEventStore) OnEventReturns(result1 error)

func (*FakeEventStore) OnEventReturnsOnCall

func (fake *FakeEventStore) OnEventReturnsOnCall(i int, result1 error)

type FakeMountOptionsGetter

type FakeMountOptionsGetter struct {
	Stub func(string) ([]string, error)
	// contains filtered or unexported fields
}

func (*FakeMountOptionsGetter) ArgsForCall

func (fake *FakeMountOptionsGetter) ArgsForCall(i int) string

func (*FakeMountOptionsGetter) CallCount

func (fake *FakeMountOptionsGetter) CallCount() int

func (*FakeMountOptionsGetter) Calls

func (fake *FakeMountOptionsGetter) Calls(stub func(string) ([]string, error))

func (*FakeMountOptionsGetter) Invocations

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

func (*FakeMountOptionsGetter) Returns

func (fake *FakeMountOptionsGetter) Returns(result1 []string, result2 error)

func (*FakeMountOptionsGetter) ReturnsOnCall

func (fake *FakeMountOptionsGetter) ReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeMountOptionsGetter) Spy

func (fake *FakeMountOptionsGetter) Spy(arg1 string) ([]string, error)

type FakeMountPointChecker

type FakeMountPointChecker struct {
	Stub func(string) (bool, error)
	// contains filtered or unexported fields
}

func (*FakeMountPointChecker) ArgsForCall

func (fake *FakeMountPointChecker) ArgsForCall(i int) string

func (*FakeMountPointChecker) CallCount

func (fake *FakeMountPointChecker) CallCount() int

func (*FakeMountPointChecker) Calls

func (fake *FakeMountPointChecker) Calls(stub func(string) (bool, error))

func (*FakeMountPointChecker) Invocations

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

func (*FakeMountPointChecker) Returns

func (fake *FakeMountPointChecker) Returns(result1 bool, result2 error)

func (*FakeMountPointChecker) ReturnsOnCall

func (fake *FakeMountPointChecker) ReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeMountPointChecker) Spy

func (fake *FakeMountPointChecker) Spy(arg1 string) (bool, error)

type FakeNstarRunner

type FakeNstarRunner struct {
	StreamInStub func(lager.Logger, int, string, string, io.Reader) error

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

func (*FakeNstarRunner) Invocations

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

func (*FakeNstarRunner) StreamIn

func (fake *FakeNstarRunner) StreamIn(arg1 lager.Logger, arg2 int, arg3 string, arg4 string, arg5 io.Reader) error

func (*FakeNstarRunner) StreamInArgsForCall

func (fake *FakeNstarRunner) StreamInArgsForCall(i int) (lager.Logger, int, string, string, io.Reader)

func (*FakeNstarRunner) StreamInCallCount

func (fake *FakeNstarRunner) StreamInCallCount() int

func (*FakeNstarRunner) StreamInCalls

func (fake *FakeNstarRunner) StreamInCalls(stub func(lager.Logger, int, string, string, io.Reader) error)

func (*FakeNstarRunner) StreamInReturns

func (fake *FakeNstarRunner) StreamInReturns(result1 error)

func (*FakeNstarRunner) StreamInReturnsOnCall

func (fake *FakeNstarRunner) StreamInReturnsOnCall(i int, result1 error)

func (*FakeNstarRunner) StreamOut

func (fake *FakeNstarRunner) StreamOut(arg1 lager.Logger, arg2 int, arg3 string, arg4 string) (io.ReadCloser, error)

func (*FakeNstarRunner) StreamOutArgsForCall

func (fake *FakeNstarRunner) StreamOutArgsForCall(i int) (lager.Logger, int, string, string)

func (*FakeNstarRunner) StreamOutCallCount

func (fake *FakeNstarRunner) StreamOutCallCount() int

func (*FakeNstarRunner) StreamOutCalls

func (fake *FakeNstarRunner) StreamOutCalls(stub func(lager.Logger, int, string, string) (io.ReadCloser, error))

func (*FakeNstarRunner) StreamOutReturns

func (fake *FakeNstarRunner) StreamOutReturns(result1 io.ReadCloser, result2 error)

func (*FakeNstarRunner) StreamOutReturnsOnCall

func (fake *FakeNstarRunner) StreamOutReturnsOnCall(i int, result1 io.ReadCloser, result2 error)

type FakeOCIRuntime

type FakeOCIRuntime struct {
	AttachStub func(lager.Logger, string, string, garden.ProcessIO) (garden.Process, error)

	BundleInfoStub func(lager.Logger, string) (string, goci.Bndl, error)

	ContainerHandlesStub func() ([]string, error)

	ContainerPeaHandlesStub func(lager.Logger, string) ([]string, error)

	CreateStub func(lager.Logger, string, goci.Bndl, garden.ProcessIO) error

	DeleteStub func(lager.Logger, string) error

	EventsStub func(lager.Logger) (<-chan event.Event, error)

	ExecStub func(lager.Logger, string, garden.ProcessSpec, garden.ProcessIO) (garden.Process, error)

	RemoveBundleStub func(lager.Logger, string) error

	StateStub func(lager.Logger, string) (rundmc.State, error)

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

func (*FakeOCIRuntime) Attach

func (fake *FakeOCIRuntime) Attach(arg1 lager.Logger, arg2 string, arg3 string, arg4 garden.ProcessIO) (garden.Process, error)

func (*FakeOCIRuntime) AttachArgsForCall

func (fake *FakeOCIRuntime) AttachArgsForCall(i int) (lager.Logger, string, string, garden.ProcessIO)

func (*FakeOCIRuntime) AttachCallCount

func (fake *FakeOCIRuntime) AttachCallCount() int

func (*FakeOCIRuntime) AttachCalls

func (fake *FakeOCIRuntime) AttachCalls(stub func(lager.Logger, string, string, garden.ProcessIO) (garden.Process, error))

func (*FakeOCIRuntime) AttachReturns

func (fake *FakeOCIRuntime) AttachReturns(result1 garden.Process, result2 error)

func (*FakeOCIRuntime) AttachReturnsOnCall

func (fake *FakeOCIRuntime) AttachReturnsOnCall(i int, result1 garden.Process, result2 error)

func (*FakeOCIRuntime) BundleInfo

func (fake *FakeOCIRuntime) BundleInfo(arg1 lager.Logger, arg2 string) (string, goci.Bndl, error)

func (*FakeOCIRuntime) BundleInfoArgsForCall

func (fake *FakeOCIRuntime) BundleInfoArgsForCall(i int) (lager.Logger, string)

func (*FakeOCIRuntime) BundleInfoCallCount

func (fake *FakeOCIRuntime) BundleInfoCallCount() int

func (*FakeOCIRuntime) BundleInfoCalls

func (fake *FakeOCIRuntime) BundleInfoCalls(stub func(lager.Logger, string) (string, goci.Bndl, error))

func (*FakeOCIRuntime) BundleInfoReturns

func (fake *FakeOCIRuntime) BundleInfoReturns(result1 string, result2 goci.Bndl, result3 error)

func (*FakeOCIRuntime) BundleInfoReturnsOnCall

func (fake *FakeOCIRuntime) BundleInfoReturnsOnCall(i int, result1 string, result2 goci.Bndl, result3 error)

func (*FakeOCIRuntime) ContainerHandles

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

func (*FakeOCIRuntime) ContainerHandlesCallCount

func (fake *FakeOCIRuntime) ContainerHandlesCallCount() int

func (*FakeOCIRuntime) ContainerHandlesCalls

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

func (*FakeOCIRuntime) ContainerHandlesReturns

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

func (*FakeOCIRuntime) ContainerHandlesReturnsOnCall

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

func (*FakeOCIRuntime) ContainerPeaHandles

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

func (*FakeOCIRuntime) ContainerPeaHandlesArgsForCall

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

func (*FakeOCIRuntime) ContainerPeaHandlesCallCount

func (fake *FakeOCIRuntime) ContainerPeaHandlesCallCount() int

func (*FakeOCIRuntime) ContainerPeaHandlesCalls

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

func (*FakeOCIRuntime) ContainerPeaHandlesReturns

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

func (*FakeOCIRuntime) ContainerPeaHandlesReturnsOnCall

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

func (*FakeOCIRuntime) Create

func (fake *FakeOCIRuntime) Create(arg1 lager.Logger, arg2 string, arg3 goci.Bndl, arg4 garden.ProcessIO) error

func (*FakeOCIRuntime) CreateArgsForCall

func (fake *FakeOCIRuntime) CreateArgsForCall(i int) (lager.Logger, string, goci.Bndl, garden.ProcessIO)

func (*FakeOCIRuntime) CreateCallCount

func (fake *FakeOCIRuntime) CreateCallCount() int

func (*FakeOCIRuntime) CreateCalls

func (fake *FakeOCIRuntime) CreateCalls(stub func(lager.Logger, string, goci.Bndl, garden.ProcessIO) error)

func (*FakeOCIRuntime) CreateReturns

func (fake *FakeOCIRuntime) CreateReturns(result1 error)

func (*FakeOCIRuntime) CreateReturnsOnCall

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

func (*FakeOCIRuntime) Delete

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

func (*FakeOCIRuntime) DeleteArgsForCall

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

func (*FakeOCIRuntime) DeleteCallCount

func (fake *FakeOCIRuntime) DeleteCallCount() int

func (*FakeOCIRuntime) DeleteCalls

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

func (*FakeOCIRuntime) DeleteReturns

func (fake *FakeOCIRuntime) DeleteReturns(result1 error)

func (*FakeOCIRuntime) DeleteReturnsOnCall

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

func (*FakeOCIRuntime) Events

func (fake *FakeOCIRuntime) Events(arg1 lager.Logger) (<-chan event.Event, error)

func (*FakeOCIRuntime) EventsArgsForCall

func (fake *FakeOCIRuntime) EventsArgsForCall(i int) lager.Logger

func (*FakeOCIRuntime) EventsCallCount

func (fake *FakeOCIRuntime) EventsCallCount() int

func (*FakeOCIRuntime) EventsCalls

func (fake *FakeOCIRuntime) EventsCalls(stub func(lager.Logger) (<-chan event.Event, error))

func (*FakeOCIRuntime) EventsReturns

func (fake *FakeOCIRuntime) EventsReturns(result1 <-chan event.Event, result2 error)

func (*FakeOCIRuntime) EventsReturnsOnCall

func (fake *FakeOCIRuntime) EventsReturnsOnCall(i int, result1 <-chan event.Event, result2 error)

func (*FakeOCIRuntime) Exec

func (fake *FakeOCIRuntime) Exec(arg1 lager.Logger, arg2 string, arg3 garden.ProcessSpec, arg4 garden.ProcessIO) (garden.Process, error)

func (*FakeOCIRuntime) ExecArgsForCall

func (fake *FakeOCIRuntime) ExecArgsForCall(i int) (lager.Logger, string, garden.ProcessSpec, garden.ProcessIO)

func (*FakeOCIRuntime) ExecCallCount

func (fake *FakeOCIRuntime) ExecCallCount() int

func (*FakeOCIRuntime) ExecCalls

func (*FakeOCIRuntime) ExecReturns

func (fake *FakeOCIRuntime) ExecReturns(result1 garden.Process, result2 error)

func (*FakeOCIRuntime) ExecReturnsOnCall

func (fake *FakeOCIRuntime) ExecReturnsOnCall(i int, result1 garden.Process, result2 error)

func (*FakeOCIRuntime) Invocations

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

func (*FakeOCIRuntime) RemoveBundle

func (fake *FakeOCIRuntime) RemoveBundle(arg1 lager.Logger, arg2 string) error

func (*FakeOCIRuntime) RemoveBundleArgsForCall

func (fake *FakeOCIRuntime) RemoveBundleArgsForCall(i int) (lager.Logger, string)

func (*FakeOCIRuntime) RemoveBundleCallCount

func (fake *FakeOCIRuntime) RemoveBundleCallCount() int

func (*FakeOCIRuntime) RemoveBundleCalls

func (fake *FakeOCIRuntime) RemoveBundleCalls(stub func(lager.Logger, string) error)

func (*FakeOCIRuntime) RemoveBundleReturns

func (fake *FakeOCIRuntime) RemoveBundleReturns(result1 error)

func (*FakeOCIRuntime) RemoveBundleReturnsOnCall

func (fake *FakeOCIRuntime) RemoveBundleReturnsOnCall(i int, result1 error)

func (*FakeOCIRuntime) State

func (fake *FakeOCIRuntime) State(arg1 lager.Logger, arg2 string) (rundmc.State, error)

func (*FakeOCIRuntime) StateArgsForCall

func (fake *FakeOCIRuntime) StateArgsForCall(i int) (lager.Logger, string)

func (*FakeOCIRuntime) StateCallCount

func (fake *FakeOCIRuntime) StateCallCount() int

func (*FakeOCIRuntime) StateCalls

func (fake *FakeOCIRuntime) StateCalls(stub func(lager.Logger, string) (rundmc.State, error))

func (*FakeOCIRuntime) StateReturns

func (fake *FakeOCIRuntime) StateReturns(result1 rundmc.State, result2 error)

func (*FakeOCIRuntime) StateReturnsOnCall

func (fake *FakeOCIRuntime) StateReturnsOnCall(i int, result1 rundmc.State, result2 error)

func (*FakeOCIRuntime) Stats

func (*FakeOCIRuntime) StatsArgsForCall

func (fake *FakeOCIRuntime) StatsArgsForCall(i int) (lager.Logger, string)

func (*FakeOCIRuntime) StatsCallCount

func (fake *FakeOCIRuntime) StatsCallCount() int

func (*FakeOCIRuntime) StatsCalls

func (fake *FakeOCIRuntime) StatsCalls(stub func(lager.Logger, string) (gardener.StatsContainerMetrics, error))

func (*FakeOCIRuntime) StatsReturns

func (fake *FakeOCIRuntime) StatsReturns(result1 gardener.StatsContainerMetrics, result2 error)

func (*FakeOCIRuntime) StatsReturnsOnCall

func (fake *FakeOCIRuntime) StatsReturnsOnCall(i int, result1 gardener.StatsContainerMetrics, result2 error)

type FakePeaCreator

type FakePeaCreator struct {
	CreatePeaStub func(lager.Logger, garden.ProcessSpec, garden.ProcessIO, string) (garden.Process, error)
	// contains filtered or unexported fields
}

func (*FakePeaCreator) CreatePea

func (fake *FakePeaCreator) CreatePea(arg1 lager.Logger, arg2 garden.ProcessSpec, arg3 garden.ProcessIO, arg4 string) (garden.Process, error)

func (*FakePeaCreator) CreatePeaArgsForCall

func (fake *FakePeaCreator) CreatePeaArgsForCall(i int) (lager.Logger, garden.ProcessSpec, garden.ProcessIO, string)

func (*FakePeaCreator) CreatePeaCallCount

func (fake *FakePeaCreator) CreatePeaCallCount() int

func (*FakePeaCreator) CreatePeaCalls

func (fake *FakePeaCreator) CreatePeaCalls(stub func(lager.Logger, garden.ProcessSpec, garden.ProcessIO, string) (garden.Process, error))

func (*FakePeaCreator) CreatePeaReturns

func (fake *FakePeaCreator) CreatePeaReturns(result1 garden.Process, result2 error)

func (*FakePeaCreator) CreatePeaReturnsOnCall

func (fake *FakePeaCreator) CreatePeaReturnsOnCall(i int, result1 garden.Process, result2 error)

func (*FakePeaCreator) Invocations

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

type FakePeaUsernameResolver

type FakePeaUsernameResolver struct {
	ResolveUserStub func(lager.Logger, string, garden.ImageRef, string) (int, int, error)
	// contains filtered or unexported fields
}

func (*FakePeaUsernameResolver) Invocations

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

func (*FakePeaUsernameResolver) ResolveUser

func (fake *FakePeaUsernameResolver) ResolveUser(arg1 lager.Logger, arg2 string, arg3 garden.ImageRef, arg4 string) (int, int, error)

func (*FakePeaUsernameResolver) ResolveUserArgsForCall

func (fake *FakePeaUsernameResolver) ResolveUserArgsForCall(i int) (lager.Logger, string, garden.ImageRef, string)

func (*FakePeaUsernameResolver) ResolveUserCallCount

func (fake *FakePeaUsernameResolver) ResolveUserCallCount() int

func (*FakePeaUsernameResolver) ResolveUserCalls

func (fake *FakePeaUsernameResolver) ResolveUserCalls(stub func(lager.Logger, string, garden.ImageRef, string) (int, int, error))

func (*FakePeaUsernameResolver) ResolveUserReturns

func (fake *FakePeaUsernameResolver) ResolveUserReturns(result1 int, result2 int, result3 error)

func (*FakePeaUsernameResolver) ResolveUserReturnsOnCall

func (fake *FakePeaUsernameResolver) ResolveUserReturnsOnCall(i int, result1 int, result2 int, result3 error)

type FakeProcessesStopper

type FakeProcessesStopper struct {
	StopAllStub func(lager.Logger, string, []int, bool) error
	// contains filtered or unexported fields
}

func (*FakeProcessesStopper) Invocations

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

func (*FakeProcessesStopper) StopAll

func (fake *FakeProcessesStopper) StopAll(arg1 lager.Logger, arg2 string, arg3 []int, arg4 bool) error

func (*FakeProcessesStopper) StopAllArgsForCall

func (fake *FakeProcessesStopper) StopAllArgsForCall(i int) (lager.Logger, string, []int, bool)

func (*FakeProcessesStopper) StopAllCallCount

func (fake *FakeProcessesStopper) StopAllCallCount() int

func (*FakeProcessesStopper) StopAllCalls

func (fake *FakeProcessesStopper) StopAllCalls(stub func(lager.Logger, string, []int, bool) error)

func (*FakeProcessesStopper) StopAllReturns

func (fake *FakeProcessesStopper) StopAllReturns(result1 error)

func (*FakeProcessesStopper) StopAllReturnsOnCall

func (fake *FakeProcessesStopper) StopAllReturnsOnCall(i int, result1 error)

type FakeProperties

type FakeProperties struct {
	GetStub func(string, string) (string, bool)

	SetStub func(string, string, string)
	// contains filtered or unexported fields
}

func (*FakeProperties) Get

func (fake *FakeProperties) Get(arg1 string, arg2 string) (string, bool)

func (*FakeProperties) GetArgsForCall

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

func (*FakeProperties) GetCallCount

func (fake *FakeProperties) GetCallCount() int

func (*FakeProperties) GetCalls

func (fake *FakeProperties) GetCalls(stub func(string, string) (string, bool))

func (*FakeProperties) GetReturns

func (fake *FakeProperties) GetReturns(result1 string, result2 bool)

func (*FakeProperties) GetReturnsOnCall

func (fake *FakeProperties) GetReturnsOnCall(i int, result1 string, result2 bool)

func (*FakeProperties) Invocations

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

func (*FakeProperties) Set

func (fake *FakeProperties) Set(arg1 string, arg2 string, arg3 string)

func (*FakeProperties) SetArgsForCall

func (fake *FakeProperties) SetArgsForCall(i int) (string, string, string)

func (*FakeProperties) SetCallCount

func (fake *FakeProperties) SetCallCount() int

func (*FakeProperties) SetCalls

func (fake *FakeProperties) SetCalls(stub func(string, string, string))

type FakeRuntimeStopper

type FakeRuntimeStopper struct {
	StopStub func() error
	// contains filtered or unexported fields
}

func (*FakeRuntimeStopper) Invocations

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

func (*FakeRuntimeStopper) Stop

func (fake *FakeRuntimeStopper) Stop() error

func (*FakeRuntimeStopper) StopCallCount

func (fake *FakeRuntimeStopper) StopCallCount() int

func (*FakeRuntimeStopper) StopCalls

func (fake *FakeRuntimeStopper) StopCalls(stub func() error)

func (*FakeRuntimeStopper) StopReturns

func (fake *FakeRuntimeStopper) StopReturns(result1 error)

func (*FakeRuntimeStopper) StopReturnsOnCall

func (fake *FakeRuntimeStopper) StopReturnsOnCall(i int, result1 error)

type FakeStateStore

type FakeStateStore struct {
	IsStoppedStub func(string) bool

	StoreStoppedStub func(string)
	// contains filtered or unexported fields
}

func (*FakeStateStore) Invocations

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

func (*FakeStateStore) IsStopped

func (fake *FakeStateStore) IsStopped(arg1 string) bool

func (*FakeStateStore) IsStoppedArgsForCall

func (fake *FakeStateStore) IsStoppedArgsForCall(i int) string

func (*FakeStateStore) IsStoppedCallCount

func (fake *FakeStateStore) IsStoppedCallCount() int

func (*FakeStateStore) IsStoppedCalls

func (fake *FakeStateStore) IsStoppedCalls(stub func(string) bool)

func (*FakeStateStore) IsStoppedReturns

func (fake *FakeStateStore) IsStoppedReturns(result1 bool)

func (*FakeStateStore) IsStoppedReturnsOnCall

func (fake *FakeStateStore) IsStoppedReturnsOnCall(i int, result1 bool)

func (*FakeStateStore) StoreStopped

func (fake *FakeStateStore) StoreStopped(arg1 string)

func (*FakeStateStore) StoreStoppedArgsForCall

func (fake *FakeStateStore) StoreStoppedArgsForCall(i int) string

func (*FakeStateStore) StoreStoppedCallCount

func (fake *FakeStateStore) StoreStoppedCallCount() int

func (*FakeStateStore) StoreStoppedCalls

func (fake *FakeStateStore) StoreStoppedCalls(stub func(string))

Jump to

Keyboard shortcuts

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