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 FakeBundleLoader
- func (fake *FakeBundleLoader) Invocations() map[string][][]interface{}
- func (fake *FakeBundleLoader) Load(arg1 lager.Logger, arg2 string) (goci.Bndl, error)
- func (fake *FakeBundleLoader) LoadArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeBundleLoader) LoadCallCount() int
- func (fake *FakeBundleLoader) LoadCalls(stub func(lager.Logger, string) (goci.Bndl, error))
- func (fake *FakeBundleLoader) LoadReturns(result1 goci.Bndl, result2 error)
- func (fake *FakeBundleLoader) LoadReturnsOnCall(i int, result1 goci.Bndl, result2 error)
- type FakeDepot
- func (fake *FakeDepot) Create(arg1 lager.Logger, arg2 string, arg3 goci.Bndl) (string, error)
- func (fake *FakeDepot) CreateArgsForCall(i int) (lager.Logger, string, goci.Bndl)
- func (fake *FakeDepot) CreateCallCount() int
- func (fake *FakeDepot) CreateCalls(stub func(lager.Logger, string, goci.Bndl) (string, error))
- func (fake *FakeDepot) CreateReturns(result1 string, result2 error)
- func (fake *FakeDepot) CreateReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeDepot) CreatedTime(arg1 lager.Logger, arg2 string) (time.Time, error)
- func (fake *FakeDepot) CreatedTimeArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeDepot) CreatedTimeCallCount() int
- func (fake *FakeDepot) CreatedTimeCalls(stub func(lager.Logger, string) (time.Time, error))
- func (fake *FakeDepot) CreatedTimeReturns(result1 time.Time, result2 error)
- func (fake *FakeDepot) CreatedTimeReturnsOnCall(i int, result1 time.Time, result2 error)
- 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) Handles() ([]string, error)
- func (fake *FakeDepot) HandlesCallCount() int
- func (fake *FakeDepot) HandlesCalls(stub func() ([]string, error))
- func (fake *FakeDepot) HandlesReturns(result1 []string, result2 error)
- func (fake *FakeDepot) HandlesReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeDepot) Invocations() map[string][][]interface{}
- func (fake *FakeDepot) Load(arg1 lager.Logger, arg2 string) (goci.Bndl, error)
- func (fake *FakeDepot) LoadArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeDepot) LoadCallCount() int
- func (fake *FakeDepot) LoadCalls(stub func(lager.Logger, string) (goci.Bndl, error))
- func (fake *FakeDepot) LoadReturns(result1 goci.Bndl, result2 error)
- func (fake *FakeDepot) LoadReturnsOnCall(i int, result1 goci.Bndl, result2 error)
- func (fake *FakeDepot) Lookup(arg1 lager.Logger, arg2 string) (string, error)
- func (fake *FakeDepot) LookupArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeDepot) LookupCallCount() int
- func (fake *FakeDepot) LookupCalls(stub func(lager.Logger, string) (string, error))
- func (fake *FakeDepot) LookupReturns(result1 string, result2 error)
- func (fake *FakeDepot) LookupReturnsOnCall(i int, result1 string, result2 error)
- type FakeEventsWatcher
- func (fake *FakeEventsWatcher) Invocations() map[string][][]interface{}
- func (fake *FakeEventsWatcher) WatchEvents(arg1 lager.Logger, arg2 string) error
- func (fake *FakeEventsWatcher) WatchEventsArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeEventsWatcher) WatchEventsCallCount() int
- func (fake *FakeEventsWatcher) WatchEventsCalls(stub func(lager.Logger, string) error)
- func (fake *FakeEventsWatcher) WatchEventsReturns(result1 error)
- func (fake *FakeEventsWatcher) WatchEventsReturnsOnCall(i int, result1 error)
- type FakeExecRunner
- func (fake *FakeExecRunner) Attach(arg1 lager.Logger, arg2 string, arg3 string, arg4 garden.ProcessIO) (garden.Process, error)
- func (fake *FakeExecRunner) AttachArgsForCall(i int) (lager.Logger, string, string, garden.ProcessIO)
- func (fake *FakeExecRunner) AttachCallCount() int
- func (fake *FakeExecRunner) AttachCalls(...)
- func (fake *FakeExecRunner) AttachReturns(result1 garden.Process, result2 error)
- func (fake *FakeExecRunner) AttachReturnsOnCall(i int, result1 garden.Process, result2 error)
- func (fake *FakeExecRunner) Invocations() map[string][][]interface{}
- func (fake *FakeExecRunner) Run(arg1 lager.Logger, arg2 string, arg3 string, arg4 garden.ProcessIO, arg5 bool, ...) (garden.Process, error)
- func (fake *FakeExecRunner) RunArgsForCall(i int) (lager.Logger, string, string, garden.ProcessIO, bool, io.Reader, func() error)
- func (fake *FakeExecRunner) RunCallCount() int
- func (fake *FakeExecRunner) RunCalls(...)
- func (fake *FakeExecRunner) RunPea(arg1 lager.Logger, arg2 string, arg3 goci.Bndl, arg4 string, ...) (garden.Process, error)
- func (fake *FakeExecRunner) RunPeaArgsForCall(i int) (lager.Logger, string, goci.Bndl, string, garden.ProcessIO, bool, io.Reader, ...)
- func (fake *FakeExecRunner) RunPeaCallCount() int
- func (fake *FakeExecRunner) RunPeaCalls(...)
- func (fake *FakeExecRunner) RunPeaReturns(result1 garden.Process, result2 error)
- func (fake *FakeExecRunner) RunPeaReturnsOnCall(i int, result1 garden.Process, result2 error)
- func (fake *FakeExecRunner) RunReturns(result1 garden.Process, result2 error)
- func (fake *FakeExecRunner) RunReturnsOnCall(i int, result1 garden.Process, result2 error)
- type FakeMkdirer
- func (fake *FakeMkdirer) Invocations() map[string][][]interface{}
- func (fake *FakeMkdirer) MkdirAs(arg1 string, arg2 int, arg3 int, arg4 os.FileMode, arg5 bool, arg6 ...string) error
- func (fake *FakeMkdirer) MkdirAsArgsForCall(i int) (string, int, int, os.FileMode, bool, []string)
- func (fake *FakeMkdirer) MkdirAsCallCount() int
- func (fake *FakeMkdirer) MkdirAsCalls(stub func(string, int, int, os.FileMode, bool, ...string) error)
- func (fake *FakeMkdirer) MkdirAsReturns(result1 error)
- func (fake *FakeMkdirer) MkdirAsReturnsOnCall(i int, result1 error)
- type FakePidGetter
- func (fake *FakePidGetter) GetPid(arg1 lager.Logger, arg2 string) (int, error)
- func (fake *FakePidGetter) GetPidArgsForCall(i int) (lager.Logger, string)
- func (fake *FakePidGetter) GetPidCallCount() int
- func (fake *FakePidGetter) GetPidCalls(stub func(lager.Logger, string) (int, error))
- func (fake *FakePidGetter) GetPidReturns(result1 int, result2 error)
- func (fake *FakePidGetter) GetPidReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakePidGetter) Invocations() map[string][][]interface{}
- 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 FakeProcessDepot
- func (fake *FakeProcessDepot) CreatedTime(arg1 lager.Logger, arg2 string) (time.Time, error)
- func (fake *FakeProcessDepot) CreatedTimeArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeProcessDepot) CreatedTimeCallCount() int
- func (fake *FakeProcessDepot) CreatedTimeCalls(stub func(lager.Logger, string) (time.Time, error))
- func (fake *FakeProcessDepot) CreatedTimeReturns(result1 time.Time, result2 error)
- func (fake *FakeProcessDepot) CreatedTimeReturnsOnCall(i int, result1 time.Time, result2 error)
- func (fake *FakeProcessDepot) Invocations() map[string][][]interface{}
- func (fake *FakeProcessDepot) ListProcessDirs(arg1 lager.Logger, arg2 string) ([]string, error)
- func (fake *FakeProcessDepot) ListProcessDirsArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeProcessDepot) ListProcessDirsCallCount() int
- func (fake *FakeProcessDepot) ListProcessDirsCalls(stub func(lager.Logger, string) ([]string, error))
- func (fake *FakeProcessDepot) ListProcessDirsReturns(result1 []string, result2 error)
- func (fake *FakeProcessDepot) ListProcessDirsReturnsOnCall(i int, result1 []string, result2 error)
- type FakeRuncBinary
- func (fake *FakeRuncBinary) DeleteCommand(arg1 string, arg2 bool, arg3 string) *exec.Cmd
- func (fake *FakeRuncBinary) DeleteCommandArgsForCall(i int) (string, bool, string)
- func (fake *FakeRuncBinary) DeleteCommandCallCount() int
- func (fake *FakeRuncBinary) DeleteCommandCalls(stub func(string, bool, string) *exec.Cmd)
- func (fake *FakeRuncBinary) DeleteCommandReturns(result1 *exec.Cmd)
- func (fake *FakeRuncBinary) DeleteCommandReturnsOnCall(i int, result1 *exec.Cmd)
- func (fake *FakeRuncBinary) EventsCommand(arg1 string) *exec.Cmd
- func (fake *FakeRuncBinary) EventsCommandArgsForCall(i int) string
- func (fake *FakeRuncBinary) EventsCommandCallCount() int
- func (fake *FakeRuncBinary) EventsCommandCalls(stub func(string) *exec.Cmd)
- func (fake *FakeRuncBinary) EventsCommandReturns(result1 *exec.Cmd)
- func (fake *FakeRuncBinary) EventsCommandReturnsOnCall(i int, result1 *exec.Cmd)
- func (fake *FakeRuncBinary) ExecCommand(arg1 string, arg2 string, arg3 string) *exec.Cmd
- func (fake *FakeRuncBinary) ExecCommandArgsForCall(i int) (string, string, string)
- func (fake *FakeRuncBinary) ExecCommandCallCount() int
- func (fake *FakeRuncBinary) ExecCommandCalls(stub func(string, string, string) *exec.Cmd)
- func (fake *FakeRuncBinary) ExecCommandReturns(result1 *exec.Cmd)
- func (fake *FakeRuncBinary) ExecCommandReturnsOnCall(i int, result1 *exec.Cmd)
- func (fake *FakeRuncBinary) Invocations() map[string][][]interface{}
- func (fake *FakeRuncBinary) RunCommand(arg1 string, arg2 string, arg3 string, arg4 string, arg5 []string) *exec.Cmd
- func (fake *FakeRuncBinary) RunCommandArgsForCall(i int) (string, string, string, string, []string)
- func (fake *FakeRuncBinary) RunCommandCallCount() int
- func (fake *FakeRuncBinary) RunCommandCalls(stub func(string, string, string, string, []string) *exec.Cmd)
- func (fake *FakeRuncBinary) RunCommandReturns(result1 *exec.Cmd)
- func (fake *FakeRuncBinary) RunCommandReturnsOnCall(i int, result1 *exec.Cmd)
- func (fake *FakeRuncBinary) StateCommand(arg1 string, arg2 string) *exec.Cmd
- func (fake *FakeRuncBinary) StateCommandArgsForCall(i int) (string, string)
- func (fake *FakeRuncBinary) StateCommandCallCount() int
- func (fake *FakeRuncBinary) StateCommandCalls(stub func(string, string) *exec.Cmd)
- func (fake *FakeRuncBinary) StateCommandReturns(result1 *exec.Cmd)
- func (fake *FakeRuncBinary) StateCommandReturnsOnCall(i int, result1 *exec.Cmd)
- func (fake *FakeRuncBinary) StatsCommand(arg1 string, arg2 string) *exec.Cmd
- func (fake *FakeRuncBinary) StatsCommandArgsForCall(i int) (string, string)
- func (fake *FakeRuncBinary) StatsCommandCallCount() int
- func (fake *FakeRuncBinary) StatsCommandCalls(stub func(string, string) *exec.Cmd)
- func (fake *FakeRuncBinary) StatsCommandReturns(result1 *exec.Cmd)
- func (fake *FakeRuncBinary) StatsCommandReturnsOnCall(i int, result1 *exec.Cmd)
- type FakeRuncCmdRunner
- func (fake *FakeRuncCmdRunner) Invocations() map[string][][]interface{}
- func (fake *FakeRuncCmdRunner) RunAndLog(arg1 lager.Logger, arg2 runrunc.LoggingCmd) error
- func (fake *FakeRuncCmdRunner) RunAndLogArgsForCall(i int) (lager.Logger, runrunc.LoggingCmd)
- func (fake *FakeRuncCmdRunner) RunAndLogCallCount() int
- func (fake *FakeRuncCmdRunner) RunAndLogCalls(stub func(lager.Logger, runrunc.LoggingCmd) error)
- func (fake *FakeRuncCmdRunner) RunAndLogReturns(result1 error)
- func (fake *FakeRuncCmdRunner) RunAndLogReturnsOnCall(i int, result1 error)
- type FakeRunner
- type FakeStatsNotifier
- func (fake *FakeStatsNotifier) Invocations() map[string][][]interface{}
- func (fake *FakeStatsNotifier) OnStat(arg1 string, arg2 garden.ContainerCPUStat, arg3 garden.ContainerMemoryStat)
- func (fake *FakeStatsNotifier) OnStatArgsForCall(i int) (string, garden.ContainerCPUStat, garden.ContainerMemoryStat)
- func (fake *FakeStatsNotifier) OnStatCallCount() int
- func (fake *FakeStatsNotifier) OnStatCalls(stub func(string, garden.ContainerCPUStat, garden.ContainerMemoryStat))
- type FakeUidGenerator
- func (fake *FakeUidGenerator) Generate() string
- func (fake *FakeUidGenerator) GenerateCallCount() int
- func (fake *FakeUidGenerator) GenerateCalls(stub func() string)
- func (fake *FakeUidGenerator) GenerateReturns(result1 string)
- func (fake *FakeUidGenerator) GenerateReturnsOnCall(i int, result1 string)
- func (fake *FakeUidGenerator) Invocations() map[string][][]interface{}
- type FakeWaitWatcher
- func (fake *FakeWaitWatcher) Invocations() map[string][][]interface{}
- func (fake *FakeWaitWatcher) OnExit(arg1 lager.Logger, arg2 runrunc.Waiter, arg3 runrunc.Runner)
- func (fake *FakeWaitWatcher) OnExitArgsForCall(i int) (lager.Logger, runrunc.Waiter, runrunc.Runner)
- func (fake *FakeWaitWatcher) OnExitCallCount() int
- func (fake *FakeWaitWatcher) OnExitCalls(stub func(lager.Logger, runrunc.Waiter, runrunc.Runner))
- type FakeWaiter
- func (fake *FakeWaiter) Invocations() map[string][][]interface{}
- func (fake *FakeWaiter) Wait() (int, error)
- func (fake *FakeWaiter) WaitCallCount() int
- func (fake *FakeWaiter) WaitCalls(stub func() (int, error))
- func (fake *FakeWaiter) WaitReturns(result1 int, result2 error)
- func (fake *FakeWaiter) WaitReturnsOnCall(i int, result1 int, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBundleLoader ¶
type FakeBundleLoader struct { LoadStub func(lager.Logger, string) (goci.Bndl, error) // contains filtered or unexported fields }
func (*FakeBundleLoader) Invocations ¶
func (fake *FakeBundleLoader) Invocations() map[string][][]interface{}
func (*FakeBundleLoader) Load ¶
func (fake *FakeBundleLoader) Load(arg1 lager.Logger, arg2 string) (goci.Bndl, error)
func (*FakeBundleLoader) LoadArgsForCall ¶
func (fake *FakeBundleLoader) LoadArgsForCall(i int) (lager.Logger, string)
func (*FakeBundleLoader) LoadCallCount ¶
func (fake *FakeBundleLoader) LoadCallCount() int
func (*FakeBundleLoader) LoadCalls ¶
func (fake *FakeBundleLoader) LoadCalls(stub func(lager.Logger, string) (goci.Bndl, error))
func (*FakeBundleLoader) LoadReturns ¶
func (fake *FakeBundleLoader) LoadReturns(result1 goci.Bndl, result2 error)
func (*FakeBundleLoader) LoadReturnsOnCall ¶
func (fake *FakeBundleLoader) LoadReturnsOnCall(i int, result1 goci.Bndl, result2 error)
type FakeDepot ¶
type FakeDepot struct { CreateStub func(lager.Logger, string, goci.Bndl) (string, error) CreatedTimeStub func(lager.Logger, string) (time.Time, error) DestroyStub func(lager.Logger, string) error HandlesStub func() ([]string, error) LoadStub func(lager.Logger, string) (goci.Bndl, error) LookupStub func(lager.Logger, string) (string, error) // contains filtered or unexported fields }
func (*FakeDepot) CreateArgsForCall ¶
func (*FakeDepot) CreateCallCount ¶
func (*FakeDepot) CreateCalls ¶
func (*FakeDepot) CreateReturns ¶
func (*FakeDepot) CreateReturnsOnCall ¶
func (*FakeDepot) CreatedTime ¶
func (*FakeDepot) CreatedTimeArgsForCall ¶
func (*FakeDepot) CreatedTimeCallCount ¶
func (*FakeDepot) CreatedTimeCalls ¶
func (*FakeDepot) CreatedTimeReturns ¶
func (*FakeDepot) CreatedTimeReturnsOnCall ¶
func (*FakeDepot) DestroyArgsForCall ¶
func (*FakeDepot) DestroyCallCount ¶
func (*FakeDepot) DestroyCalls ¶
func (*FakeDepot) DestroyReturns ¶
func (*FakeDepot) DestroyReturnsOnCall ¶
func (*FakeDepot) HandlesCallCount ¶
func (*FakeDepot) HandlesCalls ¶
func (*FakeDepot) HandlesReturns ¶
func (*FakeDepot) HandlesReturnsOnCall ¶
func (*FakeDepot) Invocations ¶
func (*FakeDepot) LoadArgsForCall ¶
func (*FakeDepot) LoadCallCount ¶
func (*FakeDepot) LoadReturns ¶
func (*FakeDepot) LoadReturnsOnCall ¶
func (*FakeDepot) LookupArgsForCall ¶
func (*FakeDepot) LookupCallCount ¶
func (*FakeDepot) LookupCalls ¶
func (*FakeDepot) LookupReturns ¶
type FakeEventsWatcher ¶
type FakeEventsWatcher struct { WatchEventsStub func(lager.Logger, string) error // contains filtered or unexported fields }
func (*FakeEventsWatcher) Invocations ¶
func (fake *FakeEventsWatcher) Invocations() map[string][][]interface{}
func (*FakeEventsWatcher) WatchEvents ¶
func (fake *FakeEventsWatcher) WatchEvents(arg1 lager.Logger, arg2 string) error
func (*FakeEventsWatcher) WatchEventsArgsForCall ¶
func (fake *FakeEventsWatcher) WatchEventsArgsForCall(i int) (lager.Logger, string)
func (*FakeEventsWatcher) WatchEventsCallCount ¶
func (fake *FakeEventsWatcher) WatchEventsCallCount() int
func (*FakeEventsWatcher) WatchEventsCalls ¶
func (fake *FakeEventsWatcher) WatchEventsCalls(stub func(lager.Logger, string) error)
func (*FakeEventsWatcher) WatchEventsReturns ¶
func (fake *FakeEventsWatcher) WatchEventsReturns(result1 error)
func (*FakeEventsWatcher) WatchEventsReturnsOnCall ¶
func (fake *FakeEventsWatcher) WatchEventsReturnsOnCall(i int, result1 error)
type FakeExecRunner ¶
type FakeExecRunner struct { AttachStub func(lager.Logger, string, string, garden.ProcessIO) (garden.Process, error) RunStub func(lager.Logger, string, string, garden.ProcessIO, bool, io.Reader, func() error) (garden.Process, error) RunPeaStub func(lager.Logger, string, goci.Bndl, string, garden.ProcessIO, bool, io.Reader, func() error) (garden.Process, error) // contains filtered or unexported fields }
func (*FakeExecRunner) AttachArgsForCall ¶
func (*FakeExecRunner) AttachCallCount ¶
func (fake *FakeExecRunner) AttachCallCount() int
func (*FakeExecRunner) AttachCalls ¶
func (*FakeExecRunner) AttachReturns ¶
func (fake *FakeExecRunner) AttachReturns(result1 garden.Process, result2 error)
func (*FakeExecRunner) AttachReturnsOnCall ¶
func (fake *FakeExecRunner) AttachReturnsOnCall(i int, result1 garden.Process, result2 error)
func (*FakeExecRunner) Invocations ¶
func (fake *FakeExecRunner) Invocations() map[string][][]interface{}
func (*FakeExecRunner) RunArgsForCall ¶
func (*FakeExecRunner) RunCallCount ¶
func (fake *FakeExecRunner) RunCallCount() int
func (*FakeExecRunner) RunPeaArgsForCall ¶
func (*FakeExecRunner) RunPeaCallCount ¶
func (fake *FakeExecRunner) RunPeaCallCount() int
func (*FakeExecRunner) RunPeaCalls ¶
func (*FakeExecRunner) RunPeaReturns ¶
func (fake *FakeExecRunner) RunPeaReturns(result1 garden.Process, result2 error)
func (*FakeExecRunner) RunPeaReturnsOnCall ¶
func (fake *FakeExecRunner) RunPeaReturnsOnCall(i int, result1 garden.Process, result2 error)
func (*FakeExecRunner) RunReturns ¶
func (fake *FakeExecRunner) RunReturns(result1 garden.Process, result2 error)
func (*FakeExecRunner) RunReturnsOnCall ¶
func (fake *FakeExecRunner) RunReturnsOnCall(i int, result1 garden.Process, result2 error)
type FakeMkdirer ¶
type FakeMkdirer struct { MkdirAsStub func(string, int, int, os.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 FakePidGetter ¶
type FakePidGetter struct { GetPidStub func(lager.Logger, string) (int, error) // contains filtered or unexported fields }
func (*FakePidGetter) GetPid ¶
func (fake *FakePidGetter) GetPid(arg1 lager.Logger, arg2 string) (int, error)
func (*FakePidGetter) GetPidArgsForCall ¶
func (fake *FakePidGetter) GetPidArgsForCall(i int) (lager.Logger, string)
func (*FakePidGetter) GetPidCallCount ¶
func (fake *FakePidGetter) GetPidCallCount() int
func (*FakePidGetter) GetPidCalls ¶
func (fake *FakePidGetter) GetPidCalls(stub func(lager.Logger, string) (int, error))
func (*FakePidGetter) GetPidReturns ¶
func (fake *FakePidGetter) GetPidReturns(result1 int, result2 error)
func (*FakePidGetter) GetPidReturnsOnCall ¶
func (fake *FakePidGetter) GetPidReturnsOnCall(i int, result1 int, result2 error)
func (*FakePidGetter) Invocations ¶
func (fake *FakePidGetter) Invocations() map[string][][]interface{}
type 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 FakeProcessDepot ¶
type FakeProcessDepot struct { CreatedTimeStub func(lager.Logger, string) (time.Time, error) ListProcessDirsStub func(lager.Logger, string) ([]string, error) // contains filtered or unexported fields }
func (*FakeProcessDepot) CreatedTime ¶
func (fake *FakeProcessDepot) CreatedTime(arg1 lager.Logger, arg2 string) (time.Time, error)
func (*FakeProcessDepot) CreatedTimeArgsForCall ¶
func (fake *FakeProcessDepot) CreatedTimeArgsForCall(i int) (lager.Logger, string)
func (*FakeProcessDepot) CreatedTimeCallCount ¶
func (fake *FakeProcessDepot) CreatedTimeCallCount() int
func (*FakeProcessDepot) CreatedTimeCalls ¶
func (fake *FakeProcessDepot) CreatedTimeCalls(stub func(lager.Logger, string) (time.Time, error))
func (*FakeProcessDepot) CreatedTimeReturns ¶
func (fake *FakeProcessDepot) CreatedTimeReturns(result1 time.Time, result2 error)
func (*FakeProcessDepot) CreatedTimeReturnsOnCall ¶
func (fake *FakeProcessDepot) CreatedTimeReturnsOnCall(i int, result1 time.Time, result2 error)
func (*FakeProcessDepot) Invocations ¶
func (fake *FakeProcessDepot) Invocations() map[string][][]interface{}
func (*FakeProcessDepot) ListProcessDirs ¶
func (fake *FakeProcessDepot) ListProcessDirs(arg1 lager.Logger, arg2 string) ([]string, error)
func (*FakeProcessDepot) ListProcessDirsArgsForCall ¶
func (fake *FakeProcessDepot) ListProcessDirsArgsForCall(i int) (lager.Logger, string)
func (*FakeProcessDepot) ListProcessDirsCallCount ¶
func (fake *FakeProcessDepot) ListProcessDirsCallCount() int
func (*FakeProcessDepot) ListProcessDirsCalls ¶
func (fake *FakeProcessDepot) ListProcessDirsCalls(stub func(lager.Logger, string) ([]string, error))
func (*FakeProcessDepot) ListProcessDirsReturns ¶
func (fake *FakeProcessDepot) ListProcessDirsReturns(result1 []string, result2 error)
func (*FakeProcessDepot) ListProcessDirsReturnsOnCall ¶
func (fake *FakeProcessDepot) ListProcessDirsReturnsOnCall(i int, result1 []string, result2 error)
type FakeRuncBinary ¶
type FakeRuncBinary struct { DeleteCommandStub func(string, bool, string) *exec.Cmd EventsCommandStub func(string) *exec.Cmd ExecCommandStub func(string, string, string) *exec.Cmd RunCommandStub func(string, string, string, string, []string) *exec.Cmd StateCommandStub func(string, string) *exec.Cmd StatsCommandStub func(string, string) *exec.Cmd // contains filtered or unexported fields }
func (*FakeRuncBinary) DeleteCommand ¶
func (*FakeRuncBinary) DeleteCommandArgsForCall ¶
func (fake *FakeRuncBinary) DeleteCommandArgsForCall(i int) (string, bool, string)
func (*FakeRuncBinary) DeleteCommandCallCount ¶
func (fake *FakeRuncBinary) DeleteCommandCallCount() int
func (*FakeRuncBinary) DeleteCommandCalls ¶
func (*FakeRuncBinary) DeleteCommandReturns ¶
func (fake *FakeRuncBinary) DeleteCommandReturns(result1 *exec.Cmd)
func (*FakeRuncBinary) DeleteCommandReturnsOnCall ¶
func (fake *FakeRuncBinary) DeleteCommandReturnsOnCall(i int, result1 *exec.Cmd)
func (*FakeRuncBinary) EventsCommand ¶
func (fake *FakeRuncBinary) EventsCommand(arg1 string) *exec.Cmd
func (*FakeRuncBinary) EventsCommandArgsForCall ¶
func (fake *FakeRuncBinary) EventsCommandArgsForCall(i int) string
func (*FakeRuncBinary) EventsCommandCallCount ¶
func (fake *FakeRuncBinary) EventsCommandCallCount() int
func (*FakeRuncBinary) EventsCommandCalls ¶
func (fake *FakeRuncBinary) EventsCommandCalls(stub func(string) *exec.Cmd)
func (*FakeRuncBinary) EventsCommandReturns ¶
func (fake *FakeRuncBinary) EventsCommandReturns(result1 *exec.Cmd)
func (*FakeRuncBinary) EventsCommandReturnsOnCall ¶
func (fake *FakeRuncBinary) EventsCommandReturnsOnCall(i int, result1 *exec.Cmd)
func (*FakeRuncBinary) ExecCommand ¶
func (*FakeRuncBinary) ExecCommandArgsForCall ¶
func (fake *FakeRuncBinary) ExecCommandArgsForCall(i int) (string, string, string)
func (*FakeRuncBinary) ExecCommandCallCount ¶
func (fake *FakeRuncBinary) ExecCommandCallCount() int
func (*FakeRuncBinary) ExecCommandCalls ¶
func (*FakeRuncBinary) ExecCommandReturns ¶
func (fake *FakeRuncBinary) ExecCommandReturns(result1 *exec.Cmd)
func (*FakeRuncBinary) ExecCommandReturnsOnCall ¶
func (fake *FakeRuncBinary) ExecCommandReturnsOnCall(i int, result1 *exec.Cmd)
func (*FakeRuncBinary) Invocations ¶
func (fake *FakeRuncBinary) Invocations() map[string][][]interface{}
func (*FakeRuncBinary) RunCommand ¶
func (*FakeRuncBinary) RunCommandArgsForCall ¶
func (*FakeRuncBinary) RunCommandCallCount ¶
func (fake *FakeRuncBinary) RunCommandCallCount() int
func (*FakeRuncBinary) RunCommandCalls ¶
func (*FakeRuncBinary) RunCommandReturns ¶
func (fake *FakeRuncBinary) RunCommandReturns(result1 *exec.Cmd)
func (*FakeRuncBinary) RunCommandReturnsOnCall ¶
func (fake *FakeRuncBinary) RunCommandReturnsOnCall(i int, result1 *exec.Cmd)
func (*FakeRuncBinary) StateCommand ¶
func (fake *FakeRuncBinary) StateCommand(arg1 string, arg2 string) *exec.Cmd
func (*FakeRuncBinary) StateCommandArgsForCall ¶
func (fake *FakeRuncBinary) StateCommandArgsForCall(i int) (string, string)
func (*FakeRuncBinary) StateCommandCallCount ¶
func (fake *FakeRuncBinary) StateCommandCallCount() int
func (*FakeRuncBinary) StateCommandCalls ¶
func (fake *FakeRuncBinary) StateCommandCalls(stub func(string, string) *exec.Cmd)
func (*FakeRuncBinary) StateCommandReturns ¶
func (fake *FakeRuncBinary) StateCommandReturns(result1 *exec.Cmd)
func (*FakeRuncBinary) StateCommandReturnsOnCall ¶
func (fake *FakeRuncBinary) StateCommandReturnsOnCall(i int, result1 *exec.Cmd)
func (*FakeRuncBinary) StatsCommand ¶
func (fake *FakeRuncBinary) StatsCommand(arg1 string, arg2 string) *exec.Cmd
func (*FakeRuncBinary) StatsCommandArgsForCall ¶
func (fake *FakeRuncBinary) StatsCommandArgsForCall(i int) (string, string)
func (*FakeRuncBinary) StatsCommandCallCount ¶
func (fake *FakeRuncBinary) StatsCommandCallCount() int
func (*FakeRuncBinary) StatsCommandCalls ¶
func (fake *FakeRuncBinary) StatsCommandCalls(stub func(string, string) *exec.Cmd)
func (*FakeRuncBinary) StatsCommandReturns ¶
func (fake *FakeRuncBinary) StatsCommandReturns(result1 *exec.Cmd)
func (*FakeRuncBinary) StatsCommandReturnsOnCall ¶
func (fake *FakeRuncBinary) StatsCommandReturnsOnCall(i int, result1 *exec.Cmd)
type FakeRuncCmdRunner ¶
type FakeRuncCmdRunner struct { RunAndLogStub func(lager.Logger, runrunc.LoggingCmd) error // contains filtered or unexported fields }
func (*FakeRuncCmdRunner) Invocations ¶
func (fake *FakeRuncCmdRunner) Invocations() map[string][][]interface{}
func (*FakeRuncCmdRunner) RunAndLog ¶
func (fake *FakeRuncCmdRunner) RunAndLog(arg1 lager.Logger, arg2 runrunc.LoggingCmd) error
func (*FakeRuncCmdRunner) RunAndLogArgsForCall ¶
func (fake *FakeRuncCmdRunner) RunAndLogArgsForCall(i int) (lager.Logger, runrunc.LoggingCmd)
func (*FakeRuncCmdRunner) RunAndLogCallCount ¶
func (fake *FakeRuncCmdRunner) RunAndLogCallCount() int
func (*FakeRuncCmdRunner) RunAndLogCalls ¶
func (fake *FakeRuncCmdRunner) RunAndLogCalls(stub func(lager.Logger, runrunc.LoggingCmd) error)
func (*FakeRuncCmdRunner) RunAndLogReturns ¶
func (fake *FakeRuncCmdRunner) RunAndLogReturns(result1 error)
func (*FakeRuncCmdRunner) RunAndLogReturnsOnCall ¶
func (fake *FakeRuncCmdRunner) RunAndLogReturnsOnCall(i int, result1 error)
type FakeRunner ¶
type FakeRunner struct { RunStub func(lager.Logger) // contains filtered or unexported fields }
func (*FakeRunner) Invocations ¶
func (fake *FakeRunner) Invocations() map[string][][]interface{}
func (*FakeRunner) Run ¶
func (fake *FakeRunner) Run(arg1 lager.Logger)
func (*FakeRunner) RunArgsForCall ¶
func (fake *FakeRunner) RunArgsForCall(i int) lager.Logger
func (*FakeRunner) RunCallCount ¶
func (fake *FakeRunner) RunCallCount() int
func (*FakeRunner) RunCalls ¶
func (fake *FakeRunner) RunCalls(stub func(lager.Logger))
type FakeStatsNotifier ¶
type FakeStatsNotifier struct { OnStatStub func(string, garden.ContainerCPUStat, garden.ContainerMemoryStat) // contains filtered or unexported fields }
func (*FakeStatsNotifier) Invocations ¶
func (fake *FakeStatsNotifier) Invocations() map[string][][]interface{}
func (*FakeStatsNotifier) OnStat ¶
func (fake *FakeStatsNotifier) OnStat(arg1 string, arg2 garden.ContainerCPUStat, arg3 garden.ContainerMemoryStat)
func (*FakeStatsNotifier) OnStatArgsForCall ¶
func (fake *FakeStatsNotifier) OnStatArgsForCall(i int) (string, garden.ContainerCPUStat, garden.ContainerMemoryStat)
func (*FakeStatsNotifier) OnStatCallCount ¶
func (fake *FakeStatsNotifier) OnStatCallCount() int
func (*FakeStatsNotifier) OnStatCalls ¶
func (fake *FakeStatsNotifier) OnStatCalls(stub func(string, garden.ContainerCPUStat, garden.ContainerMemoryStat))
type FakeUidGenerator ¶
type FakeUidGenerator struct { GenerateStub func() string // contains filtered or unexported fields }
func (*FakeUidGenerator) Generate ¶
func (fake *FakeUidGenerator) Generate() string
func (*FakeUidGenerator) GenerateCallCount ¶
func (fake *FakeUidGenerator) GenerateCallCount() int
func (*FakeUidGenerator) GenerateCalls ¶
func (fake *FakeUidGenerator) GenerateCalls(stub func() string)
func (*FakeUidGenerator) GenerateReturns ¶
func (fake *FakeUidGenerator) GenerateReturns(result1 string)
func (*FakeUidGenerator) GenerateReturnsOnCall ¶
func (fake *FakeUidGenerator) GenerateReturnsOnCall(i int, result1 string)
func (*FakeUidGenerator) Invocations ¶
func (fake *FakeUidGenerator) Invocations() map[string][][]interface{}
type FakeWaitWatcher ¶
type FakeWaitWatcher struct { OnExitStub func(lager.Logger, runrunc.Waiter, runrunc.Runner) // contains filtered or unexported fields }
func (*FakeWaitWatcher) Invocations ¶
func (fake *FakeWaitWatcher) Invocations() map[string][][]interface{}
func (*FakeWaitWatcher) OnExit ¶
func (fake *FakeWaitWatcher) OnExit(arg1 lager.Logger, arg2 runrunc.Waiter, arg3 runrunc.Runner)
func (*FakeWaitWatcher) OnExitArgsForCall ¶
func (*FakeWaitWatcher) OnExitCallCount ¶
func (fake *FakeWaitWatcher) OnExitCallCount() int
func (*FakeWaitWatcher) OnExitCalls ¶
func (fake *FakeWaitWatcher) OnExitCalls(stub func(lager.Logger, runrunc.Waiter, runrunc.Runner))
type FakeWaiter ¶
func (*FakeWaiter) Invocations ¶
func (fake *FakeWaiter) Invocations() map[string][][]interface{}
func (*FakeWaiter) Wait ¶
func (fake *FakeWaiter) Wait() (int, error)
func (*FakeWaiter) WaitCallCount ¶
func (fake *FakeWaiter) WaitCallCount() int
func (*FakeWaiter) WaitCalls ¶
func (fake *FakeWaiter) WaitCalls(stub func() (int, error))
func (*FakeWaiter) WaitReturns ¶
func (fake *FakeWaiter) WaitReturns(result1 int, result2 error)
func (*FakeWaiter) WaitReturnsOnCall ¶
func (fake *FakeWaiter) WaitReturnsOnCall(i int, result1 int, result2 error)