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 ¶
- type FakeBundleGenerator
- func (fake *FakeBundleGenerator) Generate(arg1 spec.DesiredContainerSpec) (goci.Bndl, error)
- func (fake *FakeBundleGenerator) GenerateArgsForCall(i int) spec.DesiredContainerSpec
- func (fake *FakeBundleGenerator) GenerateCallCount() int
- func (fake *FakeBundleGenerator) GenerateCalls(stub func(spec.DesiredContainerSpec) (goci.Bndl, error))
- func (fake *FakeBundleGenerator) GenerateReturns(result1 goci.Bndl, result2 error)
- func (fake *FakeBundleGenerator) GenerateReturnsOnCall(i int, result1 goci.Bndl, result2 error)
- func (fake *FakeBundleGenerator) Invocations() map[string][][]interface{}
- type FakeBundlerRule
- func (fake *FakeBundlerRule) Apply(arg1 goci.Bndl, arg2 spec.DesiredContainerSpec) (goci.Bndl, error)
- func (fake *FakeBundlerRule) ApplyArgsForCall(i int) (goci.Bndl, spec.DesiredContainerSpec)
- func (fake *FakeBundlerRule) ApplyCallCount() int
- func (fake *FakeBundlerRule) ApplyCalls(stub func(goci.Bndl, spec.DesiredContainerSpec) (goci.Bndl, error))
- func (fake *FakeBundlerRule) ApplyReturns(result1 goci.Bndl, result2 error)
- func (fake *FakeBundlerRule) ApplyReturnsOnCall(i int, result1 goci.Bndl, result2 error)
- func (fake *FakeBundlerRule) Invocations() map[string][][]interface{}
- type FakeCPUCgrouper
- func (fake *FakeCPUCgrouper) CreateBadCgroup(arg1 string) error
- func (fake *FakeCPUCgrouper) CreateBadCgroupArgsForCall(i int) string
- func (fake *FakeCPUCgrouper) CreateBadCgroupCallCount() int
- func (fake *FakeCPUCgrouper) CreateBadCgroupCalls(stub func(string) error)
- func (fake *FakeCPUCgrouper) CreateBadCgroupReturns(result1 error)
- func (fake *FakeCPUCgrouper) CreateBadCgroupReturnsOnCall(i int, result1 error)
- func (fake *FakeCPUCgrouper) DestroyBadCgroup(arg1 string) error
- func (fake *FakeCPUCgrouper) DestroyBadCgroupArgsForCall(i int) string
- func (fake *FakeCPUCgrouper) DestroyBadCgroupCallCount() int
- func (fake *FakeCPUCgrouper) DestroyBadCgroupCalls(stub func(string) error)
- func (fake *FakeCPUCgrouper) DestroyBadCgroupReturns(result1 error)
- func (fake *FakeCPUCgrouper) DestroyBadCgroupReturnsOnCall(i int, result1 error)
- func (fake *FakeCPUCgrouper) Invocations() map[string][][]interface{}
- func (fake *FakeCPUCgrouper) ReadBadCgroupUsage(arg1 string) (garden.ContainerCPUStat, error)
- func (fake *FakeCPUCgrouper) ReadBadCgroupUsageArgsForCall(i int) string
- func (fake *FakeCPUCgrouper) ReadBadCgroupUsageCallCount() int
- func (fake *FakeCPUCgrouper) ReadBadCgroupUsageCalls(stub func(string) (garden.ContainerCPUStat, error))
- func (fake *FakeCPUCgrouper) ReadBadCgroupUsageReturns(result1 garden.ContainerCPUStat, result2 error)
- func (fake *FakeCPUCgrouper) ReadBadCgroupUsageReturnsOnCall(i int, result1 garden.ContainerCPUStat, result2 error)
- type FakeDepot
- func (fake *FakeDepot) Destroy(arg1 lager.Logger, arg2 string) error
- func (fake *FakeDepot) DestroyArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeDepot) DestroyCallCount() int
- func (fake *FakeDepot) DestroyCalls(stub func(lager.Logger, string) error)
- func (fake *FakeDepot) DestroyReturns(result1 error)
- func (fake *FakeDepot) DestroyReturnsOnCall(i int, result1 error)
- func (fake *FakeDepot) Invocations() map[string][][]interface{}
- type FakeEventStore
- func (fake *FakeEventStore) Events(arg1 string) []string
- func (fake *FakeEventStore) EventsArgsForCall(i int) string
- func (fake *FakeEventStore) EventsCallCount() int
- func (fake *FakeEventStore) EventsCalls(stub func(string) []string)
- func (fake *FakeEventStore) EventsReturns(result1 []string)
- func (fake *FakeEventStore) EventsReturnsOnCall(i int, result1 []string)
- func (fake *FakeEventStore) Invocations() map[string][][]interface{}
- func (fake *FakeEventStore) OnEvent(arg1 string, arg2 string) error
- func (fake *FakeEventStore) OnEventArgsForCall(i int) (string, string)
- func (fake *FakeEventStore) OnEventCallCount() int
- func (fake *FakeEventStore) OnEventCalls(stub func(string, string) error)
- func (fake *FakeEventStore) OnEventReturns(result1 error)
- func (fake *FakeEventStore) OnEventReturnsOnCall(i int, result1 error)
- type FakeMountOptionsGetter
- func (fake *FakeMountOptionsGetter) ArgsForCall(i int) string
- func (fake *FakeMountOptionsGetter) CallCount() int
- func (fake *FakeMountOptionsGetter) Calls(stub func(string) ([]string, error))
- func (fake *FakeMountOptionsGetter) Invocations() map[string][][]interface{}
- func (fake *FakeMountOptionsGetter) Returns(result1 []string, result2 error)
- func (fake *FakeMountOptionsGetter) ReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeMountOptionsGetter) Spy(arg1 string) ([]string, error)
- type FakeMountPointChecker
- func (fake *FakeMountPointChecker) ArgsForCall(i int) string
- func (fake *FakeMountPointChecker) CallCount() int
- func (fake *FakeMountPointChecker) Calls(stub func(string) (bool, error))
- func (fake *FakeMountPointChecker) Invocations() map[string][][]interface{}
- func (fake *FakeMountPointChecker) Returns(result1 bool, result2 error)
- func (fake *FakeMountPointChecker) ReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeMountPointChecker) Spy(arg1 string) (bool, error)
- type FakeNstarRunner
- func (fake *FakeNstarRunner) Invocations() map[string][][]interface{}
- func (fake *FakeNstarRunner) StreamIn(arg1 lager.Logger, arg2 int, arg3 string, arg4 string, arg5 io.Reader) error
- func (fake *FakeNstarRunner) StreamInArgsForCall(i int) (lager.Logger, int, string, string, io.Reader)
- func (fake *FakeNstarRunner) StreamInCallCount() int
- func (fake *FakeNstarRunner) StreamInCalls(stub func(lager.Logger, int, string, string, io.Reader) error)
- func (fake *FakeNstarRunner) StreamInReturns(result1 error)
- func (fake *FakeNstarRunner) StreamInReturnsOnCall(i int, result1 error)
- func (fake *FakeNstarRunner) StreamOut(arg1 lager.Logger, arg2 int, arg3 string, arg4 string) (io.ReadCloser, error)
- func (fake *FakeNstarRunner) StreamOutArgsForCall(i int) (lager.Logger, int, string, string)
- func (fake *FakeNstarRunner) StreamOutCallCount() int
- func (fake *FakeNstarRunner) StreamOutCalls(stub func(lager.Logger, int, string, string) (io.ReadCloser, error))
- func (fake *FakeNstarRunner) StreamOutReturns(result1 io.ReadCloser, result2 error)
- func (fake *FakeNstarRunner) StreamOutReturnsOnCall(i int, result1 io.ReadCloser, result2 error)
- type FakeOCIRuntime
- func (fake *FakeOCIRuntime) Attach(arg1 lager.Logger, arg2 string, arg3 string, arg4 garden.ProcessIO) (garden.Process, error)
- func (fake *FakeOCIRuntime) AttachArgsForCall(i int) (lager.Logger, string, string, garden.ProcessIO)
- func (fake *FakeOCIRuntime) AttachCallCount() int
- func (fake *FakeOCIRuntime) AttachCalls(...)
- func (fake *FakeOCIRuntime) AttachReturns(result1 garden.Process, result2 error)
- func (fake *FakeOCIRuntime) AttachReturnsOnCall(i int, result1 garden.Process, result2 error)
- func (fake *FakeOCIRuntime) BundleInfo(arg1 lager.Logger, arg2 string) (string, goci.Bndl, error)
- func (fake *FakeOCIRuntime) BundleInfoArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeOCIRuntime) BundleInfoCallCount() int
- func (fake *FakeOCIRuntime) BundleInfoCalls(stub func(lager.Logger, string) (string, goci.Bndl, error))
- func (fake *FakeOCIRuntime) BundleInfoReturns(result1 string, result2 goci.Bndl, result3 error)
- func (fake *FakeOCIRuntime) BundleInfoReturnsOnCall(i int, result1 string, result2 goci.Bndl, result3 error)
- func (fake *FakeOCIRuntime) ContainerHandles() ([]string, error)
- func (fake *FakeOCIRuntime) ContainerHandlesCallCount() int
- func (fake *FakeOCIRuntime) ContainerHandlesCalls(stub func() ([]string, error))
- func (fake *FakeOCIRuntime) ContainerHandlesReturns(result1 []string, result2 error)
- func (fake *FakeOCIRuntime) ContainerHandlesReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeOCIRuntime) ContainerPeaHandles(arg1 lager.Logger, arg2 string) ([]string, error)
- func (fake *FakeOCIRuntime) ContainerPeaHandlesArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeOCIRuntime) ContainerPeaHandlesCallCount() int
- func (fake *FakeOCIRuntime) ContainerPeaHandlesCalls(stub func(lager.Logger, string) ([]string, error))
- func (fake *FakeOCIRuntime) ContainerPeaHandlesReturns(result1 []string, result2 error)
- func (fake *FakeOCIRuntime) ContainerPeaHandlesReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeOCIRuntime) Create(arg1 lager.Logger, arg2 string, arg3 goci.Bndl, arg4 garden.ProcessIO) error
- func (fake *FakeOCIRuntime) CreateArgsForCall(i int) (lager.Logger, string, goci.Bndl, garden.ProcessIO)
- func (fake *FakeOCIRuntime) CreateCallCount() int
- func (fake *FakeOCIRuntime) CreateCalls(stub func(lager.Logger, string, goci.Bndl, garden.ProcessIO) error)
- func (fake *FakeOCIRuntime) CreateReturns(result1 error)
- func (fake *FakeOCIRuntime) CreateReturnsOnCall(i int, result1 error)
- func (fake *FakeOCIRuntime) Delete(arg1 lager.Logger, arg2 string) error
- func (fake *FakeOCIRuntime) DeleteArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeOCIRuntime) DeleteCallCount() int
- func (fake *FakeOCIRuntime) DeleteCalls(stub func(lager.Logger, string) error)
- func (fake *FakeOCIRuntime) DeleteReturns(result1 error)
- func (fake *FakeOCIRuntime) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeOCIRuntime) Events(arg1 lager.Logger) (<-chan event.Event, error)
- func (fake *FakeOCIRuntime) EventsArgsForCall(i int) lager.Logger
- func (fake *FakeOCIRuntime) EventsCallCount() int
- func (fake *FakeOCIRuntime) EventsCalls(stub func(lager.Logger) (<-chan event.Event, error))
- func (fake *FakeOCIRuntime) EventsReturns(result1 <-chan event.Event, result2 error)
- func (fake *FakeOCIRuntime) EventsReturnsOnCall(i int, result1 <-chan event.Event, result2 error)
- func (fake *FakeOCIRuntime) Exec(arg1 lager.Logger, arg2 string, arg3 garden.ProcessSpec, arg4 garden.ProcessIO) (garden.Process, error)
- func (fake *FakeOCIRuntime) ExecArgsForCall(i int) (lager.Logger, string, garden.ProcessSpec, garden.ProcessIO)
- func (fake *FakeOCIRuntime) ExecCallCount() int
- func (fake *FakeOCIRuntime) ExecCalls(...)
- func (fake *FakeOCIRuntime) ExecReturns(result1 garden.Process, result2 error)
- func (fake *FakeOCIRuntime) ExecReturnsOnCall(i int, result1 garden.Process, result2 error)
- func (fake *FakeOCIRuntime) Invocations() map[string][][]interface{}
- func (fake *FakeOCIRuntime) RemoveBundle(arg1 lager.Logger, arg2 string) error
- func (fake *FakeOCIRuntime) RemoveBundleArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeOCIRuntime) RemoveBundleCallCount() int
- func (fake *FakeOCIRuntime) RemoveBundleCalls(stub func(lager.Logger, string) error)
- func (fake *FakeOCIRuntime) RemoveBundleReturns(result1 error)
- func (fake *FakeOCIRuntime) RemoveBundleReturnsOnCall(i int, result1 error)
- func (fake *FakeOCIRuntime) State(arg1 lager.Logger, arg2 string) (rundmc.State, error)
- func (fake *FakeOCIRuntime) StateArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeOCIRuntime) StateCallCount() int
- func (fake *FakeOCIRuntime) StateCalls(stub func(lager.Logger, string) (rundmc.State, error))
- func (fake *FakeOCIRuntime) StateReturns(result1 rundmc.State, result2 error)
- func (fake *FakeOCIRuntime) StateReturnsOnCall(i int, result1 rundmc.State, result2 error)
- func (fake *FakeOCIRuntime) Stats(arg1 lager.Logger, arg2 string) (gardener.StatsContainerMetrics, error)
- func (fake *FakeOCIRuntime) StatsArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeOCIRuntime) StatsCallCount() int
- func (fake *FakeOCIRuntime) StatsCalls(stub func(lager.Logger, string) (gardener.StatsContainerMetrics, error))
- func (fake *FakeOCIRuntime) StatsReturns(result1 gardener.StatsContainerMetrics, result2 error)
- func (fake *FakeOCIRuntime) StatsReturnsOnCall(i int, result1 gardener.StatsContainerMetrics, result2 error)
- type FakePeaCreator
- func (fake *FakePeaCreator) CreatePea(arg1 lager.Logger, arg2 garden.ProcessSpec, arg3 garden.ProcessIO, arg4 string) (garden.Process, error)
- func (fake *FakePeaCreator) CreatePeaArgsForCall(i int) (lager.Logger, garden.ProcessSpec, garden.ProcessIO, string)
- func (fake *FakePeaCreator) CreatePeaCallCount() int
- func (fake *FakePeaCreator) CreatePeaCalls(...)
- func (fake *FakePeaCreator) CreatePeaReturns(result1 garden.Process, result2 error)
- func (fake *FakePeaCreator) CreatePeaReturnsOnCall(i int, result1 garden.Process, result2 error)
- func (fake *FakePeaCreator) Invocations() map[string][][]interface{}
- type FakePeaUsernameResolver
- func (fake *FakePeaUsernameResolver) Invocations() map[string][][]interface{}
- func (fake *FakePeaUsernameResolver) ResolveUser(arg1 lager.Logger, arg2 string, arg3 garden.ImageRef, arg4 string) (int, int, error)
- func (fake *FakePeaUsernameResolver) ResolveUserArgsForCall(i int) (lager.Logger, string, garden.ImageRef, string)
- func (fake *FakePeaUsernameResolver) ResolveUserCallCount() int
- func (fake *FakePeaUsernameResolver) ResolveUserCalls(stub func(lager.Logger, string, garden.ImageRef, string) (int, int, error))
- func (fake *FakePeaUsernameResolver) ResolveUserReturns(result1 int, result2 int, result3 error)
- func (fake *FakePeaUsernameResolver) ResolveUserReturnsOnCall(i int, result1 int, result2 int, result3 error)
- type FakeProcessesStopper
- func (fake *FakeProcessesStopper) Invocations() map[string][][]interface{}
- func (fake *FakeProcessesStopper) StopAll(arg1 lager.Logger, arg2 string, arg3 []int, arg4 bool) error
- func (fake *FakeProcessesStopper) StopAllArgsForCall(i int) (lager.Logger, string, []int, bool)
- func (fake *FakeProcessesStopper) StopAllCallCount() int
- func (fake *FakeProcessesStopper) StopAllCalls(stub func(lager.Logger, string, []int, bool) error)
- func (fake *FakeProcessesStopper) StopAllReturns(result1 error)
- func (fake *FakeProcessesStopper) StopAllReturnsOnCall(i int, result1 error)
- type FakeProperties
- func (fake *FakeProperties) Get(arg1 string, arg2 string) (string, bool)
- func (fake *FakeProperties) GetArgsForCall(i int) (string, string)
- func (fake *FakeProperties) GetCallCount() int
- func (fake *FakeProperties) GetCalls(stub func(string, string) (string, bool))
- func (fake *FakeProperties) GetReturns(result1 string, result2 bool)
- func (fake *FakeProperties) GetReturnsOnCall(i int, result1 string, result2 bool)
- func (fake *FakeProperties) Invocations() map[string][][]interface{}
- func (fake *FakeProperties) Set(arg1 string, arg2 string, arg3 string)
- func (fake *FakeProperties) SetArgsForCall(i int) (string, string, string)
- func (fake *FakeProperties) SetCallCount() int
- func (fake *FakeProperties) SetCalls(stub func(string, string, string))
- type FakeRuntimeStopper
- func (fake *FakeRuntimeStopper) Invocations() map[string][][]interface{}
- func (fake *FakeRuntimeStopper) Stop() error
- func (fake *FakeRuntimeStopper) StopCallCount() int
- func (fake *FakeRuntimeStopper) StopCalls(stub func() error)
- func (fake *FakeRuntimeStopper) StopReturns(result1 error)
- func (fake *FakeRuntimeStopper) StopReturnsOnCall(i int, result1 error)
- type FakeStateStore
- func (fake *FakeStateStore) Invocations() map[string][][]interface{}
- func (fake *FakeStateStore) IsStopped(arg1 string) bool
- func (fake *FakeStateStore) IsStoppedArgsForCall(i int) string
- func (fake *FakeStateStore) IsStoppedCallCount() int
- func (fake *FakeStateStore) IsStoppedCalls(stub func(string) bool)
- func (fake *FakeStateStore) IsStoppedReturns(result1 bool)
- func (fake *FakeStateStore) IsStoppedReturnsOnCall(i int, result1 bool)
- func (fake *FakeStateStore) StoreStopped(arg1 string)
- func (fake *FakeStateStore) StoreStoppedArgsForCall(i int) string
- func (fake *FakeStateStore) StoreStoppedCallCount() int
- func (fake *FakeStateStore) StoreStoppedCalls(stub func(string))
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) DestroyArgsForCall ¶
func (*FakeDepot) DestroyCallCount ¶
func (*FakeDepot) DestroyCalls ¶
func (*FakeDepot) DestroyReturns ¶
func (*FakeDepot) DestroyReturnsOnCall ¶
func (*FakeDepot) Invocations ¶
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)
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)
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) StreamInArgsForCall ¶
func (*FakeNstarRunner) StreamInCallCount ¶
func (fake *FakeNstarRunner) StreamInCallCount() int
func (*FakeNstarRunner) StreamInCalls ¶
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 (*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) AttachArgsForCall ¶
func (*FakeOCIRuntime) AttachCallCount ¶
func (fake *FakeOCIRuntime) AttachCallCount() int
func (*FakeOCIRuntime) AttachCalls ¶
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 (*FakeOCIRuntime) BundleInfoArgsForCall ¶
func (fake *FakeOCIRuntime) BundleInfoArgsForCall(i int) (lager.Logger, string)
func (*FakeOCIRuntime) BundleInfoCallCount ¶
func (fake *FakeOCIRuntime) BundleInfoCallCount() int
func (*FakeOCIRuntime) BundleInfoCalls ¶
func (*FakeOCIRuntime) BundleInfoReturns ¶
func (fake *FakeOCIRuntime) BundleInfoReturns(result1 string, result2 goci.Bndl, result3 error)
func (*FakeOCIRuntime) BundleInfoReturnsOnCall ¶
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 (*FakeOCIRuntime) ContainerPeaHandlesArgsForCall ¶
func (fake *FakeOCIRuntime) ContainerPeaHandlesArgsForCall(i int) (lager.Logger, string)
func (*FakeOCIRuntime) ContainerPeaHandlesCallCount ¶
func (fake *FakeOCIRuntime) ContainerPeaHandlesCallCount() int
func (*FakeOCIRuntime) ContainerPeaHandlesCalls ¶
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) CreateArgsForCall ¶
func (*FakeOCIRuntime) CreateCallCount ¶
func (fake *FakeOCIRuntime) CreateCallCount() int
func (*FakeOCIRuntime) CreateCalls ¶
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) EventsArgsForCall ¶
func (fake *FakeOCIRuntime) EventsArgsForCall(i int) lager.Logger
func (*FakeOCIRuntime) EventsCallCount ¶
func (fake *FakeOCIRuntime) EventsCallCount() int
func (*FakeOCIRuntime) EventsCalls ¶
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) ExecArgsForCall ¶
func (fake *FakeOCIRuntime) ExecArgsForCall(i int) (lager.Logger, string, garden.ProcessSpec, garden.ProcessIO)
func (*FakeOCIRuntime) ExecCallCount ¶
func (fake *FakeOCIRuntime) ExecCallCount() int
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) StateArgsForCall ¶
func (fake *FakeOCIRuntime) StateArgsForCall(i int) (lager.Logger, string)
func (*FakeOCIRuntime) StateCallCount ¶
func (fake *FakeOCIRuntime) StateCallCount() int
func (*FakeOCIRuntime) StateCalls ¶
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 (fake *FakeOCIRuntime) Stats(arg1 lager.Logger, arg2 string) (gardener.StatsContainerMetrics, error)
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) 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 (*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 (*FakePeaUsernameResolver) ResolveUserArgsForCall ¶
func (*FakePeaUsernameResolver) ResolveUserCallCount ¶
func (fake *FakePeaUsernameResolver) ResolveUserCallCount() int
func (*FakePeaUsernameResolver) ResolveUserCalls ¶
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) StopAllArgsForCall ¶
func (*FakeProcessesStopper) StopAllCallCount ¶
func (fake *FakeProcessesStopper) StopAllCallCount() int
func (*FakeProcessesStopper) StopAllCalls ¶
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) SetArgsForCall ¶
func (fake *FakeProperties) SetArgsForCall(i int) (string, string, string)
func (*FakeProperties) SetCallCount ¶
func (fake *FakeProperties) SetCallCount() int
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))
Source Files ¶
- fake_bundle_generator.go
- fake_bundler_rule.go
- fake_cpucgrouper.go
- fake_depot.go
- fake_event_store.go
- fake_mount_options_getter.go
- fake_mount_point_checker.go
- fake_nstar_runner.go
- fake_ociruntime.go
- fake_pea_creator.go
- fake_pea_username_resolver.go
- fake_processes_stopper.go
- fake_properties.go
- fake_runtime_stopper.go
- fake_state_store.go