Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeIO
- func (fake *FakeIO) Cancel()
- func (fake *FakeIO) CancelCallCount() int
- func (fake *FakeIO) CancelCalls(stub func())
- func (fake *FakeIO) Close() error
- func (fake *FakeIO) CloseCallCount() int
- func (fake *FakeIO) CloseCalls(stub func() error)
- func (fake *FakeIO) CloseReturns(result1 error)
- func (fake *FakeIO) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeIO) Config() cio.Config
- func (fake *FakeIO) ConfigCallCount() int
- func (fake *FakeIO) ConfigCalls(stub func() cio.Config)
- func (fake *FakeIO) ConfigReturns(result1 cio.Config)
- func (fake *FakeIO) ConfigReturnsOnCall(i int, result1 cio.Config)
- func (fake *FakeIO) Invocations() map[string][][]interface{}
- func (fake *FakeIO) Wait()
- func (fake *FakeIO) WaitCallCount() int
- func (fake *FakeIO) WaitCalls(stub func())
- type FakeProcess
- func (fake *FakeProcess) CloseIO(arg1 context.Context, arg2 ...containerd.IOCloserOpts) error
- func (fake *FakeProcess) CloseIOArgsForCall(i int) (context.Context, []containerd.IOCloserOpts)
- func (fake *FakeProcess) CloseIOCallCount() int
- func (fake *FakeProcess) CloseIOCalls(stub func(context.Context, ...containerd.IOCloserOpts) error)
- func (fake *FakeProcess) CloseIOReturns(result1 error)
- func (fake *FakeProcess) CloseIOReturnsOnCall(i int, result1 error)
- func (fake *FakeProcess) Delete(arg1 context.Context, arg2 ...containerd.ProcessDeleteOpts) (*containerd.ExitStatus, error)
- func (fake *FakeProcess) DeleteArgsForCall(i int) (context.Context, []containerd.ProcessDeleteOpts)
- func (fake *FakeProcess) DeleteCallCount() int
- func (fake *FakeProcess) DeleteCalls(...)
- func (fake *FakeProcess) DeleteReturns(result1 *containerd.ExitStatus, result2 error)
- func (fake *FakeProcess) DeleteReturnsOnCall(i int, result1 *containerd.ExitStatus, result2 error)
- func (fake *FakeProcess) ID() string
- func (fake *FakeProcess) IDCallCount() int
- func (fake *FakeProcess) IDCalls(stub func() string)
- func (fake *FakeProcess) IDReturns(result1 string)
- func (fake *FakeProcess) IDReturnsOnCall(i int, result1 string)
- func (fake *FakeProcess) IO() cio.IO
- func (fake *FakeProcess) IOCallCount() int
- func (fake *FakeProcess) IOCalls(stub func() cio.IO)
- func (fake *FakeProcess) IOReturns(result1 cio.IO)
- func (fake *FakeProcess) IOReturnsOnCall(i int, result1 cio.IO)
- func (fake *FakeProcess) Invocations() map[string][][]interface{}
- func (fake *FakeProcess) Kill(arg1 context.Context, arg2 syscall.Signal, arg3 ...containerd.KillOpts) error
- func (fake *FakeProcess) KillArgsForCall(i int) (context.Context, syscall.Signal, []containerd.KillOpts)
- func (fake *FakeProcess) KillCallCount() int
- func (fake *FakeProcess) KillCalls(stub func(context.Context, syscall.Signal, ...containerd.KillOpts) error)
- func (fake *FakeProcess) KillReturns(result1 error)
- func (fake *FakeProcess) KillReturnsOnCall(i int, result1 error)
- func (fake *FakeProcess) Pid() uint32
- func (fake *FakeProcess) PidCallCount() int
- func (fake *FakeProcess) PidCalls(stub func() uint32)
- func (fake *FakeProcess) PidReturns(result1 uint32)
- func (fake *FakeProcess) PidReturnsOnCall(i int, result1 uint32)
- func (fake *FakeProcess) Resize(arg1 context.Context, arg2 uint32, arg3 uint32) error
- func (fake *FakeProcess) ResizeArgsForCall(i int) (context.Context, uint32, uint32)
- func (fake *FakeProcess) ResizeCallCount() int
- func (fake *FakeProcess) ResizeCalls(stub func(context.Context, uint32, uint32) error)
- func (fake *FakeProcess) ResizeReturns(result1 error)
- func (fake *FakeProcess) ResizeReturnsOnCall(i int, result1 error)
- func (fake *FakeProcess) Start(arg1 context.Context) error
- func (fake *FakeProcess) StartArgsForCall(i int) context.Context
- func (fake *FakeProcess) StartCallCount() int
- func (fake *FakeProcess) StartCalls(stub func(context.Context) error)
- func (fake *FakeProcess) StartReturns(result1 error)
- func (fake *FakeProcess) StartReturnsOnCall(i int, result1 error)
- func (fake *FakeProcess) Status(arg1 context.Context) (containerd.Status, error)
- func (fake *FakeProcess) StatusArgsForCall(i int) context.Context
- func (fake *FakeProcess) StatusCallCount() int
- func (fake *FakeProcess) StatusCalls(stub func(context.Context) (containerd.Status, error))
- func (fake *FakeProcess) StatusReturns(result1 containerd.Status, result2 error)
- func (fake *FakeProcess) StatusReturnsOnCall(i int, result1 containerd.Status, result2 error)
- func (fake *FakeProcess) Wait(arg1 context.Context) (<-chan containerd.ExitStatus, error)
- func (fake *FakeProcess) WaitArgsForCall(i int) context.Context
- func (fake *FakeProcess) WaitCallCount() int
- func (fake *FakeProcess) WaitCalls(stub func(context.Context) (<-chan containerd.ExitStatus, error))
- func (fake *FakeProcess) WaitReturns(result1 <-chan containerd.ExitStatus, result2 error)
- func (fake *FakeProcess) WaitReturnsOnCall(i int, result1 <-chan containerd.ExitStatus, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeIO ¶
type FakeIO struct { CancelStub func() CloseStub func() error ConfigStub func() cio.Config WaitStub func() // contains filtered or unexported fields }
func (*FakeIO) CancelCallCount ¶
func (*FakeIO) CancelCalls ¶
func (fake *FakeIO) CancelCalls(stub func())
func (*FakeIO) CloseCallCount ¶
func (*FakeIO) CloseCalls ¶
func (*FakeIO) CloseReturns ¶
func (*FakeIO) CloseReturnsOnCall ¶
func (*FakeIO) ConfigCallCount ¶
func (*FakeIO) ConfigCalls ¶
func (*FakeIO) ConfigReturns ¶
func (*FakeIO) ConfigReturnsOnCall ¶
func (*FakeIO) Invocations ¶
func (*FakeIO) WaitCallCount ¶
type FakeProcess ¶
type FakeProcess struct { CloseIOStub func(context.Context, ...containerd.IOCloserOpts) error DeleteStub func(context.Context, ...containerd.ProcessDeleteOpts) (*containerd.ExitStatus, error) IDStub func() string IOStub func() cio.IO KillStub func(context.Context, syscall.Signal, ...containerd.KillOpts) error PidStub func() uint32 ResizeStub func(context.Context, uint32, uint32) error StartStub func(context.Context) error StatusStub func(context.Context) (containerd.Status, error) WaitStub func(context.Context) (<-chan containerd.ExitStatus, error) // contains filtered or unexported fields }
func (*FakeProcess) CloseIO ¶
func (fake *FakeProcess) CloseIO(arg1 context.Context, arg2 ...containerd.IOCloserOpts) error
func (*FakeProcess) CloseIOArgsForCall ¶
func (fake *FakeProcess) CloseIOArgsForCall(i int) (context.Context, []containerd.IOCloserOpts)
func (*FakeProcess) CloseIOCallCount ¶
func (fake *FakeProcess) CloseIOCallCount() int
func (*FakeProcess) CloseIOCalls ¶
func (fake *FakeProcess) CloseIOCalls(stub func(context.Context, ...containerd.IOCloserOpts) error)
func (*FakeProcess) CloseIOReturns ¶
func (fake *FakeProcess) CloseIOReturns(result1 error)
func (*FakeProcess) CloseIOReturnsOnCall ¶
func (fake *FakeProcess) CloseIOReturnsOnCall(i int, result1 error)
func (*FakeProcess) Delete ¶
func (fake *FakeProcess) Delete(arg1 context.Context, arg2 ...containerd.ProcessDeleteOpts) (*containerd.ExitStatus, error)
func (*FakeProcess) DeleteArgsForCall ¶
func (fake *FakeProcess) DeleteArgsForCall(i int) (context.Context, []containerd.ProcessDeleteOpts)
func (*FakeProcess) DeleteCallCount ¶
func (fake *FakeProcess) DeleteCallCount() int
func (*FakeProcess) DeleteCalls ¶
func (fake *FakeProcess) DeleteCalls(stub func(context.Context, ...containerd.ProcessDeleteOpts) (*containerd.ExitStatus, error))
func (*FakeProcess) DeleteReturns ¶
func (fake *FakeProcess) DeleteReturns(result1 *containerd.ExitStatus, result2 error)
func (*FakeProcess) DeleteReturnsOnCall ¶
func (fake *FakeProcess) DeleteReturnsOnCall(i int, result1 *containerd.ExitStatus, result2 error)
func (*FakeProcess) ID ¶
func (fake *FakeProcess) ID() string
func (*FakeProcess) IDCallCount ¶
func (fake *FakeProcess) IDCallCount() int
func (*FakeProcess) IDCalls ¶
func (fake *FakeProcess) IDCalls(stub func() string)
func (*FakeProcess) IDReturns ¶
func (fake *FakeProcess) IDReturns(result1 string)
func (*FakeProcess) IDReturnsOnCall ¶
func (fake *FakeProcess) IDReturnsOnCall(i int, result1 string)
func (*FakeProcess) IO ¶
func (fake *FakeProcess) IO() cio.IO
func (*FakeProcess) IOCallCount ¶
func (fake *FakeProcess) IOCallCount() int
func (*FakeProcess) IOCalls ¶
func (fake *FakeProcess) IOCalls(stub func() cio.IO)
func (*FakeProcess) IOReturns ¶
func (fake *FakeProcess) IOReturns(result1 cio.IO)
func (*FakeProcess) IOReturnsOnCall ¶
func (fake *FakeProcess) IOReturnsOnCall(i int, result1 cio.IO)
func (*FakeProcess) Invocations ¶
func (fake *FakeProcess) Invocations() map[string][][]interface{}
func (*FakeProcess) Kill ¶
func (fake *FakeProcess) Kill(arg1 context.Context, arg2 syscall.Signal, arg3 ...containerd.KillOpts) error
func (*FakeProcess) KillArgsForCall ¶
func (fake *FakeProcess) KillArgsForCall(i int) (context.Context, syscall.Signal, []containerd.KillOpts)
func (*FakeProcess) KillCallCount ¶
func (fake *FakeProcess) KillCallCount() int
func (*FakeProcess) KillCalls ¶
func (fake *FakeProcess) KillCalls(stub func(context.Context, syscall.Signal, ...containerd.KillOpts) error)
func (*FakeProcess) KillReturns ¶
func (fake *FakeProcess) KillReturns(result1 error)
func (*FakeProcess) KillReturnsOnCall ¶
func (fake *FakeProcess) KillReturnsOnCall(i int, result1 error)
func (*FakeProcess) Pid ¶
func (fake *FakeProcess) Pid() uint32
func (*FakeProcess) PidCallCount ¶
func (fake *FakeProcess) PidCallCount() int
func (*FakeProcess) PidCalls ¶
func (fake *FakeProcess) PidCalls(stub func() uint32)
func (*FakeProcess) PidReturns ¶
func (fake *FakeProcess) PidReturns(result1 uint32)
func (*FakeProcess) PidReturnsOnCall ¶
func (fake *FakeProcess) PidReturnsOnCall(i int, result1 uint32)
func (*FakeProcess) ResizeArgsForCall ¶
func (*FakeProcess) ResizeCallCount ¶
func (fake *FakeProcess) ResizeCallCount() int
func (*FakeProcess) ResizeCalls ¶
func (*FakeProcess) ResizeReturns ¶
func (fake *FakeProcess) ResizeReturns(result1 error)
func (*FakeProcess) ResizeReturnsOnCall ¶
func (fake *FakeProcess) ResizeReturnsOnCall(i int, result1 error)
func (*FakeProcess) StartArgsForCall ¶
func (fake *FakeProcess) StartArgsForCall(i int) context.Context
func (*FakeProcess) StartCallCount ¶
func (fake *FakeProcess) StartCallCount() int
func (*FakeProcess) StartCalls ¶
func (fake *FakeProcess) StartCalls(stub func(context.Context) error)
func (*FakeProcess) StartReturns ¶
func (fake *FakeProcess) StartReturns(result1 error)
func (*FakeProcess) StartReturnsOnCall ¶
func (fake *FakeProcess) StartReturnsOnCall(i int, result1 error)
func (*FakeProcess) Status ¶
func (fake *FakeProcess) Status(arg1 context.Context) (containerd.Status, error)
func (*FakeProcess) StatusArgsForCall ¶
func (fake *FakeProcess) StatusArgsForCall(i int) context.Context
func (*FakeProcess) StatusCallCount ¶
func (fake *FakeProcess) StatusCallCount() int
func (*FakeProcess) StatusCalls ¶
func (fake *FakeProcess) StatusCalls(stub func(context.Context) (containerd.Status, error))
func (*FakeProcess) StatusReturns ¶
func (fake *FakeProcess) StatusReturns(result1 containerd.Status, result2 error)
func (*FakeProcess) StatusReturnsOnCall ¶
func (fake *FakeProcess) StatusReturnsOnCall(i int, result1 containerd.Status, result2 error)
func (*FakeProcess) Wait ¶
func (fake *FakeProcess) Wait(arg1 context.Context) (<-chan containerd.ExitStatus, error)
func (*FakeProcess) WaitArgsForCall ¶
func (fake *FakeProcess) WaitArgsForCall(i int) context.Context
func (*FakeProcess) WaitCallCount ¶
func (fake *FakeProcess) WaitCallCount() int
func (*FakeProcess) WaitCalls ¶
func (fake *FakeProcess) WaitCalls(stub func(context.Context) (<-chan containerd.ExitStatus, error))
func (*FakeProcess) WaitReturns ¶
func (fake *FakeProcess) WaitReturns(result1 <-chan containerd.ExitStatus, result2 error)
func (*FakeProcess) WaitReturnsOnCall ¶
func (fake *FakeProcess) WaitReturnsOnCall(i int, result1 <-chan containerd.ExitStatus, result2 error)
Click to show internal directories.
Click to hide internal directories.