Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type Container
- func (fake *Container) Close() error
- func (fake *Container) CloseCallCount() int
- func (fake *Container) CloseReturns(result1 error)
- func (fake *Container) CloseReturnsOnCall(i int, result1 error)
- func (fake *Container) CreateProcess(c *hcsshim.ProcessConfig) (hcsshim.Process, error)
- func (fake *Container) CreateProcessArgsForCall(i int) *hcsshim.ProcessConfig
- func (fake *Container) CreateProcessCallCount() int
- func (fake *Container) CreateProcessReturns(result1 hcsshim.Process, result2 error)
- func (fake *Container) CreateProcessReturnsOnCall(i int, result1 hcsshim.Process, result2 error)
- func (fake *Container) HasPendingUpdates() (bool, error)
- func (fake *Container) HasPendingUpdatesCallCount() int
- func (fake *Container) HasPendingUpdatesReturns(result1 bool, result2 error)
- func (fake *Container) HasPendingUpdatesReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *Container) Invocations() map[string][][]interface{}
- func (fake *Container) MappedVirtualDisks() (map[int]hcsshim.MappedVirtualDiskController, error)
- func (fake *Container) MappedVirtualDisksCallCount() int
- func (fake *Container) MappedVirtualDisksReturns(result1 map[int]hcsshim.MappedVirtualDiskController, result2 error)
- func (fake *Container) MappedVirtualDisksReturnsOnCall(i int, result1 map[int]hcsshim.MappedVirtualDiskController, result2 error)
- func (fake *Container) Modify(config *hcsshim.ResourceModificationRequestResponse) error
- func (fake *Container) ModifyArgsForCall(i int) *hcsshim.ResourceModificationRequestResponse
- func (fake *Container) ModifyCallCount() int
- func (fake *Container) ModifyReturns(result1 error)
- func (fake *Container) ModifyReturnsOnCall(i int, result1 error)
- func (fake *Container) OpenProcess(pid int) (hcsshim.Process, error)
- func (fake *Container) OpenProcessArgsForCall(i int) int
- func (fake *Container) OpenProcessCallCount() int
- func (fake *Container) OpenProcessReturns(result1 hcsshim.Process, result2 error)
- func (fake *Container) OpenProcessReturnsOnCall(i int, result1 hcsshim.Process, result2 error)
- func (fake *Container) Pause() error
- func (fake *Container) PauseCallCount() int
- func (fake *Container) PauseReturns(result1 error)
- func (fake *Container) PauseReturnsOnCall(i int, result1 error)
- func (fake *Container) ProcessList() ([]hcsshim.ProcessListItem, error)
- func (fake *Container) ProcessListCallCount() int
- func (fake *Container) ProcessListReturns(result1 []hcsshim.ProcessListItem, result2 error)
- func (fake *Container) ProcessListReturnsOnCall(i int, result1 []hcsshim.ProcessListItem, result2 error)
- func (fake *Container) Resume() error
- func (fake *Container) ResumeCallCount() int
- func (fake *Container) ResumeReturns(result1 error)
- func (fake *Container) ResumeReturnsOnCall(i int, result1 error)
- func (fake *Container) Shutdown() error
- func (fake *Container) ShutdownCallCount() int
- func (fake *Container) ShutdownReturns(result1 error)
- func (fake *Container) ShutdownReturnsOnCall(i int, result1 error)
- func (fake *Container) Start() error
- func (fake *Container) StartCallCount() int
- func (fake *Container) StartReturns(result1 error)
- func (fake *Container) StartReturnsOnCall(i int, result1 error)
- func (fake *Container) Statistics() (hcsshim.Statistics, error)
- func (fake *Container) StatisticsCallCount() int
- func (fake *Container) StatisticsReturns(result1 hcsshim.Statistics, result2 error)
- func (fake *Container) StatisticsReturnsOnCall(i int, result1 hcsshim.Statistics, result2 error)
- func (fake *Container) Terminate() error
- func (fake *Container) TerminateCallCount() int
- func (fake *Container) TerminateReturns(result1 error)
- func (fake *Container) TerminateReturnsOnCall(i int, result1 error)
- func (fake *Container) Wait() error
- func (fake *Container) WaitCallCount() int
- func (fake *Container) WaitReturns(result1 error)
- func (fake *Container) WaitReturnsOnCall(i int, result1 error)
- func (fake *Container) WaitTimeout(arg1 time.Duration) error
- func (fake *Container) WaitTimeoutArgsForCall(i int) time.Duration
- func (fake *Container) WaitTimeoutCallCount() int
- func (fake *Container) WaitTimeoutReturns(result1 error)
- func (fake *Container) WaitTimeoutReturnsOnCall(i int, result1 error)
- type Process
- func (fake *Process) Close() error
- func (fake *Process) CloseCallCount() int
- func (fake *Process) CloseReturns(result1 error)
- func (fake *Process) CloseReturnsOnCall(i int, result1 error)
- func (fake *Process) CloseStdin() error
- func (fake *Process) CloseStdinCallCount() int
- func (fake *Process) CloseStdinReturns(result1 error)
- func (fake *Process) CloseStdinReturnsOnCall(i int, result1 error)
- func (fake *Process) ExitCode() (int, error)
- func (fake *Process) ExitCodeCallCount() int
- func (fake *Process) ExitCodeReturns(result1 int, result2 error)
- func (fake *Process) ExitCodeReturnsOnCall(i int, result1 int, result2 error)
- func (fake *Process) Invocations() map[string][][]interface{}
- func (fake *Process) Kill() error
- func (fake *Process) KillCallCount() int
- func (fake *Process) KillReturns(result1 error)
- func (fake *Process) KillReturnsOnCall(i int, result1 error)
- func (fake *Process) Pid() int
- func (fake *Process) PidCallCount() int
- func (fake *Process) PidReturns(result1 int)
- func (fake *Process) PidReturnsOnCall(i int, result1 int)
- func (fake *Process) ResizeConsole(width uint16, height uint16) error
- func (fake *Process) ResizeConsoleArgsForCall(i int) (uint16, uint16)
- func (fake *Process) ResizeConsoleCallCount() int
- func (fake *Process) ResizeConsoleReturns(result1 error)
- func (fake *Process) ResizeConsoleReturnsOnCall(i int, result1 error)
- func (fake *Process) Stdio() (io.WriteCloser, io.ReadCloser, io.ReadCloser, error)
- func (fake *Process) StdioCallCount() int
- func (fake *Process) StdioReturns(result1 io.WriteCloser, result2 io.ReadCloser, result3 io.ReadCloser, ...)
- func (fake *Process) StdioReturnsOnCall(i int, result1 io.WriteCloser, result2 io.ReadCloser, result3 io.ReadCloser, ...)
- func (fake *Process) Wait() error
- func (fake *Process) WaitCallCount() int
- func (fake *Process) WaitReturns(result1 error)
- func (fake *Process) WaitReturnsOnCall(i int, result1 error)
- func (fake *Process) WaitTimeout(arg1 time.Duration) error
- func (fake *Process) WaitTimeoutArgsForCall(i int) time.Duration
- func (fake *Process) WaitTimeoutCallCount() int
- func (fake *Process) WaitTimeoutReturns(result1 error)
- func (fake *Process) WaitTimeoutReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { StartStub func() error ShutdownStub func() error TerminateStub func() error WaitStub func() error WaitTimeoutStub func(time.Duration) error PauseStub func() error ResumeStub func() error HasPendingUpdatesStub func() (bool, error) StatisticsStub func() (hcsshim.Statistics, error) ProcessListStub func() ([]hcsshim.ProcessListItem, error) MappedVirtualDisksStub func() (map[int]hcsshim.MappedVirtualDiskController, error) CreateProcessStub func(c *hcsshim.ProcessConfig) (hcsshim.Process, error) OpenProcessStub func(pid int) (hcsshim.Process, error) CloseStub func() error ModifyStub func(config *hcsshim.ResourceModificationRequestResponse) error // contains filtered or unexported fields }
func (*Container) CloseCallCount ¶
func (*Container) CloseReturns ¶
func (*Container) CloseReturnsOnCall ¶
func (*Container) CreateProcess ¶
func (*Container) CreateProcessArgsForCall ¶
func (fake *Container) CreateProcessArgsForCall(i int) *hcsshim.ProcessConfig
func (*Container) CreateProcessCallCount ¶
func (*Container) CreateProcessReturns ¶
func (*Container) CreateProcessReturnsOnCall ¶
func (*Container) HasPendingUpdates ¶
func (*Container) HasPendingUpdatesCallCount ¶
func (*Container) HasPendingUpdatesReturns ¶
func (*Container) HasPendingUpdatesReturnsOnCall ¶
func (*Container) Invocations ¶
func (*Container) MappedVirtualDisks ¶
func (fake *Container) MappedVirtualDisks() (map[int]hcsshim.MappedVirtualDiskController, error)
func (*Container) MappedVirtualDisksCallCount ¶
func (*Container) MappedVirtualDisksReturns ¶
func (fake *Container) MappedVirtualDisksReturns(result1 map[int]hcsshim.MappedVirtualDiskController, result2 error)
func (*Container) MappedVirtualDisksReturnsOnCall ¶
func (*Container) Modify ¶
func (fake *Container) Modify(config *hcsshim.ResourceModificationRequestResponse) error
func (*Container) ModifyArgsForCall ¶
func (fake *Container) ModifyArgsForCall(i int) *hcsshim.ResourceModificationRequestResponse
func (*Container) ModifyCallCount ¶
func (*Container) ModifyReturns ¶
func (*Container) ModifyReturnsOnCall ¶
func (*Container) OpenProcess ¶
func (*Container) OpenProcessArgsForCall ¶
func (*Container) OpenProcessCallCount ¶
func (*Container) OpenProcessReturns ¶
func (*Container) OpenProcessReturnsOnCall ¶
func (*Container) PauseCallCount ¶
func (*Container) PauseReturns ¶
func (*Container) PauseReturnsOnCall ¶
func (*Container) ProcessList ¶
func (fake *Container) ProcessList() ([]hcsshim.ProcessListItem, error)
func (*Container) ProcessListCallCount ¶
func (*Container) ProcessListReturns ¶
func (fake *Container) ProcessListReturns(result1 []hcsshim.ProcessListItem, result2 error)
func (*Container) ProcessListReturnsOnCall ¶
func (fake *Container) ProcessListReturnsOnCall(i int, result1 []hcsshim.ProcessListItem, result2 error)
func (*Container) ResumeCallCount ¶
func (*Container) ResumeReturns ¶
func (*Container) ResumeReturnsOnCall ¶
func (*Container) ShutdownCallCount ¶
func (*Container) ShutdownReturns ¶
func (*Container) ShutdownReturnsOnCall ¶
func (*Container) StartCallCount ¶
func (*Container) StartReturns ¶
func (*Container) StartReturnsOnCall ¶
func (*Container) Statistics ¶
func (fake *Container) Statistics() (hcsshim.Statistics, error)
func (*Container) StatisticsCallCount ¶
func (*Container) StatisticsReturns ¶
func (fake *Container) StatisticsReturns(result1 hcsshim.Statistics, result2 error)
func (*Container) StatisticsReturnsOnCall ¶
func (fake *Container) StatisticsReturnsOnCall(i int, result1 hcsshim.Statistics, result2 error)
func (*Container) TerminateCallCount ¶
func (*Container) TerminateReturns ¶
func (*Container) TerminateReturnsOnCall ¶
func (*Container) WaitCallCount ¶
func (*Container) WaitReturns ¶
func (*Container) WaitReturnsOnCall ¶
func (*Container) WaitTimeoutArgsForCall ¶
func (*Container) WaitTimeoutCallCount ¶
func (*Container) WaitTimeoutReturns ¶
func (*Container) WaitTimeoutReturnsOnCall ¶
type Process ¶
type Process struct { PidStub func() int KillStub func() error WaitStub func() error WaitTimeoutStub func(time.Duration) error ExitCodeStub func() (int, error) ResizeConsoleStub func(width, height uint16) error StdioStub func() (io.WriteCloser, io.ReadCloser, io.ReadCloser, error) CloseStdinStub func() error CloseStub func() error // contains filtered or unexported fields }
func (*Process) CloseCallCount ¶
func (*Process) CloseReturns ¶
func (*Process) CloseReturnsOnCall ¶
func (*Process) CloseStdin ¶
func (*Process) CloseStdinCallCount ¶
func (*Process) CloseStdinReturns ¶
func (*Process) CloseStdinReturnsOnCall ¶
func (*Process) ExitCodeCallCount ¶
func (*Process) ExitCodeReturns ¶
func (*Process) ExitCodeReturnsOnCall ¶
func (*Process) Invocations ¶
func (*Process) KillCallCount ¶
func (*Process) KillReturns ¶
func (*Process) KillReturnsOnCall ¶
func (*Process) PidCallCount ¶
func (*Process) PidReturns ¶
func (*Process) PidReturnsOnCall ¶
func (*Process) ResizeConsole ¶
func (*Process) ResizeConsoleArgsForCall ¶
func (*Process) ResizeConsoleCallCount ¶
func (*Process) ResizeConsoleReturns ¶
func (*Process) ResizeConsoleReturnsOnCall ¶
func (*Process) Stdio ¶
func (fake *Process) Stdio() (io.WriteCloser, io.ReadCloser, io.ReadCloser, error)
func (*Process) StdioCallCount ¶
func (*Process) StdioReturns ¶
func (fake *Process) StdioReturns(result1 io.WriteCloser, result2 io.ReadCloser, result3 io.ReadCloser, result4 error)
func (*Process) StdioReturnsOnCall ¶
func (fake *Process) StdioReturnsOnCall(i int, result1 io.WriteCloser, result2 io.ReadCloser, result3 io.ReadCloser, result4 error)
func (*Process) WaitCallCount ¶
func (*Process) WaitReturns ¶
func (*Process) WaitReturnsOnCall ¶
func (*Process) WaitTimeoutArgsForCall ¶
func (*Process) WaitTimeoutCallCount ¶
func (*Process) WaitTimeoutReturns ¶
func (*Process) WaitTimeoutReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.