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.
Index ¶
- type FakeBundleLoader
- func (fake *FakeBundleLoader) Invocations() map[string][][]interface{}
- func (fake *FakeBundleLoader) Load(path string) (goci.Bndl, error)
- func (fake *FakeBundleLoader) LoadArgsForCall(i int) string
- func (fake *FakeBundleLoader) LoadCallCount() int
- func (fake *FakeBundleLoader) LoadReturns(result1 goci.Bndl, result2 error)
- func (fake *FakeBundleLoader) LoadReturnsOnCall(i int, result1 goci.Bndl, result2 error)
- type FakeEnvDeterminer
- func (fake *FakeEnvDeterminer) EnvFor(bndl goci.Bndl, spec runrunc.ProcessSpec) []string
- func (fake *FakeEnvDeterminer) EnvForArgsForCall(i int) (goci.Bndl, runrunc.ProcessSpec)
- func (fake *FakeEnvDeterminer) EnvForCallCount() int
- func (fake *FakeEnvDeterminer) EnvForReturns(result1 []string)
- func (fake *FakeEnvDeterminer) EnvForReturnsOnCall(i int, result1 []string)
- func (fake *FakeEnvDeterminer) Invocations() map[string][][]interface{}
- type FakeEventsNotifier
- func (fake *FakeEventsNotifier) Invocations() map[string][][]interface{}
- func (fake *FakeEventsNotifier) OnEvent(handle string, event string) error
- func (fake *FakeEventsNotifier) OnEventArgsForCall(i int) (string, string)
- func (fake *FakeEventsNotifier) OnEventCallCount() int
- func (fake *FakeEventsNotifier) OnEventReturns(result1 error)
- func (fake *FakeEventsNotifier) OnEventReturnsOnCall(i int, result1 error)
- type FakeExecRunner
- func (fake *FakeExecRunner) Attach(log lager.Logger, processID string, io garden.ProcessIO, processesPath string) (garden.Process, error)
- func (fake *FakeExecRunner) AttachArgsForCall(i int) (lager.Logger, string, garden.ProcessIO, string)
- func (fake *FakeExecRunner) AttachCallCount() int
- 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(log lager.Logger, processID string, processPath string, sandboxHandle string, ...) (garden.Process, error)
- func (fake *FakeExecRunner) RunArgsForCall(i int) (lager.Logger, string, string, string, string, uint32, uint32, garden.ProcessIO, ...)
- func (fake *FakeExecRunner) RunCallCount() int
- 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(rootFSPathFile string, uid int, gid int, mode os.FileMode, recreate bool, ...) error
- func (fake *FakeMkdirer) MkdirAsArgsForCall(i int) (string, int, int, os.FileMode, bool, []string)
- func (fake *FakeMkdirer) MkdirAsCallCount() int
- func (fake *FakeMkdirer) MkdirAsReturns(result1 error)
- func (fake *FakeMkdirer) MkdirAsReturnsOnCall(i int, result1 error)
- type FakeProcessBuilder
- func (fake *FakeProcessBuilder) BuildProcess(bndl goci.Bndl, processSpec runrunc.ProcessSpec) *runrunc.PreparedSpec
- func (fake *FakeProcessBuilder) BuildProcessArgsForCall(i int) (goci.Bndl, runrunc.ProcessSpec)
- func (fake *FakeProcessBuilder) BuildProcessCallCount() int
- func (fake *FakeProcessBuilder) BuildProcessReturns(result1 *runrunc.PreparedSpec)
- func (fake *FakeProcessBuilder) BuildProcessReturnsOnCall(i int, result1 *runrunc.PreparedSpec)
- func (fake *FakeProcessBuilder) Invocations() map[string][][]interface{}
- type FakeRuncBinary
- func (fake *FakeRuncBinary) DeleteCommand(id string, force bool, logFile string) *exec.Cmd
- func (fake *FakeRuncBinary) DeleteCommandArgsForCall(i int) (string, bool, string)
- func (fake *FakeRuncBinary) DeleteCommandCallCount() int
- func (fake *FakeRuncBinary) DeleteCommandReturns(result1 *exec.Cmd)
- func (fake *FakeRuncBinary) DeleteCommandReturnsOnCall(i int, result1 *exec.Cmd)
- func (fake *FakeRuncBinary) EventsCommand(id string) *exec.Cmd
- func (fake *FakeRuncBinary) EventsCommandArgsForCall(i int) string
- func (fake *FakeRuncBinary) EventsCommandCallCount() int
- func (fake *FakeRuncBinary) EventsCommandReturns(result1 *exec.Cmd)
- func (fake *FakeRuncBinary) EventsCommandReturnsOnCall(i int, result1 *exec.Cmd)
- func (fake *FakeRuncBinary) ExecCommand(id string, processJSONPath string, pidFilePath string) *exec.Cmd
- func (fake *FakeRuncBinary) ExecCommandArgsForCall(i int) (string, string, string)
- func (fake *FakeRuncBinary) ExecCommandCallCount() int
- 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) KillCommand(id string, signal string, logFile string) *exec.Cmd
- func (fake *FakeRuncBinary) KillCommandArgsForCall(i int) (string, string, string)
- func (fake *FakeRuncBinary) KillCommandCallCount() int
- func (fake *FakeRuncBinary) KillCommandReturns(result1 *exec.Cmd)
- func (fake *FakeRuncBinary) KillCommandReturnsOnCall(i int, result1 *exec.Cmd)
- func (fake *FakeRuncBinary) StateCommand(id string, logFile string) *exec.Cmd
- func (fake *FakeRuncBinary) StateCommandArgsForCall(i int) (string, string)
- func (fake *FakeRuncBinary) StateCommandCallCount() int
- func (fake *FakeRuncBinary) StateCommandReturns(result1 *exec.Cmd)
- func (fake *FakeRuncBinary) StateCommandReturnsOnCall(i int, result1 *exec.Cmd)
- func (fake *FakeRuncBinary) StatsCommand(id string, logFile string) *exec.Cmd
- func (fake *FakeRuncBinary) StatsCommandArgsForCall(i int) (string, string)
- func (fake *FakeRuncBinary) StatsCommandCallCount() int
- 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(log lager.Logger, cmd runrunc.LoggingCmd) error
- func (fake *FakeRuncCmdRunner) RunAndLogArgsForCall(i int) (lager.Logger, runrunc.LoggingCmd)
- func (fake *FakeRuncCmdRunner) RunAndLogCallCount() int
- 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(handle string, cpuStat garden.ContainerCPUStat, ...)
- func (fake *FakeStatsNotifier) OnStatArgsForCall(i int) (string, garden.ContainerCPUStat, garden.ContainerMemoryStat)
- func (fake *FakeStatsNotifier) OnStatCallCount() int
- type FakeUidGenerator
- func (fake *FakeUidGenerator) Generate() string
- func (fake *FakeUidGenerator) GenerateCallCount() int
- func (fake *FakeUidGenerator) GenerateReturns(result1 string)
- func (fake *FakeUidGenerator) GenerateReturnsOnCall(i int, result1 string)
- func (fake *FakeUidGenerator) Invocations() map[string][][]interface{}
- type FakeUserLookupper
- func (fake *FakeUserLookupper) Invocations() map[string][][]interface{}
- func (fake *FakeUserLookupper) Lookup(rootFsPath string, user string) (*runrunc.ExecUser, error)
- func (fake *FakeUserLookupper) LookupArgsForCall(i int) (string, string)
- func (fake *FakeUserLookupper) LookupCallCount() int
- func (fake *FakeUserLookupper) LookupReturns(result1 *runrunc.ExecUser, result2 error)
- func (fake *FakeUserLookupper) LookupReturnsOnCall(i int, result1 *runrunc.ExecUser, result2 error)
- type FakeWaitWatcher
- func (fake *FakeWaitWatcher) Invocations() map[string][][]interface{}
- func (fake *FakeWaitWatcher) OnExit(log lager.Logger, process runrunc.Waiter, onExit runrunc.Runner)
- func (fake *FakeWaitWatcher) OnExitArgsForCall(i int) (lager.Logger, runrunc.Waiter, runrunc.Runner)
- func (fake *FakeWaitWatcher) OnExitCallCount() int
- type FakeWaiter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBundleLoader ¶
type FakeBundleLoader struct { LoadStub func(path string) (goci.Bndl, error) // contains filtered or unexported fields }
func (*FakeBundleLoader) Invocations ¶
func (fake *FakeBundleLoader) Invocations() map[string][][]interface{}
func (*FakeBundleLoader) LoadArgsForCall ¶
func (fake *FakeBundleLoader) LoadArgsForCall(i int) string
func (*FakeBundleLoader) LoadCallCount ¶
func (fake *FakeBundleLoader) LoadCallCount() int
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 FakeEnvDeterminer ¶
type FakeEnvDeterminer struct { EnvForStub func(bndl goci.Bndl, spec runrunc.ProcessSpec) []string // contains filtered or unexported fields }
func (*FakeEnvDeterminer) EnvFor ¶
func (fake *FakeEnvDeterminer) EnvFor(bndl goci.Bndl, spec runrunc.ProcessSpec) []string
func (*FakeEnvDeterminer) EnvForArgsForCall ¶
func (fake *FakeEnvDeterminer) EnvForArgsForCall(i int) (goci.Bndl, runrunc.ProcessSpec)
func (*FakeEnvDeterminer) EnvForCallCount ¶
func (fake *FakeEnvDeterminer) EnvForCallCount() int
func (*FakeEnvDeterminer) EnvForReturns ¶
func (fake *FakeEnvDeterminer) EnvForReturns(result1 []string)
func (*FakeEnvDeterminer) EnvForReturnsOnCall ¶
func (fake *FakeEnvDeterminer) EnvForReturnsOnCall(i int, result1 []string)
func (*FakeEnvDeterminer) Invocations ¶
func (fake *FakeEnvDeterminer) Invocations() map[string][][]interface{}
type FakeEventsNotifier ¶
type FakeEventsNotifier struct { OnEventStub func(handle string, event string) error // contains filtered or unexported fields }
func (*FakeEventsNotifier) Invocations ¶
func (fake *FakeEventsNotifier) Invocations() map[string][][]interface{}
func (*FakeEventsNotifier) OnEvent ¶
func (fake *FakeEventsNotifier) OnEvent(handle string, event string) error
func (*FakeEventsNotifier) OnEventArgsForCall ¶
func (fake *FakeEventsNotifier) OnEventArgsForCall(i int) (string, string)
func (*FakeEventsNotifier) OnEventCallCount ¶
func (fake *FakeEventsNotifier) OnEventCallCount() int
func (*FakeEventsNotifier) OnEventReturns ¶
func (fake *FakeEventsNotifier) OnEventReturns(result1 error)
func (*FakeEventsNotifier) OnEventReturnsOnCall ¶
func (fake *FakeEventsNotifier) OnEventReturnsOnCall(i int, result1 error)
type FakeExecRunner ¶
type FakeExecRunner struct { RunStub func(log lager.Logger, processID, processPath, sandboxHandle, sandboxBundlePath string, containerRootHostUID, containerRootHostGID uint32, pio garden.ProcessIO, tty bool, procJSON io.Reader, extraCleanup func() error) (garden.Process, error) AttachStub func(log lager.Logger, processID string, io garden.ProcessIO, processesPath string) (garden.Process, error) // contains filtered or unexported fields }
func (*FakeExecRunner) AttachArgsForCall ¶
func (*FakeExecRunner) AttachCallCount ¶
func (fake *FakeExecRunner) AttachCallCount() int
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) 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(rootFSPathFile string, uid, gid int, mode os.FileMode, recreate bool, path ...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) MkdirAsReturns ¶
func (fake *FakeMkdirer) MkdirAsReturns(result1 error)
func (*FakeMkdirer) MkdirAsReturnsOnCall ¶
func (fake *FakeMkdirer) MkdirAsReturnsOnCall(i int, result1 error)
type FakeProcessBuilder ¶
type FakeProcessBuilder struct { BuildProcessStub func(bndl goci.Bndl, processSpec runrunc.ProcessSpec) *runrunc.PreparedSpec // contains filtered or unexported fields }
func (*FakeProcessBuilder) BuildProcess ¶
func (fake *FakeProcessBuilder) BuildProcess(bndl goci.Bndl, processSpec runrunc.ProcessSpec) *runrunc.PreparedSpec
func (*FakeProcessBuilder) BuildProcessArgsForCall ¶
func (fake *FakeProcessBuilder) BuildProcessArgsForCall(i int) (goci.Bndl, runrunc.ProcessSpec)
func (*FakeProcessBuilder) BuildProcessCallCount ¶
func (fake *FakeProcessBuilder) BuildProcessCallCount() int
func (*FakeProcessBuilder) BuildProcessReturns ¶
func (fake *FakeProcessBuilder) BuildProcessReturns(result1 *runrunc.PreparedSpec)
func (*FakeProcessBuilder) BuildProcessReturnsOnCall ¶
func (fake *FakeProcessBuilder) BuildProcessReturnsOnCall(i int, result1 *runrunc.PreparedSpec)
func (*FakeProcessBuilder) Invocations ¶
func (fake *FakeProcessBuilder) Invocations() map[string][][]interface{}
type FakeRuncBinary ¶
type FakeRuncBinary struct { ExecCommandStub func(id, processJSONPath, pidFilePath string) *exec.Cmd EventsCommandStub func(id string) *exec.Cmd StateCommandStub func(id, logFile string) *exec.Cmd StatsCommandStub func(id, logFile string) *exec.Cmd KillCommandStub func(id, signal, logFile string) *exec.Cmd DeleteCommandStub func(id string, force bool, logFile 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) 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(id string) *exec.Cmd
func (*FakeRuncBinary) EventsCommandArgsForCall ¶
func (fake *FakeRuncBinary) EventsCommandArgsForCall(i int) string
func (*FakeRuncBinary) EventsCommandCallCount ¶
func (fake *FakeRuncBinary) EventsCommandCallCount() int
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) 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) KillCommand ¶
func (*FakeRuncBinary) KillCommandArgsForCall ¶
func (fake *FakeRuncBinary) KillCommandArgsForCall(i int) (string, string, string)
func (*FakeRuncBinary) KillCommandCallCount ¶
func (fake *FakeRuncBinary) KillCommandCallCount() int
func (*FakeRuncBinary) KillCommandReturns ¶
func (fake *FakeRuncBinary) KillCommandReturns(result1 *exec.Cmd)
func (*FakeRuncBinary) KillCommandReturnsOnCall ¶
func (fake *FakeRuncBinary) KillCommandReturnsOnCall(i int, result1 *exec.Cmd)
func (*FakeRuncBinary) StateCommand ¶
func (fake *FakeRuncBinary) StateCommand(id string, logFile string) *exec.Cmd
func (*FakeRuncBinary) StateCommandArgsForCall ¶
func (fake *FakeRuncBinary) StateCommandArgsForCall(i int) (string, string)
func (*FakeRuncBinary) StateCommandCallCount ¶
func (fake *FakeRuncBinary) StateCommandCallCount() int
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(id string, logFile string) *exec.Cmd
func (*FakeRuncBinary) StatsCommandArgsForCall ¶
func (fake *FakeRuncBinary) StatsCommandArgsForCall(i int) (string, string)
func (*FakeRuncBinary) StatsCommandCallCount ¶
func (fake *FakeRuncBinary) StatsCommandCallCount() int
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(log lager.Logger, cmd 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(log lager.Logger, cmd 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) RunAndLogReturns ¶
func (fake *FakeRuncCmdRunner) RunAndLogReturns(result1 error)
func (*FakeRuncCmdRunner) RunAndLogReturnsOnCall ¶
func (fake *FakeRuncCmdRunner) RunAndLogReturnsOnCall(i int, result1 error)
type FakeRunner ¶
func (*FakeRunner) Invocations ¶
func (fake *FakeRunner) Invocations() map[string][][]interface{}
func (*FakeRunner) Run ¶
func (fake *FakeRunner) Run(log lager.Logger)
func (*FakeRunner) RunArgsForCall ¶
func (fake *FakeRunner) RunArgsForCall(i int) lager.Logger
func (*FakeRunner) RunCallCount ¶
func (fake *FakeRunner) RunCallCount() int
type FakeStatsNotifier ¶
type FakeStatsNotifier struct { OnStatStub func(handle string, cpuStat garden.ContainerCPUStat, memoryStat garden.ContainerMemoryStat) // contains filtered or unexported fields }
func (*FakeStatsNotifier) Invocations ¶
func (fake *FakeStatsNotifier) Invocations() map[string][][]interface{}
func (*FakeStatsNotifier) OnStat ¶
func (fake *FakeStatsNotifier) OnStat(handle string, cpuStat garden.ContainerCPUStat, memoryStat garden.ContainerMemoryStat)
func (*FakeStatsNotifier) OnStatArgsForCall ¶
func (fake *FakeStatsNotifier) OnStatArgsForCall(i int) (string, garden.ContainerCPUStat, garden.ContainerMemoryStat)
func (*FakeStatsNotifier) OnStatCallCount ¶
func (fake *FakeStatsNotifier) OnStatCallCount() int
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) 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 FakeUserLookupper ¶
type FakeUserLookupper struct { LookupStub func(rootFsPath string, user string) (*runrunc.ExecUser, error) // contains filtered or unexported fields }
func (*FakeUserLookupper) Invocations ¶
func (fake *FakeUserLookupper) Invocations() map[string][][]interface{}
func (*FakeUserLookupper) LookupArgsForCall ¶
func (fake *FakeUserLookupper) LookupArgsForCall(i int) (string, string)
func (*FakeUserLookupper) LookupCallCount ¶
func (fake *FakeUserLookupper) LookupCallCount() int
func (*FakeUserLookupper) LookupReturns ¶
func (fake *FakeUserLookupper) LookupReturns(result1 *runrunc.ExecUser, result2 error)
func (*FakeUserLookupper) LookupReturnsOnCall ¶
func (fake *FakeUserLookupper) LookupReturnsOnCall(i int, result1 *runrunc.ExecUser, result2 error)
type FakeWaitWatcher ¶
type FakeWaitWatcher struct { OnExitStub func(log lager.Logger, process runrunc.Waiter, onExit runrunc.Runner) // contains filtered or unexported fields }
func (*FakeWaitWatcher) Invocations ¶
func (fake *FakeWaitWatcher) Invocations() map[string][][]interface{}
func (*FakeWaitWatcher) OnExitArgsForCall ¶
func (*FakeWaitWatcher) OnExitCallCount ¶
func (fake *FakeWaitWatcher) OnExitCallCount() int
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) WaitReturns ¶
func (fake *FakeWaiter) WaitReturns(result1 int, result2 error)
func (*FakeWaiter) WaitReturnsOnCall ¶
func (fake *FakeWaiter) WaitReturnsOnCall(i int, result1 int, result2 error)