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.
Index ¶
- type FakeBackingProcess
- func (fake *FakeBackingProcess) Delete() error
- func (fake *FakeBackingProcess) DeleteCallCount() int
- func (fake *FakeBackingProcess) DeleteCalls(stub func() error)
- func (fake *FakeBackingProcess) DeleteReturns(result1 error)
- func (fake *FakeBackingProcess) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeBackingProcess) ID() string
- func (fake *FakeBackingProcess) IDCallCount() int
- func (fake *FakeBackingProcess) IDCalls(stub func() string)
- func (fake *FakeBackingProcess) IDReturns(result1 string)
- func (fake *FakeBackingProcess) IDReturnsOnCall(i int, result1 string)
- func (fake *FakeBackingProcess) Invocations() map[string][][]interface{}
- func (fake *FakeBackingProcess) Signal(arg1 syscall.Signal) error
- func (fake *FakeBackingProcess) SignalArgsForCall(i int) syscall.Signal
- func (fake *FakeBackingProcess) SignalCallCount() int
- func (fake *FakeBackingProcess) SignalCalls(stub func(syscall.Signal) error)
- func (fake *FakeBackingProcess) SignalReturns(result1 error)
- func (fake *FakeBackingProcess) SignalReturnsOnCall(i int, result1 error)
- func (fake *FakeBackingProcess) Wait() (int, error)
- func (fake *FakeBackingProcess) WaitCallCount() int
- func (fake *FakeBackingProcess) WaitCalls(stub func() (int, error))
- func (fake *FakeBackingProcess) WaitReturns(result1 int, result2 error)
- func (fake *FakeBackingProcess) WaitReturnsOnCall(i int, result1 int, result2 error)
- type FakeCgroupManager
- func (fake *FakeCgroupManager) Invocations() map[string][][]interface{}
- func (fake *FakeCgroupManager) SetUseMemoryHierarchy(arg1 string) error
- func (fake *FakeCgroupManager) SetUseMemoryHierarchyArgsForCall(i int) string
- func (fake *FakeCgroupManager) SetUseMemoryHierarchyCallCount() int
- func (fake *FakeCgroupManager) SetUseMemoryHierarchyCalls(stub func(string) error)
- func (fake *FakeCgroupManager) SetUseMemoryHierarchyReturns(result1 error)
- func (fake *FakeCgroupManager) SetUseMemoryHierarchyReturnsOnCall(i int, result1 error)
- type FakeContainerManager
- func (fake *FakeContainerManager) BundleIDs(arg1 ...runcontainerd.ContainerFilter) ([]string, error)
- func (fake *FakeContainerManager) BundleIDsArgsForCall(i int) []runcontainerd.ContainerFilter
- func (fake *FakeContainerManager) BundleIDsCallCount() int
- func (fake *FakeContainerManager) BundleIDsCalls(stub func(...runcontainerd.ContainerFilter) ([]string, error))
- func (fake *FakeContainerManager) BundleIDsReturns(result1 []string, result2 error)
- func (fake *FakeContainerManager) BundleIDsReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeContainerManager) Create(arg1 lager.Logger, arg2 string, arg3 *specs.Spec, arg4 uint32, arg5 uint32, ...) error
- func (fake *FakeContainerManager) CreateArgsForCall(i int) (lager.Logger, string, *specs.Spec, uint32, uint32, ...)
- func (fake *FakeContainerManager) CreateCallCount() int
- func (fake *FakeContainerManager) CreateCalls(stub func(lager.Logger, string, *specs.Spec, uint32, uint32, ...) error)
- func (fake *FakeContainerManager) CreateReturns(result1 error)
- func (fake *FakeContainerManager) CreateReturnsOnCall(i int, result1 error)
- func (fake *FakeContainerManager) Delete(arg1 lager.Logger, arg2 string) error
- func (fake *FakeContainerManager) DeleteArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeContainerManager) DeleteCallCount() int
- func (fake *FakeContainerManager) DeleteCalls(stub func(lager.Logger, string) error)
- func (fake *FakeContainerManager) DeleteReturns(result1 error)
- func (fake *FakeContainerManager) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeContainerManager) Exec(arg1 lager.Logger, arg2 string, arg3 string, arg4 *specs.Process, ...) (runcontainerd.BackingProcess, error)
- func (fake *FakeContainerManager) ExecArgsForCall(i int) (lager.Logger, string, string, *specs.Process, ...)
- func (fake *FakeContainerManager) ExecCallCount() int
- func (fake *FakeContainerManager) ExecCalls(...)
- func (fake *FakeContainerManager) ExecReturns(result1 runcontainerd.BackingProcess, result2 error)
- func (fake *FakeContainerManager) ExecReturnsOnCall(i int, result1 runcontainerd.BackingProcess, result2 error)
- func (fake *FakeContainerManager) GetContainerPID(arg1 lager.Logger, arg2 string) (uint32, error)
- func (fake *FakeContainerManager) GetContainerPIDArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeContainerManager) GetContainerPIDCallCount() int
- func (fake *FakeContainerManager) GetContainerPIDCalls(stub func(lager.Logger, string) (uint32, error))
- func (fake *FakeContainerManager) GetContainerPIDReturns(result1 uint32, result2 error)
- func (fake *FakeContainerManager) GetContainerPIDReturnsOnCall(i int, result1 uint32, result2 error)
- func (fake *FakeContainerManager) Invocations() map[string][][]interface{}
- func (fake *FakeContainerManager) OOMEvents(arg1 lager.Logger) <-chan *events.TaskOOM
- func (fake *FakeContainerManager) OOMEventsArgsForCall(i int) lager.Logger
- func (fake *FakeContainerManager) OOMEventsCallCount() int
- func (fake *FakeContainerManager) OOMEventsCalls(stub func(lager.Logger) <-chan *events.TaskOOM)
- func (fake *FakeContainerManager) OOMEventsReturns(result1 <-chan *events.TaskOOM)
- func (fake *FakeContainerManager) OOMEventsReturnsOnCall(i int, result1 <-chan *events.TaskOOM)
- func (fake *FakeContainerManager) RemoveBundle(arg1 lager.Logger, arg2 string) error
- func (fake *FakeContainerManager) RemoveBundleArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeContainerManager) RemoveBundleCallCount() int
- func (fake *FakeContainerManager) RemoveBundleCalls(stub func(lager.Logger, string) error)
- func (fake *FakeContainerManager) RemoveBundleReturns(result1 error)
- func (fake *FakeContainerManager) RemoveBundleReturnsOnCall(i int, result1 error)
- func (fake *FakeContainerManager) Spec(arg1 lager.Logger, arg2 string) (*specs.Spec, error)
- func (fake *FakeContainerManager) SpecArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeContainerManager) SpecCallCount() int
- func (fake *FakeContainerManager) SpecCalls(stub func(lager.Logger, string) (*specs.Spec, error))
- func (fake *FakeContainerManager) SpecReturns(result1 *specs.Spec, result2 error)
- func (fake *FakeContainerManager) SpecReturnsOnCall(i int, result1 *specs.Spec, result2 error)
- func (fake *FakeContainerManager) State(arg1 lager.Logger, arg2 string) (int, string, error)
- func (fake *FakeContainerManager) StateArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeContainerManager) StateCallCount() int
- func (fake *FakeContainerManager) StateCalls(stub func(lager.Logger, string) (int, string, error))
- func (fake *FakeContainerManager) StateReturns(result1 int, result2 string, result3 error)
- func (fake *FakeContainerManager) StateReturnsOnCall(i int, result1 int, result2 string, result3 error)
- type FakeExecer
- func (fake *FakeExecer) Attach(arg1 lager.Logger, arg2 string, arg3 string, arg4 garden.ProcessIO) (garden.Process, error)
- func (fake *FakeExecer) AttachArgsForCall(i int) (lager.Logger, string, string, garden.ProcessIO)
- func (fake *FakeExecer) AttachCallCount() int
- func (fake *FakeExecer) AttachCalls(...)
- func (fake *FakeExecer) AttachReturns(result1 garden.Process, result2 error)
- func (fake *FakeExecer) AttachReturnsOnCall(i int, result1 garden.Process, result2 error)
- func (fake *FakeExecer) ExecWithBndl(arg1 lager.Logger, arg2 string, arg3 goci.Bndl, arg4 garden.ProcessSpec, ...) (garden.Process, error)
- func (fake *FakeExecer) ExecWithBndlArgsForCall(i int) (lager.Logger, string, goci.Bndl, garden.ProcessSpec, garden.ProcessIO)
- func (fake *FakeExecer) ExecWithBndlCallCount() int
- func (fake *FakeExecer) ExecWithBndlCalls(...)
- func (fake *FakeExecer) ExecWithBndlReturns(result1 garden.Process, result2 error)
- func (fake *FakeExecer) ExecWithBndlReturnsOnCall(i int, result1 garden.Process, result2 error)
- func (fake *FakeExecer) Invocations() map[string][][]interface{}
- type FakeMkdirer
- func (fake *FakeMkdirer) Invocations() map[string][][]interface{}
- func (fake *FakeMkdirer) MkdirAs(arg1 string, arg2 int, arg3 int, arg4 fs.FileMode, arg5 bool, arg6 ...string) error
- func (fake *FakeMkdirer) MkdirAsArgsForCall(i int) (string, int, int, fs.FileMode, bool, []string)
- func (fake *FakeMkdirer) MkdirAsCallCount() int
- func (fake *FakeMkdirer) MkdirAsCalls(stub func(string, int, int, fs.FileMode, bool, ...string) error)
- func (fake *FakeMkdirer) MkdirAsReturns(result1 error)
- func (fake *FakeMkdirer) MkdirAsReturnsOnCall(i int, result1 error)
- type FakePeaHandlesGetter
- func (fake *FakePeaHandlesGetter) ContainerPeaHandles(arg1 lager.Logger, arg2 string) ([]string, error)
- func (fake *FakePeaHandlesGetter) ContainerPeaHandlesArgsForCall(i int) (lager.Logger, string)
- func (fake *FakePeaHandlesGetter) ContainerPeaHandlesCallCount() int
- func (fake *FakePeaHandlesGetter) ContainerPeaHandlesCalls(stub func(lager.Logger, string) ([]string, error))
- func (fake *FakePeaHandlesGetter) ContainerPeaHandlesReturns(result1 []string, result2 error)
- func (fake *FakePeaHandlesGetter) ContainerPeaHandlesReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakePeaHandlesGetter) Invocations() map[string][][]interface{}
- type FakePeaManager
- func (fake *FakePeaManager) Create(arg1 lager.Logger, arg2 string, arg3 goci.Bndl, arg4 garden.ProcessIO) error
- func (fake *FakePeaManager) CreateArgsForCall(i int) (lager.Logger, string, goci.Bndl, garden.ProcessIO)
- func (fake *FakePeaManager) CreateCallCount() int
- func (fake *FakePeaManager) CreateCalls(stub func(lager.Logger, string, goci.Bndl, garden.ProcessIO) error)
- func (fake *FakePeaManager) CreateReturns(result1 error)
- func (fake *FakePeaManager) CreateReturnsOnCall(i int, result1 error)
- func (fake *FakePeaManager) Delete(arg1 lager.Logger, arg2 string) error
- func (fake *FakePeaManager) DeleteArgsForCall(i int) (lager.Logger, string)
- func (fake *FakePeaManager) DeleteCallCount() int
- func (fake *FakePeaManager) DeleteCalls(stub func(lager.Logger, string) error)
- func (fake *FakePeaManager) DeleteReturns(result1 error)
- func (fake *FakePeaManager) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakePeaManager) Invocations() map[string][][]interface{}
- func (fake *FakePeaManager) RemoveBundle(arg1 lager.Logger, arg2 string) error
- func (fake *FakePeaManager) RemoveBundleArgsForCall(i int) (lager.Logger, string)
- func (fake *FakePeaManager) RemoveBundleCallCount() int
- func (fake *FakePeaManager) RemoveBundleCalls(stub func(lager.Logger, string) error)
- func (fake *FakePeaManager) RemoveBundleReturns(result1 error)
- func (fake *FakePeaManager) RemoveBundleReturnsOnCall(i int, result1 error)
- type FakeProcessBuilder
- func (fake *FakeProcessBuilder) BuildProcess(arg1 goci.Bndl, arg2 garden.ProcessSpec, arg3 *users.ExecUser) *specs.Process
- func (fake *FakeProcessBuilder) BuildProcessArgsForCall(i int) (goci.Bndl, garden.ProcessSpec, *users.ExecUser)
- func (fake *FakeProcessBuilder) BuildProcessCallCount() int
- func (fake *FakeProcessBuilder) BuildProcessCalls(stub func(goci.Bndl, garden.ProcessSpec, *users.ExecUser) *specs.Process)
- func (fake *FakeProcessBuilder) BuildProcessReturns(result1 *specs.Process)
- func (fake *FakeProcessBuilder) BuildProcessReturnsOnCall(i int, result1 *specs.Process)
- func (fake *FakeProcessBuilder) Invocations() map[string][][]interface{}
- type FakeProcessManager
- func (fake *FakeProcessManager) GetProcess(arg1 lager.Logger, arg2 string, arg3 string) (runcontainerd.BackingProcess, error)
- func (fake *FakeProcessManager) GetProcessArgsForCall(i int) (lager.Logger, string, string)
- func (fake *FakeProcessManager) GetProcessCallCount() int
- func (fake *FakeProcessManager) GetProcessCalls(stub func(lager.Logger, string, string) (runcontainerd.BackingProcess, error))
- func (fake *FakeProcessManager) GetProcessReturns(result1 runcontainerd.BackingProcess, result2 error)
- func (fake *FakeProcessManager) GetProcessReturnsOnCall(i int, result1 runcontainerd.BackingProcess, result2 error)
- func (fake *FakeProcessManager) GetTask(arg1 lager.Logger, arg2 string) (runcontainerd.BackingProcess, error)
- func (fake *FakeProcessManager) GetTaskArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeProcessManager) GetTaskCallCount() int
- func (fake *FakeProcessManager) GetTaskCalls(stub func(lager.Logger, string) (runcontainerd.BackingProcess, error))
- func (fake *FakeProcessManager) GetTaskReturns(result1 runcontainerd.BackingProcess, result2 error)
- func (fake *FakeProcessManager) GetTaskReturnsOnCall(i int, result1 runcontainerd.BackingProcess, result2 error)
- func (fake *FakeProcessManager) Invocations() map[string][][]interface{}
- type FakeRuntime
- func (fake *FakeRuntime) Delete(arg1 lager.Logger, arg2 string) error
- func (fake *FakeRuntime) DeleteArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeRuntime) DeleteCallCount() int
- func (fake *FakeRuntime) DeleteCalls(stub func(lager.Logger, string) error)
- func (fake *FakeRuntime) DeleteReturns(result1 error)
- func (fake *FakeRuntime) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeRuntime) Invocations() map[string][][]interface{}
- func (fake *FakeRuntime) RemoveBundle(arg1 lager.Logger, arg2 string) error
- func (fake *FakeRuntime) RemoveBundleArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeRuntime) RemoveBundleCallCount() int
- func (fake *FakeRuntime) RemoveBundleCalls(stub func(lager.Logger, string) error)
- func (fake *FakeRuntime) RemoveBundleReturns(result1 error)
- func (fake *FakeRuntime) RemoveBundleReturnsOnCall(i int, result1 error)
- 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 FakeStatser
- func (fake *FakeStatser) Invocations() map[string][][]interface{}
- func (fake *FakeStatser) Stats(arg1 lager.Logger, arg2 string) (gardener.StatsContainerMetrics, error)
- func (fake *FakeStatser) StatsArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeStatser) StatsCallCount() int
- func (fake *FakeStatser) StatsCalls(stub func(lager.Logger, string) (gardener.StatsContainerMetrics, error))
- func (fake *FakeStatser) StatsReturns(result1 gardener.StatsContainerMetrics, result2 error)
- func (fake *FakeStatser) StatsReturnsOnCall(i int, result1 gardener.StatsContainerMetrics, result2 error)
- type FakeVolumizer
- func (fake *FakeVolumizer) Destroy(arg1 lager.Logger, arg2 string) error
- func (fake *FakeVolumizer) DestroyArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeVolumizer) DestroyCallCount() int
- func (fake *FakeVolumizer) DestroyCalls(stub func(lager.Logger, string) error)
- func (fake *FakeVolumizer) DestroyReturns(result1 error)
- func (fake *FakeVolumizer) DestroyReturnsOnCall(i int, result1 error)
- func (fake *FakeVolumizer) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBackingProcess ¶
type FakeBackingProcess struct { DeleteStub func() error IDStub func() string SignalStub func(syscall.Signal) error WaitStub func() (int, error) // contains filtered or unexported fields }
func (*FakeBackingProcess) Delete ¶
func (fake *FakeBackingProcess) Delete() error
func (*FakeBackingProcess) DeleteCallCount ¶
func (fake *FakeBackingProcess) DeleteCallCount() int
func (*FakeBackingProcess) DeleteCalls ¶
func (fake *FakeBackingProcess) DeleteCalls(stub func() error)
func (*FakeBackingProcess) DeleteReturns ¶
func (fake *FakeBackingProcess) DeleteReturns(result1 error)
func (*FakeBackingProcess) DeleteReturnsOnCall ¶
func (fake *FakeBackingProcess) DeleteReturnsOnCall(i int, result1 error)
func (*FakeBackingProcess) ID ¶
func (fake *FakeBackingProcess) ID() string
func (*FakeBackingProcess) IDCallCount ¶
func (fake *FakeBackingProcess) IDCallCount() int
func (*FakeBackingProcess) IDCalls ¶
func (fake *FakeBackingProcess) IDCalls(stub func() string)
func (*FakeBackingProcess) IDReturns ¶
func (fake *FakeBackingProcess) IDReturns(result1 string)
func (*FakeBackingProcess) IDReturnsOnCall ¶
func (fake *FakeBackingProcess) IDReturnsOnCall(i int, result1 string)
func (*FakeBackingProcess) Invocations ¶
func (fake *FakeBackingProcess) Invocations() map[string][][]interface{}
func (*FakeBackingProcess) Signal ¶
func (fake *FakeBackingProcess) Signal(arg1 syscall.Signal) error
func (*FakeBackingProcess) SignalArgsForCall ¶
func (fake *FakeBackingProcess) SignalArgsForCall(i int) syscall.Signal
func (*FakeBackingProcess) SignalCallCount ¶
func (fake *FakeBackingProcess) SignalCallCount() int
func (*FakeBackingProcess) SignalCalls ¶
func (fake *FakeBackingProcess) SignalCalls(stub func(syscall.Signal) error)
func (*FakeBackingProcess) SignalReturns ¶
func (fake *FakeBackingProcess) SignalReturns(result1 error)
func (*FakeBackingProcess) SignalReturnsOnCall ¶
func (fake *FakeBackingProcess) SignalReturnsOnCall(i int, result1 error)
func (*FakeBackingProcess) Wait ¶
func (fake *FakeBackingProcess) Wait() (int, error)
func (*FakeBackingProcess) WaitCallCount ¶
func (fake *FakeBackingProcess) WaitCallCount() int
func (*FakeBackingProcess) WaitCalls ¶
func (fake *FakeBackingProcess) WaitCalls(stub func() (int, error))
func (*FakeBackingProcess) WaitReturns ¶
func (fake *FakeBackingProcess) WaitReturns(result1 int, result2 error)
func (*FakeBackingProcess) WaitReturnsOnCall ¶
func (fake *FakeBackingProcess) WaitReturnsOnCall(i int, result1 int, result2 error)
type FakeCgroupManager ¶
type FakeCgroupManager struct { SetUseMemoryHierarchyStub func(string) error // contains filtered or unexported fields }
func (*FakeCgroupManager) Invocations ¶
func (fake *FakeCgroupManager) Invocations() map[string][][]interface{}
func (*FakeCgroupManager) SetUseMemoryHierarchy ¶
func (fake *FakeCgroupManager) SetUseMemoryHierarchy(arg1 string) error
func (*FakeCgroupManager) SetUseMemoryHierarchyArgsForCall ¶
func (fake *FakeCgroupManager) SetUseMemoryHierarchyArgsForCall(i int) string
func (*FakeCgroupManager) SetUseMemoryHierarchyCallCount ¶
func (fake *FakeCgroupManager) SetUseMemoryHierarchyCallCount() int
func (*FakeCgroupManager) SetUseMemoryHierarchyCalls ¶
func (fake *FakeCgroupManager) SetUseMemoryHierarchyCalls(stub func(string) error)
func (*FakeCgroupManager) SetUseMemoryHierarchyReturns ¶
func (fake *FakeCgroupManager) SetUseMemoryHierarchyReturns(result1 error)
func (*FakeCgroupManager) SetUseMemoryHierarchyReturnsOnCall ¶
func (fake *FakeCgroupManager) SetUseMemoryHierarchyReturnsOnCall(i int, result1 error)
type FakeContainerManager ¶
type FakeContainerManager struct { BundleIDsStub func(...runcontainerd.ContainerFilter) ([]string, error) CreateStub func(lager.Logger, string, *specs.Spec, uint32, uint32, func() (io.Reader, io.Writer, io.Writer)) error DeleteStub func(lager.Logger, string) error ExecStub func(lager.Logger, string, string, *specs.Process, func() (io.Reader, io.Writer, io.Writer, bool)) (runcontainerd.BackingProcess, error) GetContainerPIDStub func(lager.Logger, string) (uint32, error) OOMEventsStub func(lager.Logger) <-chan *events.TaskOOM RemoveBundleStub func(lager.Logger, string) error SpecStub func(lager.Logger, string) (*specs.Spec, error) StateStub func(lager.Logger, string) (int, string, error) // contains filtered or unexported fields }
func (*FakeContainerManager) BundleIDs ¶
func (fake *FakeContainerManager) BundleIDs(arg1 ...runcontainerd.ContainerFilter) ([]string, error)
func (*FakeContainerManager) BundleIDsArgsForCall ¶
func (fake *FakeContainerManager) BundleIDsArgsForCall(i int) []runcontainerd.ContainerFilter
func (*FakeContainerManager) BundleIDsCallCount ¶
func (fake *FakeContainerManager) BundleIDsCallCount() int
func (*FakeContainerManager) BundleIDsCalls ¶
func (fake *FakeContainerManager) BundleIDsCalls(stub func(...runcontainerd.ContainerFilter) ([]string, error))
func (*FakeContainerManager) BundleIDsReturns ¶
func (fake *FakeContainerManager) BundleIDsReturns(result1 []string, result2 error)
func (*FakeContainerManager) BundleIDsReturnsOnCall ¶
func (fake *FakeContainerManager) BundleIDsReturnsOnCall(i int, result1 []string, result2 error)
func (*FakeContainerManager) CreateArgsForCall ¶
func (*FakeContainerManager) CreateCallCount ¶
func (fake *FakeContainerManager) CreateCallCount() int
func (*FakeContainerManager) CreateCalls ¶
func (*FakeContainerManager) CreateReturns ¶
func (fake *FakeContainerManager) CreateReturns(result1 error)
func (*FakeContainerManager) CreateReturnsOnCall ¶
func (fake *FakeContainerManager) CreateReturnsOnCall(i int, result1 error)
func (*FakeContainerManager) Delete ¶
func (fake *FakeContainerManager) Delete(arg1 lager.Logger, arg2 string) error
func (*FakeContainerManager) DeleteArgsForCall ¶
func (fake *FakeContainerManager) DeleteArgsForCall(i int) (lager.Logger, string)
func (*FakeContainerManager) DeleteCallCount ¶
func (fake *FakeContainerManager) DeleteCallCount() int
func (*FakeContainerManager) DeleteCalls ¶
func (fake *FakeContainerManager) DeleteCalls(stub func(lager.Logger, string) error)
func (*FakeContainerManager) DeleteReturns ¶
func (fake *FakeContainerManager) DeleteReturns(result1 error)
func (*FakeContainerManager) DeleteReturnsOnCall ¶
func (fake *FakeContainerManager) DeleteReturnsOnCall(i int, result1 error)
func (*FakeContainerManager) Exec ¶
func (fake *FakeContainerManager) Exec(arg1 lager.Logger, arg2 string, arg3 string, arg4 *specs.Process, arg5 func() (io.Reader, io.Writer, io.Writer, bool)) (runcontainerd.BackingProcess, error)
func (*FakeContainerManager) ExecArgsForCall ¶
func (*FakeContainerManager) ExecCallCount ¶
func (fake *FakeContainerManager) ExecCallCount() int
func (*FakeContainerManager) ExecCalls ¶
func (fake *FakeContainerManager) ExecCalls(stub func(lager.Logger, string, string, *specs.Process, func() (io.Reader, io.Writer, io.Writer, bool)) (runcontainerd.BackingProcess, error))
func (*FakeContainerManager) ExecReturns ¶
func (fake *FakeContainerManager) ExecReturns(result1 runcontainerd.BackingProcess, result2 error)
func (*FakeContainerManager) ExecReturnsOnCall ¶
func (fake *FakeContainerManager) ExecReturnsOnCall(i int, result1 runcontainerd.BackingProcess, result2 error)
func (*FakeContainerManager) GetContainerPID ¶
func (fake *FakeContainerManager) GetContainerPID(arg1 lager.Logger, arg2 string) (uint32, error)
func (*FakeContainerManager) GetContainerPIDArgsForCall ¶
func (fake *FakeContainerManager) GetContainerPIDArgsForCall(i int) (lager.Logger, string)
func (*FakeContainerManager) GetContainerPIDCallCount ¶
func (fake *FakeContainerManager) GetContainerPIDCallCount() int
func (*FakeContainerManager) GetContainerPIDCalls ¶
func (fake *FakeContainerManager) GetContainerPIDCalls(stub func(lager.Logger, string) (uint32, error))
func (*FakeContainerManager) GetContainerPIDReturns ¶
func (fake *FakeContainerManager) GetContainerPIDReturns(result1 uint32, result2 error)
func (*FakeContainerManager) GetContainerPIDReturnsOnCall ¶
func (fake *FakeContainerManager) GetContainerPIDReturnsOnCall(i int, result1 uint32, result2 error)
func (*FakeContainerManager) Invocations ¶
func (fake *FakeContainerManager) Invocations() map[string][][]interface{}
func (*FakeContainerManager) OOMEvents ¶
func (fake *FakeContainerManager) OOMEvents(arg1 lager.Logger) <-chan *events.TaskOOM
func (*FakeContainerManager) OOMEventsArgsForCall ¶
func (fake *FakeContainerManager) OOMEventsArgsForCall(i int) lager.Logger
func (*FakeContainerManager) OOMEventsCallCount ¶
func (fake *FakeContainerManager) OOMEventsCallCount() int
func (*FakeContainerManager) OOMEventsCalls ¶
func (fake *FakeContainerManager) OOMEventsCalls(stub func(lager.Logger) <-chan *events.TaskOOM)
func (*FakeContainerManager) OOMEventsReturns ¶
func (fake *FakeContainerManager) OOMEventsReturns(result1 <-chan *events.TaskOOM)
func (*FakeContainerManager) OOMEventsReturnsOnCall ¶
func (fake *FakeContainerManager) OOMEventsReturnsOnCall(i int, result1 <-chan *events.TaskOOM)
func (*FakeContainerManager) RemoveBundle ¶
func (fake *FakeContainerManager) RemoveBundle(arg1 lager.Logger, arg2 string) error
func (*FakeContainerManager) RemoveBundleArgsForCall ¶
func (fake *FakeContainerManager) RemoveBundleArgsForCall(i int) (lager.Logger, string)
func (*FakeContainerManager) RemoveBundleCallCount ¶
func (fake *FakeContainerManager) RemoveBundleCallCount() int
func (*FakeContainerManager) RemoveBundleCalls ¶
func (fake *FakeContainerManager) RemoveBundleCalls(stub func(lager.Logger, string) error)
func (*FakeContainerManager) RemoveBundleReturns ¶
func (fake *FakeContainerManager) RemoveBundleReturns(result1 error)
func (*FakeContainerManager) RemoveBundleReturnsOnCall ¶
func (fake *FakeContainerManager) RemoveBundleReturnsOnCall(i int, result1 error)
func (*FakeContainerManager) Spec ¶
func (fake *FakeContainerManager) Spec(arg1 lager.Logger, arg2 string) (*specs.Spec, error)
func (*FakeContainerManager) SpecArgsForCall ¶
func (fake *FakeContainerManager) SpecArgsForCall(i int) (lager.Logger, string)
func (*FakeContainerManager) SpecCallCount ¶
func (fake *FakeContainerManager) SpecCallCount() int
func (*FakeContainerManager) SpecCalls ¶
func (fake *FakeContainerManager) SpecCalls(stub func(lager.Logger, string) (*specs.Spec, error))
func (*FakeContainerManager) SpecReturns ¶
func (fake *FakeContainerManager) SpecReturns(result1 *specs.Spec, result2 error)
func (*FakeContainerManager) SpecReturnsOnCall ¶
func (fake *FakeContainerManager) SpecReturnsOnCall(i int, result1 *specs.Spec, result2 error)
func (*FakeContainerManager) State ¶
func (fake *FakeContainerManager) State(arg1 lager.Logger, arg2 string) (int, string, error)
func (*FakeContainerManager) StateArgsForCall ¶
func (fake *FakeContainerManager) StateArgsForCall(i int) (lager.Logger, string)
func (*FakeContainerManager) StateCallCount ¶
func (fake *FakeContainerManager) StateCallCount() int
func (*FakeContainerManager) StateCalls ¶
func (fake *FakeContainerManager) StateCalls(stub func(lager.Logger, string) (int, string, error))
func (*FakeContainerManager) StateReturns ¶
func (fake *FakeContainerManager) StateReturns(result1 int, result2 string, result3 error)
func (*FakeContainerManager) StateReturnsOnCall ¶
func (fake *FakeContainerManager) StateReturnsOnCall(i int, result1 int, result2 string, result3 error)
type FakeExecer ¶
type FakeExecer struct { AttachStub func(lager.Logger, string, string, garden.ProcessIO) (garden.Process, error) ExecWithBndlStub func(lager.Logger, string, goci.Bndl, garden.ProcessSpec, garden.ProcessIO) (garden.Process, error) // contains filtered or unexported fields }
func (*FakeExecer) AttachArgsForCall ¶
func (*FakeExecer) AttachCallCount ¶
func (fake *FakeExecer) AttachCallCount() int
func (*FakeExecer) AttachCalls ¶
func (*FakeExecer) AttachReturns ¶
func (fake *FakeExecer) AttachReturns(result1 garden.Process, result2 error)
func (*FakeExecer) AttachReturnsOnCall ¶
func (fake *FakeExecer) AttachReturnsOnCall(i int, result1 garden.Process, result2 error)
func (*FakeExecer) ExecWithBndl ¶
func (*FakeExecer) ExecWithBndlArgsForCall ¶
func (fake *FakeExecer) ExecWithBndlArgsForCall(i int) (lager.Logger, string, goci.Bndl, garden.ProcessSpec, garden.ProcessIO)
func (*FakeExecer) ExecWithBndlCallCount ¶
func (fake *FakeExecer) ExecWithBndlCallCount() int
func (*FakeExecer) ExecWithBndlCalls ¶
func (*FakeExecer) ExecWithBndlReturns ¶
func (fake *FakeExecer) ExecWithBndlReturns(result1 garden.Process, result2 error)
func (*FakeExecer) ExecWithBndlReturnsOnCall ¶
func (fake *FakeExecer) ExecWithBndlReturnsOnCall(i int, result1 garden.Process, result2 error)
func (*FakeExecer) Invocations ¶
func (fake *FakeExecer) Invocations() map[string][][]interface{}
type FakeMkdirer ¶
type FakeMkdirer struct { MkdirAsStub func(string, int, int, fs.FileMode, bool, ...string) error // contains filtered or unexported fields }
func (*FakeMkdirer) Invocations ¶
func (fake *FakeMkdirer) Invocations() map[string][][]interface{}
func (*FakeMkdirer) MkdirAsArgsForCall ¶
func (*FakeMkdirer) MkdirAsCallCount ¶
func (fake *FakeMkdirer) MkdirAsCallCount() int
func (*FakeMkdirer) MkdirAsCalls ¶
func (*FakeMkdirer) MkdirAsReturns ¶
func (fake *FakeMkdirer) MkdirAsReturns(result1 error)
func (*FakeMkdirer) MkdirAsReturnsOnCall ¶
func (fake *FakeMkdirer) MkdirAsReturnsOnCall(i int, result1 error)
type FakePeaHandlesGetter ¶
type FakePeaHandlesGetter struct { ContainerPeaHandlesStub func(lager.Logger, string) ([]string, error) // contains filtered or unexported fields }
func (*FakePeaHandlesGetter) ContainerPeaHandles ¶
func (fake *FakePeaHandlesGetter) ContainerPeaHandles(arg1 lager.Logger, arg2 string) ([]string, error)
func (*FakePeaHandlesGetter) ContainerPeaHandlesArgsForCall ¶
func (fake *FakePeaHandlesGetter) ContainerPeaHandlesArgsForCall(i int) (lager.Logger, string)
func (*FakePeaHandlesGetter) ContainerPeaHandlesCallCount ¶
func (fake *FakePeaHandlesGetter) ContainerPeaHandlesCallCount() int
func (*FakePeaHandlesGetter) ContainerPeaHandlesCalls ¶
func (fake *FakePeaHandlesGetter) ContainerPeaHandlesCalls(stub func(lager.Logger, string) ([]string, error))
func (*FakePeaHandlesGetter) ContainerPeaHandlesReturns ¶
func (fake *FakePeaHandlesGetter) ContainerPeaHandlesReturns(result1 []string, result2 error)
func (*FakePeaHandlesGetter) ContainerPeaHandlesReturnsOnCall ¶
func (fake *FakePeaHandlesGetter) ContainerPeaHandlesReturnsOnCall(i int, result1 []string, result2 error)
func (*FakePeaHandlesGetter) Invocations ¶
func (fake *FakePeaHandlesGetter) Invocations() map[string][][]interface{}
type FakePeaManager ¶
type FakePeaManager struct { CreateStub func(lager.Logger, string, goci.Bndl, garden.ProcessIO) error DeleteStub func(lager.Logger, string) error RemoveBundleStub func(lager.Logger, string) error // contains filtered or unexported fields }
func (*FakePeaManager) CreateArgsForCall ¶
func (*FakePeaManager) CreateCallCount ¶
func (fake *FakePeaManager) CreateCallCount() int
func (*FakePeaManager) CreateCalls ¶
func (*FakePeaManager) CreateReturns ¶
func (fake *FakePeaManager) CreateReturns(result1 error)
func (*FakePeaManager) CreateReturnsOnCall ¶
func (fake *FakePeaManager) CreateReturnsOnCall(i int, result1 error)
func (*FakePeaManager) Delete ¶
func (fake *FakePeaManager) Delete(arg1 lager.Logger, arg2 string) error
func (*FakePeaManager) DeleteArgsForCall ¶
func (fake *FakePeaManager) DeleteArgsForCall(i int) (lager.Logger, string)
func (*FakePeaManager) DeleteCallCount ¶
func (fake *FakePeaManager) DeleteCallCount() int
func (*FakePeaManager) DeleteCalls ¶
func (fake *FakePeaManager) DeleteCalls(stub func(lager.Logger, string) error)
func (*FakePeaManager) DeleteReturns ¶
func (fake *FakePeaManager) DeleteReturns(result1 error)
func (*FakePeaManager) DeleteReturnsOnCall ¶
func (fake *FakePeaManager) DeleteReturnsOnCall(i int, result1 error)
func (*FakePeaManager) Invocations ¶
func (fake *FakePeaManager) Invocations() map[string][][]interface{}
func (*FakePeaManager) RemoveBundle ¶
func (fake *FakePeaManager) RemoveBundle(arg1 lager.Logger, arg2 string) error
func (*FakePeaManager) RemoveBundleArgsForCall ¶
func (fake *FakePeaManager) RemoveBundleArgsForCall(i int) (lager.Logger, string)
func (*FakePeaManager) RemoveBundleCallCount ¶
func (fake *FakePeaManager) RemoveBundleCallCount() int
func (*FakePeaManager) RemoveBundleCalls ¶
func (fake *FakePeaManager) RemoveBundleCalls(stub func(lager.Logger, string) error)
func (*FakePeaManager) RemoveBundleReturns ¶
func (fake *FakePeaManager) RemoveBundleReturns(result1 error)
func (*FakePeaManager) RemoveBundleReturnsOnCall ¶
func (fake *FakePeaManager) RemoveBundleReturnsOnCall(i int, result1 error)
type FakeProcessBuilder ¶
type FakeProcessBuilder struct { BuildProcessStub func(goci.Bndl, garden.ProcessSpec, *users.ExecUser) *specs.Process // contains filtered or unexported fields }
func (*FakeProcessBuilder) BuildProcess ¶
func (fake *FakeProcessBuilder) BuildProcess(arg1 goci.Bndl, arg2 garden.ProcessSpec, arg3 *users.ExecUser) *specs.Process
func (*FakeProcessBuilder) BuildProcessArgsForCall ¶
func (fake *FakeProcessBuilder) BuildProcessArgsForCall(i int) (goci.Bndl, garden.ProcessSpec, *users.ExecUser)
func (*FakeProcessBuilder) BuildProcessCallCount ¶
func (fake *FakeProcessBuilder) BuildProcessCallCount() int
func (*FakeProcessBuilder) BuildProcessCalls ¶
func (fake *FakeProcessBuilder) BuildProcessCalls(stub func(goci.Bndl, garden.ProcessSpec, *users.ExecUser) *specs.Process)
func (*FakeProcessBuilder) BuildProcessReturns ¶
func (fake *FakeProcessBuilder) BuildProcessReturns(result1 *specs.Process)
func (*FakeProcessBuilder) BuildProcessReturnsOnCall ¶
func (fake *FakeProcessBuilder) BuildProcessReturnsOnCall(i int, result1 *specs.Process)
func (*FakeProcessBuilder) Invocations ¶
func (fake *FakeProcessBuilder) Invocations() map[string][][]interface{}
type FakeProcessManager ¶
type FakeProcessManager struct { GetProcessStub func(lager.Logger, string, string) (runcontainerd.BackingProcess, error) GetTaskStub func(lager.Logger, string) (runcontainerd.BackingProcess, error) // contains filtered or unexported fields }
func (*FakeProcessManager) GetProcess ¶
func (fake *FakeProcessManager) GetProcess(arg1 lager.Logger, arg2 string, arg3 string) (runcontainerd.BackingProcess, error)
func (*FakeProcessManager) GetProcessArgsForCall ¶
func (fake *FakeProcessManager) GetProcessArgsForCall(i int) (lager.Logger, string, string)
func (*FakeProcessManager) GetProcessCallCount ¶
func (fake *FakeProcessManager) GetProcessCallCount() int
func (*FakeProcessManager) GetProcessCalls ¶
func (fake *FakeProcessManager) GetProcessCalls(stub func(lager.Logger, string, string) (runcontainerd.BackingProcess, error))
func (*FakeProcessManager) GetProcessReturns ¶
func (fake *FakeProcessManager) GetProcessReturns(result1 runcontainerd.BackingProcess, result2 error)
func (*FakeProcessManager) GetProcessReturnsOnCall ¶
func (fake *FakeProcessManager) GetProcessReturnsOnCall(i int, result1 runcontainerd.BackingProcess, result2 error)
func (*FakeProcessManager) GetTask ¶
func (fake *FakeProcessManager) GetTask(arg1 lager.Logger, arg2 string) (runcontainerd.BackingProcess, error)
func (*FakeProcessManager) GetTaskArgsForCall ¶
func (fake *FakeProcessManager) GetTaskArgsForCall(i int) (lager.Logger, string)
func (*FakeProcessManager) GetTaskCallCount ¶
func (fake *FakeProcessManager) GetTaskCallCount() int
func (*FakeProcessManager) GetTaskCalls ¶
func (fake *FakeProcessManager) GetTaskCalls(stub func(lager.Logger, string) (runcontainerd.BackingProcess, error))
func (*FakeProcessManager) GetTaskReturns ¶
func (fake *FakeProcessManager) GetTaskReturns(result1 runcontainerd.BackingProcess, result2 error)
func (*FakeProcessManager) GetTaskReturnsOnCall ¶
func (fake *FakeProcessManager) GetTaskReturnsOnCall(i int, result1 runcontainerd.BackingProcess, result2 error)
func (*FakeProcessManager) Invocations ¶
func (fake *FakeProcessManager) Invocations() map[string][][]interface{}
type FakeRuntime ¶
type FakeRuntime struct { DeleteStub func(lager.Logger, string) error RemoveBundleStub func(lager.Logger, string) error // contains filtered or unexported fields }
func (*FakeRuntime) Delete ¶
func (fake *FakeRuntime) Delete(arg1 lager.Logger, arg2 string) error
func (*FakeRuntime) DeleteArgsForCall ¶
func (fake *FakeRuntime) DeleteArgsForCall(i int) (lager.Logger, string)
func (*FakeRuntime) DeleteCallCount ¶
func (fake *FakeRuntime) DeleteCallCount() int
func (*FakeRuntime) DeleteCalls ¶
func (fake *FakeRuntime) DeleteCalls(stub func(lager.Logger, string) error)
func (*FakeRuntime) DeleteReturns ¶
func (fake *FakeRuntime) DeleteReturns(result1 error)
func (*FakeRuntime) DeleteReturnsOnCall ¶
func (fake *FakeRuntime) DeleteReturnsOnCall(i int, result1 error)
func (*FakeRuntime) Invocations ¶
func (fake *FakeRuntime) Invocations() map[string][][]interface{}
func (*FakeRuntime) RemoveBundle ¶
func (fake *FakeRuntime) RemoveBundle(arg1 lager.Logger, arg2 string) error
func (*FakeRuntime) RemoveBundleArgsForCall ¶
func (fake *FakeRuntime) RemoveBundleArgsForCall(i int) (lager.Logger, string)
func (*FakeRuntime) RemoveBundleCallCount ¶
func (fake *FakeRuntime) RemoveBundleCallCount() int
func (*FakeRuntime) RemoveBundleCalls ¶
func (fake *FakeRuntime) RemoveBundleCalls(stub func(lager.Logger, string) error)
func (*FakeRuntime) RemoveBundleReturns ¶
func (fake *FakeRuntime) RemoveBundleReturns(result1 error)
func (*FakeRuntime) RemoveBundleReturnsOnCall ¶
func (fake *FakeRuntime) RemoveBundleReturnsOnCall(i int, result1 error)
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 FakeStatser ¶
type FakeStatser struct { StatsStub func(lager.Logger, string) (gardener.StatsContainerMetrics, error) // contains filtered or unexported fields }
func (*FakeStatser) Invocations ¶
func (fake *FakeStatser) Invocations() map[string][][]interface{}
func (*FakeStatser) Stats ¶
func (fake *FakeStatser) Stats(arg1 lager.Logger, arg2 string) (gardener.StatsContainerMetrics, error)
func (*FakeStatser) StatsArgsForCall ¶
func (fake *FakeStatser) StatsArgsForCall(i int) (lager.Logger, string)
func (*FakeStatser) StatsCallCount ¶
func (fake *FakeStatser) StatsCallCount() int
func (*FakeStatser) StatsCalls ¶
func (fake *FakeStatser) StatsCalls(stub func(lager.Logger, string) (gardener.StatsContainerMetrics, error))
func (*FakeStatser) StatsReturns ¶
func (fake *FakeStatser) StatsReturns(result1 gardener.StatsContainerMetrics, result2 error)
func (*FakeStatser) StatsReturnsOnCall ¶
func (fake *FakeStatser) StatsReturnsOnCall(i int, result1 gardener.StatsContainerMetrics, result2 error)
type FakeVolumizer ¶
type FakeVolumizer struct { DestroyStub func(lager.Logger, string) error // contains filtered or unexported fields }
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{}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.