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.
Index ¶
- type FakeClient
- func (fake *FakeClient) Containers(arg1 context.Context, arg2 ...string) ([]containerd.Container, error)
- func (fake *FakeClient) ContainersArgsForCall(i int) (context.Context, []string)
- func (fake *FakeClient) ContainersCallCount() int
- func (fake *FakeClient) ContainersCalls(stub func(context.Context, ...string) ([]containerd.Container, error))
- func (fake *FakeClient) ContainersReturns(result1 []containerd.Container, result2 error)
- func (fake *FakeClient) ContainersReturnsOnCall(i int, result1 []containerd.Container, result2 error)
- func (fake *FakeClient) Destroy(arg1 context.Context, arg2 string) error
- func (fake *FakeClient) DestroyArgsForCall(i int) (context.Context, string)
- func (fake *FakeClient) DestroyCallCount() int
- func (fake *FakeClient) DestroyCalls(stub func(context.Context, string) error)
- func (fake *FakeClient) DestroyReturns(result1 error)
- func (fake *FakeClient) DestroyReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) GetContainer(arg1 context.Context, arg2 string) (containerd.Container, error)
- func (fake *FakeClient) GetContainerArgsForCall(i int) (context.Context, string)
- func (fake *FakeClient) GetContainerCallCount() int
- func (fake *FakeClient) GetContainerCalls(stub func(context.Context, string) (containerd.Container, error))
- func (fake *FakeClient) GetContainerReturns(result1 containerd.Container, result2 error)
- func (fake *FakeClient) GetContainerReturnsOnCall(i int, result1 containerd.Container, result2 error)
- func (fake *FakeClient) Init() error
- func (fake *FakeClient) InitCallCount() int
- func (fake *FakeClient) InitCalls(stub func() error)
- func (fake *FakeClient) InitReturns(result1 error)
- func (fake *FakeClient) InitReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) Invocations() map[string][][]interface{}
- func (fake *FakeClient) NewContainer(arg1 context.Context, arg2 string, arg3 map[string]string, arg4 *specs.Spec) (containerd.Container, error)
- func (fake *FakeClient) NewContainerArgsForCall(i int) (context.Context, string, map[string]string, *specs.Spec)
- func (fake *FakeClient) NewContainerCallCount() int
- func (fake *FakeClient) NewContainerCalls(...)
- func (fake *FakeClient) NewContainerReturns(result1 containerd.Container, result2 error)
- func (fake *FakeClient) NewContainerReturnsOnCall(i int, result1 containerd.Container, result2 error)
- func (fake *FakeClient) Stop() error
- func (fake *FakeClient) StopCallCount() int
- func (fake *FakeClient) StopCalls(stub func() error)
- func (fake *FakeClient) StopReturns(result1 error)
- func (fake *FakeClient) StopReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) Version(arg1 context.Context) error
- func (fake *FakeClient) VersionArgsForCall(i int) context.Context
- func (fake *FakeClient) VersionCallCount() int
- func (fake *FakeClient) VersionCalls(stub func(context.Context) error)
- func (fake *FakeClient) VersionReturns(result1 error)
- func (fake *FakeClient) VersionReturnsOnCall(i int, result1 error)
- type FakeContainer
- func (fake *FakeContainer) Checkpoint(arg1 context.Context, arg2 string, arg3 ...containerd.CheckpointOpts) (containerd.Image, error)
- func (fake *FakeContainer) CheckpointArgsForCall(i int) (context.Context, string, []containerd.CheckpointOpts)
- func (fake *FakeContainer) CheckpointCallCount() int
- func (fake *FakeContainer) CheckpointCalls(...)
- func (fake *FakeContainer) CheckpointReturns(result1 containerd.Image, result2 error)
- func (fake *FakeContainer) CheckpointReturnsOnCall(i int, result1 containerd.Image, result2 error)
- func (fake *FakeContainer) Delete(arg1 context.Context, arg2 ...containerd.DeleteOpts) error
- func (fake *FakeContainer) DeleteArgsForCall(i int) (context.Context, []containerd.DeleteOpts)
- func (fake *FakeContainer) DeleteCallCount() int
- func (fake *FakeContainer) DeleteCalls(stub func(context.Context, ...containerd.DeleteOpts) error)
- func (fake *FakeContainer) DeleteReturns(result1 error)
- func (fake *FakeContainer) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeContainer) Extensions(arg1 context.Context) (map[string]types.Any, error)
- func (fake *FakeContainer) ExtensionsArgsForCall(i int) context.Context
- func (fake *FakeContainer) ExtensionsCallCount() int
- func (fake *FakeContainer) ExtensionsCalls(stub func(context.Context) (map[string]types.Any, error))
- func (fake *FakeContainer) ExtensionsReturns(result1 map[string]types.Any, result2 error)
- func (fake *FakeContainer) ExtensionsReturnsOnCall(i int, result1 map[string]types.Any, result2 error)
- func (fake *FakeContainer) ID() string
- func (fake *FakeContainer) IDCallCount() int
- func (fake *FakeContainer) IDCalls(stub func() string)
- func (fake *FakeContainer) IDReturns(result1 string)
- func (fake *FakeContainer) IDReturnsOnCall(i int, result1 string)
- func (fake *FakeContainer) Image(arg1 context.Context) (containerd.Image, error)
- func (fake *FakeContainer) ImageArgsForCall(i int) context.Context
- func (fake *FakeContainer) ImageCallCount() int
- func (fake *FakeContainer) ImageCalls(stub func(context.Context) (containerd.Image, error))
- func (fake *FakeContainer) ImageReturns(result1 containerd.Image, result2 error)
- func (fake *FakeContainer) ImageReturnsOnCall(i int, result1 containerd.Image, result2 error)
- func (fake *FakeContainer) Info(arg1 context.Context, arg2 ...containerd.InfoOpts) (containers.Container, error)
- func (fake *FakeContainer) InfoArgsForCall(i int) (context.Context, []containerd.InfoOpts)
- func (fake *FakeContainer) InfoCallCount() int
- func (fake *FakeContainer) InfoCalls(...)
- func (fake *FakeContainer) InfoReturns(result1 containers.Container, result2 error)
- func (fake *FakeContainer) InfoReturnsOnCall(i int, result1 containers.Container, result2 error)
- func (fake *FakeContainer) Invocations() map[string][][]interface{}
- func (fake *FakeContainer) Labels(arg1 context.Context) (map[string]string, error)
- func (fake *FakeContainer) LabelsArgsForCall(i int) context.Context
- func (fake *FakeContainer) LabelsCallCount() int
- func (fake *FakeContainer) LabelsCalls(stub func(context.Context) (map[string]string, error))
- func (fake *FakeContainer) LabelsReturns(result1 map[string]string, result2 error)
- func (fake *FakeContainer) LabelsReturnsOnCall(i int, result1 map[string]string, result2 error)
- func (fake *FakeContainer) NewTask(arg1 context.Context, arg2 cio.Creator, arg3 ...containerd.NewTaskOpts) (containerd.Task, error)
- func (fake *FakeContainer) NewTaskArgsForCall(i int) (context.Context, cio.Creator, []containerd.NewTaskOpts)
- func (fake *FakeContainer) NewTaskCallCount() int
- func (fake *FakeContainer) NewTaskCalls(...)
- func (fake *FakeContainer) NewTaskReturns(result1 containerd.Task, result2 error)
- func (fake *FakeContainer) NewTaskReturnsOnCall(i int, result1 containerd.Task, result2 error)
- func (fake *FakeContainer) SetLabels(arg1 context.Context, arg2 map[string]string) (map[string]string, error)
- func (fake *FakeContainer) SetLabelsArgsForCall(i int) (context.Context, map[string]string)
- func (fake *FakeContainer) SetLabelsCallCount() int
- func (fake *FakeContainer) SetLabelsCalls(stub func(context.Context, map[string]string) (map[string]string, error))
- func (fake *FakeContainer) SetLabelsReturns(result1 map[string]string, result2 error)
- func (fake *FakeContainer) SetLabelsReturnsOnCall(i int, result1 map[string]string, result2 error)
- func (fake *FakeContainer) Spec(arg1 context.Context) (*specs.Spec, error)
- func (fake *FakeContainer) SpecArgsForCall(i int) context.Context
- func (fake *FakeContainer) SpecCallCount() int
- func (fake *FakeContainer) SpecCalls(stub func(context.Context) (*specs.Spec, error))
- func (fake *FakeContainer) SpecReturns(result1 *specs.Spec, result2 error)
- func (fake *FakeContainer) SpecReturnsOnCall(i int, result1 *specs.Spec, result2 error)
- func (fake *FakeContainer) Task(arg1 context.Context, arg2 cio.Attach) (containerd.Task, error)
- func (fake *FakeContainer) TaskArgsForCall(i int) (context.Context, cio.Attach)
- func (fake *FakeContainer) TaskCallCount() int
- func (fake *FakeContainer) TaskCalls(stub func(context.Context, cio.Attach) (containerd.Task, error))
- func (fake *FakeContainer) TaskReturns(result1 containerd.Task, result2 error)
- func (fake *FakeContainer) TaskReturnsOnCall(i int, result1 containerd.Task, result2 error)
- func (fake *FakeContainer) Update(arg1 context.Context, arg2 ...containerd.UpdateContainerOpts) error
- func (fake *FakeContainer) UpdateArgsForCall(i int) (context.Context, []containerd.UpdateContainerOpts)
- func (fake *FakeContainer) UpdateCallCount() int
- func (fake *FakeContainer) UpdateCalls(stub func(context.Context, ...containerd.UpdateContainerOpts) error)
- func (fake *FakeContainer) UpdateReturns(result1 error)
- func (fake *FakeContainer) UpdateReturnsOnCall(i int, result1 error)
- 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)
- type FakeTask
- func (fake *FakeTask) Checkpoint(arg1 context.Context, arg2 ...containerd.CheckpointTaskOpts) (containerd.Image, error)
- func (fake *FakeTask) CheckpointArgsForCall(i int) (context.Context, []containerd.CheckpointTaskOpts)
- func (fake *FakeTask) CheckpointCallCount() int
- func (fake *FakeTask) CheckpointCalls(...)
- func (fake *FakeTask) CheckpointReturns(result1 containerd.Image, result2 error)
- func (fake *FakeTask) CheckpointReturnsOnCall(i int, result1 containerd.Image, result2 error)
- func (fake *FakeTask) CloseIO(arg1 context.Context, arg2 ...containerd.IOCloserOpts) error
- func (fake *FakeTask) CloseIOArgsForCall(i int) (context.Context, []containerd.IOCloserOpts)
- func (fake *FakeTask) CloseIOCallCount() int
- func (fake *FakeTask) CloseIOCalls(stub func(context.Context, ...containerd.IOCloserOpts) error)
- func (fake *FakeTask) CloseIOReturns(result1 error)
- func (fake *FakeTask) CloseIOReturnsOnCall(i int, result1 error)
- func (fake *FakeTask) Delete(arg1 context.Context, arg2 ...containerd.ProcessDeleteOpts) (*containerd.ExitStatus, error)
- func (fake *FakeTask) DeleteArgsForCall(i int) (context.Context, []containerd.ProcessDeleteOpts)
- func (fake *FakeTask) DeleteCallCount() int
- func (fake *FakeTask) DeleteCalls(...)
- func (fake *FakeTask) DeleteReturns(result1 *containerd.ExitStatus, result2 error)
- func (fake *FakeTask) DeleteReturnsOnCall(i int, result1 *containerd.ExitStatus, result2 error)
- func (fake *FakeTask) Exec(arg1 context.Context, arg2 string, arg3 *specs.Process, arg4 cio.Creator) (containerd.Process, error)
- func (fake *FakeTask) ExecArgsForCall(i int) (context.Context, string, *specs.Process, cio.Creator)
- func (fake *FakeTask) ExecCallCount() int
- func (fake *FakeTask) ExecCalls(...)
- func (fake *FakeTask) ExecReturns(result1 containerd.Process, result2 error)
- func (fake *FakeTask) ExecReturnsOnCall(i int, result1 containerd.Process, result2 error)
- func (fake *FakeTask) ID() string
- func (fake *FakeTask) IDCallCount() int
- func (fake *FakeTask) IDCalls(stub func() string)
- func (fake *FakeTask) IDReturns(result1 string)
- func (fake *FakeTask) IDReturnsOnCall(i int, result1 string)
- func (fake *FakeTask) IO() cio.IO
- func (fake *FakeTask) IOCallCount() int
- func (fake *FakeTask) IOCalls(stub func() cio.IO)
- func (fake *FakeTask) IOReturns(result1 cio.IO)
- func (fake *FakeTask) IOReturnsOnCall(i int, result1 cio.IO)
- func (fake *FakeTask) Invocations() map[string][][]interface{}
- func (fake *FakeTask) Kill(arg1 context.Context, arg2 syscall.Signal, arg3 ...containerd.KillOpts) error
- func (fake *FakeTask) KillArgsForCall(i int) (context.Context, syscall.Signal, []containerd.KillOpts)
- func (fake *FakeTask) KillCallCount() int
- func (fake *FakeTask) KillCalls(stub func(context.Context, syscall.Signal, ...containerd.KillOpts) error)
- func (fake *FakeTask) KillReturns(result1 error)
- func (fake *FakeTask) KillReturnsOnCall(i int, result1 error)
- func (fake *FakeTask) LoadProcess(arg1 context.Context, arg2 string, arg3 cio.Attach) (containerd.Process, error)
- func (fake *FakeTask) LoadProcessArgsForCall(i int) (context.Context, string, cio.Attach)
- func (fake *FakeTask) LoadProcessCallCount() int
- func (fake *FakeTask) LoadProcessCalls(stub func(context.Context, string, cio.Attach) (containerd.Process, error))
- func (fake *FakeTask) LoadProcessReturns(result1 containerd.Process, result2 error)
- func (fake *FakeTask) LoadProcessReturnsOnCall(i int, result1 containerd.Process, result2 error)
- func (fake *FakeTask) Metrics(arg1 context.Context) (*types.Metric, error)
- func (fake *FakeTask) MetricsArgsForCall(i int) context.Context
- func (fake *FakeTask) MetricsCallCount() int
- func (fake *FakeTask) MetricsCalls(stub func(context.Context) (*types.Metric, error))
- func (fake *FakeTask) MetricsReturns(result1 *types.Metric, result2 error)
- func (fake *FakeTask) MetricsReturnsOnCall(i int, result1 *types.Metric, result2 error)
- func (fake *FakeTask) Pause(arg1 context.Context) error
- func (fake *FakeTask) PauseArgsForCall(i int) context.Context
- func (fake *FakeTask) PauseCallCount() int
- func (fake *FakeTask) PauseCalls(stub func(context.Context) error)
- func (fake *FakeTask) PauseReturns(result1 error)
- func (fake *FakeTask) PauseReturnsOnCall(i int, result1 error)
- func (fake *FakeTask) Pid() uint32
- func (fake *FakeTask) PidCallCount() int
- func (fake *FakeTask) PidCalls(stub func() uint32)
- func (fake *FakeTask) PidReturns(result1 uint32)
- func (fake *FakeTask) PidReturnsOnCall(i int, result1 uint32)
- func (fake *FakeTask) Pids(arg1 context.Context) ([]containerd.ProcessInfo, error)
- func (fake *FakeTask) PidsArgsForCall(i int) context.Context
- func (fake *FakeTask) PidsCallCount() int
- func (fake *FakeTask) PidsCalls(stub func(context.Context) ([]containerd.ProcessInfo, error))
- func (fake *FakeTask) PidsReturns(result1 []containerd.ProcessInfo, result2 error)
- func (fake *FakeTask) PidsReturnsOnCall(i int, result1 []containerd.ProcessInfo, result2 error)
- func (fake *FakeTask) Resize(arg1 context.Context, arg2 uint32, arg3 uint32) error
- func (fake *FakeTask) ResizeArgsForCall(i int) (context.Context, uint32, uint32)
- func (fake *FakeTask) ResizeCallCount() int
- func (fake *FakeTask) ResizeCalls(stub func(context.Context, uint32, uint32) error)
- func (fake *FakeTask) ResizeReturns(result1 error)
- func (fake *FakeTask) ResizeReturnsOnCall(i int, result1 error)
- func (fake *FakeTask) Resume(arg1 context.Context) error
- func (fake *FakeTask) ResumeArgsForCall(i int) context.Context
- func (fake *FakeTask) ResumeCallCount() int
- func (fake *FakeTask) ResumeCalls(stub func(context.Context) error)
- func (fake *FakeTask) ResumeReturns(result1 error)
- func (fake *FakeTask) ResumeReturnsOnCall(i int, result1 error)
- func (fake *FakeTask) Start(arg1 context.Context) error
- func (fake *FakeTask) StartArgsForCall(i int) context.Context
- func (fake *FakeTask) StartCallCount() int
- func (fake *FakeTask) StartCalls(stub func(context.Context) error)
- func (fake *FakeTask) StartReturns(result1 error)
- func (fake *FakeTask) StartReturnsOnCall(i int, result1 error)
- func (fake *FakeTask) Status(arg1 context.Context) (containerd.Status, error)
- func (fake *FakeTask) StatusArgsForCall(i int) context.Context
- func (fake *FakeTask) StatusCallCount() int
- func (fake *FakeTask) StatusCalls(stub func(context.Context) (containerd.Status, error))
- func (fake *FakeTask) StatusReturns(result1 containerd.Status, result2 error)
- func (fake *FakeTask) StatusReturnsOnCall(i int, result1 containerd.Status, result2 error)
- func (fake *FakeTask) Update(arg1 context.Context, arg2 ...containerd.UpdateTaskOpts) error
- func (fake *FakeTask) UpdateArgsForCall(i int) (context.Context, []containerd.UpdateTaskOpts)
- func (fake *FakeTask) UpdateCallCount() int
- func (fake *FakeTask) UpdateCalls(stub func(context.Context, ...containerd.UpdateTaskOpts) error)
- func (fake *FakeTask) UpdateReturns(result1 error)
- func (fake *FakeTask) UpdateReturnsOnCall(i int, result1 error)
- func (fake *FakeTask) Wait(arg1 context.Context) (<-chan containerd.ExitStatus, error)
- func (fake *FakeTask) WaitArgsForCall(i int) context.Context
- func (fake *FakeTask) WaitCallCount() int
- func (fake *FakeTask) WaitCalls(stub func(context.Context) (<-chan containerd.ExitStatus, error))
- func (fake *FakeTask) WaitReturns(result1 <-chan containerd.ExitStatus, result2 error)
- func (fake *FakeTask) 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 FakeClient ¶
type FakeClient struct { ContainersStub func(context.Context, ...string) ([]containerd.Container, error) DestroyStub func(context.Context, string) error GetContainerStub func(context.Context, string) (containerd.Container, error) InitStub func() error NewContainerStub func(context.Context, string, map[string]string, *specs.Spec) (containerd.Container, error) StopStub func() error VersionStub func(context.Context) error // contains filtered or unexported fields }
func (*FakeClient) Containers ¶
func (fake *FakeClient) Containers(arg1 context.Context, arg2 ...string) ([]containerd.Container, error)
func (*FakeClient) ContainersArgsForCall ¶
func (fake *FakeClient) ContainersArgsForCall(i int) (context.Context, []string)
func (*FakeClient) ContainersCallCount ¶
func (fake *FakeClient) ContainersCallCount() int
func (*FakeClient) ContainersCalls ¶
func (fake *FakeClient) ContainersCalls(stub func(context.Context, ...string) ([]containerd.Container, error))
func (*FakeClient) ContainersReturns ¶
func (fake *FakeClient) ContainersReturns(result1 []containerd.Container, result2 error)
func (*FakeClient) ContainersReturnsOnCall ¶
func (fake *FakeClient) ContainersReturnsOnCall(i int, result1 []containerd.Container, result2 error)
func (*FakeClient) Destroy ¶
func (fake *FakeClient) Destroy(arg1 context.Context, arg2 string) error
func (*FakeClient) DestroyArgsForCall ¶
func (fake *FakeClient) DestroyArgsForCall(i int) (context.Context, string)
func (*FakeClient) DestroyCallCount ¶
func (fake *FakeClient) DestroyCallCount() int
func (*FakeClient) DestroyCalls ¶
func (fake *FakeClient) DestroyCalls(stub func(context.Context, string) error)
func (*FakeClient) DestroyReturns ¶
func (fake *FakeClient) DestroyReturns(result1 error)
func (*FakeClient) DestroyReturnsOnCall ¶
func (fake *FakeClient) DestroyReturnsOnCall(i int, result1 error)
func (*FakeClient) GetContainer ¶
func (fake *FakeClient) GetContainer(arg1 context.Context, arg2 string) (containerd.Container, error)
func (*FakeClient) GetContainerArgsForCall ¶
func (fake *FakeClient) GetContainerArgsForCall(i int) (context.Context, string)
func (*FakeClient) GetContainerCallCount ¶
func (fake *FakeClient) GetContainerCallCount() int
func (*FakeClient) GetContainerCalls ¶
func (fake *FakeClient) GetContainerCalls(stub func(context.Context, string) (containerd.Container, error))
func (*FakeClient) GetContainerReturns ¶
func (fake *FakeClient) GetContainerReturns(result1 containerd.Container, result2 error)
func (*FakeClient) GetContainerReturnsOnCall ¶
func (fake *FakeClient) GetContainerReturnsOnCall(i int, result1 containerd.Container, result2 error)
func (*FakeClient) Init ¶
func (fake *FakeClient) Init() error
func (*FakeClient) InitCallCount ¶
func (fake *FakeClient) InitCallCount() int
func (*FakeClient) InitCalls ¶
func (fake *FakeClient) InitCalls(stub func() error)
func (*FakeClient) InitReturns ¶
func (fake *FakeClient) InitReturns(result1 error)
func (*FakeClient) InitReturnsOnCall ¶
func (fake *FakeClient) InitReturnsOnCall(i int, result1 error)
func (*FakeClient) Invocations ¶
func (fake *FakeClient) Invocations() map[string][][]interface{}
func (*FakeClient) NewContainer ¶
func (*FakeClient) NewContainerArgsForCall ¶
func (*FakeClient) NewContainerCallCount ¶
func (fake *FakeClient) NewContainerCallCount() int
func (*FakeClient) NewContainerCalls ¶
func (*FakeClient) NewContainerReturns ¶
func (fake *FakeClient) NewContainerReturns(result1 containerd.Container, result2 error)
func (*FakeClient) NewContainerReturnsOnCall ¶
func (fake *FakeClient) NewContainerReturnsOnCall(i int, result1 containerd.Container, result2 error)
func (*FakeClient) Stop ¶
func (fake *FakeClient) Stop() error
func (*FakeClient) StopCallCount ¶
func (fake *FakeClient) StopCallCount() int
func (*FakeClient) StopCalls ¶
func (fake *FakeClient) StopCalls(stub func() error)
func (*FakeClient) StopReturns ¶
func (fake *FakeClient) StopReturns(result1 error)
func (*FakeClient) StopReturnsOnCall ¶
func (fake *FakeClient) StopReturnsOnCall(i int, result1 error)
func (*FakeClient) VersionArgsForCall ¶
func (fake *FakeClient) VersionArgsForCall(i int) context.Context
func (*FakeClient) VersionCallCount ¶
func (fake *FakeClient) VersionCallCount() int
func (*FakeClient) VersionCalls ¶
func (fake *FakeClient) VersionCalls(stub func(context.Context) error)
func (*FakeClient) VersionReturns ¶
func (fake *FakeClient) VersionReturns(result1 error)
func (*FakeClient) VersionReturnsOnCall ¶
func (fake *FakeClient) VersionReturnsOnCall(i int, result1 error)
type FakeContainer ¶
type FakeContainer struct { CheckpointStub func(context.Context, string, ...containerd.CheckpointOpts) (containerd.Image, error) DeleteStub func(context.Context, ...containerd.DeleteOpts) error ExtensionsStub func(context.Context) (map[string]types.Any, error) IDStub func() string ImageStub func(context.Context) (containerd.Image, error) InfoStub func(context.Context, ...containerd.InfoOpts) (containers.Container, error) LabelsStub func(context.Context) (map[string]string, error) NewTaskStub func(context.Context, cio.Creator, ...containerd.NewTaskOpts) (containerd.Task, error) SetLabelsStub func(context.Context, map[string]string) (map[string]string, error) SpecStub func(context.Context) (*specs.Spec, error) TaskStub func(context.Context, cio.Attach) (containerd.Task, error) UpdateStub func(context.Context, ...containerd.UpdateContainerOpts) error // contains filtered or unexported fields }
func (*FakeContainer) Checkpoint ¶
func (fake *FakeContainer) Checkpoint(arg1 context.Context, arg2 string, arg3 ...containerd.CheckpointOpts) (containerd.Image, error)
func (*FakeContainer) CheckpointArgsForCall ¶
func (fake *FakeContainer) CheckpointArgsForCall(i int) (context.Context, string, []containerd.CheckpointOpts)
func (*FakeContainer) CheckpointCallCount ¶
func (fake *FakeContainer) CheckpointCallCount() int
func (*FakeContainer) CheckpointCalls ¶
func (fake *FakeContainer) CheckpointCalls(stub func(context.Context, string, ...containerd.CheckpointOpts) (containerd.Image, error))
func (*FakeContainer) CheckpointReturns ¶
func (fake *FakeContainer) CheckpointReturns(result1 containerd.Image, result2 error)
func (*FakeContainer) CheckpointReturnsOnCall ¶
func (fake *FakeContainer) CheckpointReturnsOnCall(i int, result1 containerd.Image, result2 error)
func (*FakeContainer) Delete ¶
func (fake *FakeContainer) Delete(arg1 context.Context, arg2 ...containerd.DeleteOpts) error
func (*FakeContainer) DeleteArgsForCall ¶
func (fake *FakeContainer) DeleteArgsForCall(i int) (context.Context, []containerd.DeleteOpts)
func (*FakeContainer) DeleteCallCount ¶
func (fake *FakeContainer) DeleteCallCount() int
func (*FakeContainer) DeleteCalls ¶
func (fake *FakeContainer) DeleteCalls(stub func(context.Context, ...containerd.DeleteOpts) error)
func (*FakeContainer) DeleteReturns ¶
func (fake *FakeContainer) DeleteReturns(result1 error)
func (*FakeContainer) DeleteReturnsOnCall ¶
func (fake *FakeContainer) DeleteReturnsOnCall(i int, result1 error)
func (*FakeContainer) Extensions ¶
func (*FakeContainer) ExtensionsArgsForCall ¶
func (fake *FakeContainer) ExtensionsArgsForCall(i int) context.Context
func (*FakeContainer) ExtensionsCallCount ¶
func (fake *FakeContainer) ExtensionsCallCount() int
func (*FakeContainer) ExtensionsCalls ¶
func (*FakeContainer) ExtensionsReturns ¶
func (fake *FakeContainer) ExtensionsReturns(result1 map[string]types.Any, result2 error)
func (*FakeContainer) ExtensionsReturnsOnCall ¶
func (*FakeContainer) ID ¶
func (fake *FakeContainer) ID() string
func (*FakeContainer) IDCallCount ¶
func (fake *FakeContainer) IDCallCount() int
func (*FakeContainer) IDCalls ¶
func (fake *FakeContainer) IDCalls(stub func() string)
func (*FakeContainer) IDReturns ¶
func (fake *FakeContainer) IDReturns(result1 string)
func (*FakeContainer) IDReturnsOnCall ¶
func (fake *FakeContainer) IDReturnsOnCall(i int, result1 string)
func (*FakeContainer) Image ¶
func (fake *FakeContainer) Image(arg1 context.Context) (containerd.Image, error)
func (*FakeContainer) ImageArgsForCall ¶
func (fake *FakeContainer) ImageArgsForCall(i int) context.Context
func (*FakeContainer) ImageCallCount ¶
func (fake *FakeContainer) ImageCallCount() int
func (*FakeContainer) ImageCalls ¶
func (fake *FakeContainer) ImageCalls(stub func(context.Context) (containerd.Image, error))
func (*FakeContainer) ImageReturns ¶
func (fake *FakeContainer) ImageReturns(result1 containerd.Image, result2 error)
func (*FakeContainer) ImageReturnsOnCall ¶
func (fake *FakeContainer) ImageReturnsOnCall(i int, result1 containerd.Image, result2 error)
func (*FakeContainer) Info ¶
func (fake *FakeContainer) Info(arg1 context.Context, arg2 ...containerd.InfoOpts) (containers.Container, error)
func (*FakeContainer) InfoArgsForCall ¶
func (fake *FakeContainer) InfoArgsForCall(i int) (context.Context, []containerd.InfoOpts)
func (*FakeContainer) InfoCallCount ¶
func (fake *FakeContainer) InfoCallCount() int
func (*FakeContainer) InfoCalls ¶
func (fake *FakeContainer) InfoCalls(stub func(context.Context, ...containerd.InfoOpts) (containers.Container, error))
func (*FakeContainer) InfoReturns ¶
func (fake *FakeContainer) InfoReturns(result1 containers.Container, result2 error)
func (*FakeContainer) InfoReturnsOnCall ¶
func (fake *FakeContainer) InfoReturnsOnCall(i int, result1 containers.Container, result2 error)
func (*FakeContainer) Invocations ¶
func (fake *FakeContainer) Invocations() map[string][][]interface{}
func (*FakeContainer) LabelsArgsForCall ¶
func (fake *FakeContainer) LabelsArgsForCall(i int) context.Context
func (*FakeContainer) LabelsCallCount ¶
func (fake *FakeContainer) LabelsCallCount() int
func (*FakeContainer) LabelsCalls ¶
func (*FakeContainer) LabelsReturns ¶
func (fake *FakeContainer) LabelsReturns(result1 map[string]string, result2 error)
func (*FakeContainer) LabelsReturnsOnCall ¶
func (fake *FakeContainer) LabelsReturnsOnCall(i int, result1 map[string]string, result2 error)
func (*FakeContainer) NewTask ¶
func (fake *FakeContainer) NewTask(arg1 context.Context, arg2 cio.Creator, arg3 ...containerd.NewTaskOpts) (containerd.Task, error)
func (*FakeContainer) NewTaskArgsForCall ¶
func (fake *FakeContainer) NewTaskArgsForCall(i int) (context.Context, cio.Creator, []containerd.NewTaskOpts)
func (*FakeContainer) NewTaskCallCount ¶
func (fake *FakeContainer) NewTaskCallCount() int
func (*FakeContainer) NewTaskCalls ¶
func (fake *FakeContainer) NewTaskCalls(stub func(context.Context, cio.Creator, ...containerd.NewTaskOpts) (containerd.Task, error))
func (*FakeContainer) NewTaskReturns ¶
func (fake *FakeContainer) NewTaskReturns(result1 containerd.Task, result2 error)
func (*FakeContainer) NewTaskReturnsOnCall ¶
func (fake *FakeContainer) NewTaskReturnsOnCall(i int, result1 containerd.Task, result2 error)
func (*FakeContainer) SetLabelsArgsForCall ¶
func (*FakeContainer) SetLabelsCallCount ¶
func (fake *FakeContainer) SetLabelsCallCount() int
func (*FakeContainer) SetLabelsCalls ¶
func (*FakeContainer) SetLabelsReturns ¶
func (fake *FakeContainer) SetLabelsReturns(result1 map[string]string, result2 error)
func (*FakeContainer) SetLabelsReturnsOnCall ¶
func (fake *FakeContainer) SetLabelsReturnsOnCall(i int, result1 map[string]string, result2 error)
func (*FakeContainer) SpecArgsForCall ¶
func (fake *FakeContainer) SpecArgsForCall(i int) context.Context
func (*FakeContainer) SpecCallCount ¶
func (fake *FakeContainer) SpecCallCount() int
func (*FakeContainer) SpecReturns ¶
func (fake *FakeContainer) SpecReturns(result1 *specs.Spec, result2 error)
func (*FakeContainer) SpecReturnsOnCall ¶
func (fake *FakeContainer) SpecReturnsOnCall(i int, result1 *specs.Spec, result2 error)
func (*FakeContainer) Task ¶
func (fake *FakeContainer) Task(arg1 context.Context, arg2 cio.Attach) (containerd.Task, error)
func (*FakeContainer) TaskArgsForCall ¶
func (*FakeContainer) TaskCallCount ¶
func (fake *FakeContainer) TaskCallCount() int
func (*FakeContainer) TaskCalls ¶
func (fake *FakeContainer) TaskCalls(stub func(context.Context, cio.Attach) (containerd.Task, error))
func (*FakeContainer) TaskReturns ¶
func (fake *FakeContainer) TaskReturns(result1 containerd.Task, result2 error)
func (*FakeContainer) TaskReturnsOnCall ¶
func (fake *FakeContainer) TaskReturnsOnCall(i int, result1 containerd.Task, result2 error)
func (*FakeContainer) Update ¶
func (fake *FakeContainer) Update(arg1 context.Context, arg2 ...containerd.UpdateContainerOpts) error
func (*FakeContainer) UpdateArgsForCall ¶
func (fake *FakeContainer) UpdateArgsForCall(i int) (context.Context, []containerd.UpdateContainerOpts)
func (*FakeContainer) UpdateCallCount ¶
func (fake *FakeContainer) UpdateCallCount() int
func (*FakeContainer) UpdateCalls ¶
func (fake *FakeContainer) UpdateCalls(stub func(context.Context, ...containerd.UpdateContainerOpts) error)
func (*FakeContainer) UpdateReturns ¶
func (fake *FakeContainer) UpdateReturns(result1 error)
func (*FakeContainer) UpdateReturnsOnCall ¶
func (fake *FakeContainer) UpdateReturnsOnCall(i int, result1 error)
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)
type FakeTask ¶
type FakeTask struct { CheckpointStub func(context.Context, ...containerd.CheckpointTaskOpts) (containerd.Image, error) CloseIOStub func(context.Context, ...containerd.IOCloserOpts) error DeleteStub func(context.Context, ...containerd.ProcessDeleteOpts) (*containerd.ExitStatus, error) ExecStub func(context.Context, string, *specs.Process, cio.Creator) (containerd.Process, error) IDStub func() string IOStub func() cio.IO KillStub func(context.Context, syscall.Signal, ...containerd.KillOpts) error LoadProcessStub func(context.Context, string, cio.Attach) (containerd.Process, error) MetricsStub func(context.Context) (*types.Metric, error) PauseStub func(context.Context) error PidStub func() uint32 PidsStub func(context.Context) ([]containerd.ProcessInfo, error) ResizeStub func(context.Context, uint32, uint32) error ResumeStub func(context.Context) error StartStub func(context.Context) error StatusStub func(context.Context) (containerd.Status, error) UpdateStub func(context.Context, ...containerd.UpdateTaskOpts) error WaitStub func(context.Context) (<-chan containerd.ExitStatus, error) // contains filtered or unexported fields }
func (*FakeTask) Checkpoint ¶
func (fake *FakeTask) Checkpoint(arg1 context.Context, arg2 ...containerd.CheckpointTaskOpts) (containerd.Image, error)
func (*FakeTask) CheckpointArgsForCall ¶
func (fake *FakeTask) CheckpointArgsForCall(i int) (context.Context, []containerd.CheckpointTaskOpts)
func (*FakeTask) CheckpointCallCount ¶
func (*FakeTask) CheckpointCalls ¶
func (fake *FakeTask) CheckpointCalls(stub func(context.Context, ...containerd.CheckpointTaskOpts) (containerd.Image, error))
func (*FakeTask) CheckpointReturns ¶
func (fake *FakeTask) CheckpointReturns(result1 containerd.Image, result2 error)
func (*FakeTask) CheckpointReturnsOnCall ¶
func (fake *FakeTask) CheckpointReturnsOnCall(i int, result1 containerd.Image, result2 error)
func (*FakeTask) CloseIO ¶
func (fake *FakeTask) CloseIO(arg1 context.Context, arg2 ...containerd.IOCloserOpts) error
func (*FakeTask) CloseIOArgsForCall ¶
func (fake *FakeTask) CloseIOArgsForCall(i int) (context.Context, []containerd.IOCloserOpts)
func (*FakeTask) CloseIOCallCount ¶
func (*FakeTask) CloseIOCalls ¶
func (fake *FakeTask) CloseIOCalls(stub func(context.Context, ...containerd.IOCloserOpts) error)
func (*FakeTask) CloseIOReturns ¶
func (*FakeTask) CloseIOReturnsOnCall ¶
func (*FakeTask) Delete ¶
func (fake *FakeTask) Delete(arg1 context.Context, arg2 ...containerd.ProcessDeleteOpts) (*containerd.ExitStatus, error)
func (*FakeTask) DeleteArgsForCall ¶
func (fake *FakeTask) DeleteArgsForCall(i int) (context.Context, []containerd.ProcessDeleteOpts)
func (*FakeTask) DeleteCallCount ¶
func (*FakeTask) DeleteCalls ¶
func (fake *FakeTask) DeleteCalls(stub func(context.Context, ...containerd.ProcessDeleteOpts) (*containerd.ExitStatus, error))
func (*FakeTask) DeleteReturns ¶
func (fake *FakeTask) DeleteReturns(result1 *containerd.ExitStatus, result2 error)
func (*FakeTask) DeleteReturnsOnCall ¶
func (fake *FakeTask) DeleteReturnsOnCall(i int, result1 *containerd.ExitStatus, result2 error)
func (*FakeTask) ExecArgsForCall ¶
func (*FakeTask) ExecCallCount ¶
func (*FakeTask) ExecReturns ¶
func (fake *FakeTask) ExecReturns(result1 containerd.Process, result2 error)
func (*FakeTask) ExecReturnsOnCall ¶
func (fake *FakeTask) ExecReturnsOnCall(i int, result1 containerd.Process, result2 error)
func (*FakeTask) IDCallCount ¶
func (*FakeTask) IDReturnsOnCall ¶
func (*FakeTask) IOCallCount ¶
func (*FakeTask) Invocations ¶
func (*FakeTask) KillArgsForCall ¶
func (*FakeTask) KillCallCount ¶
func (*FakeTask) KillReturns ¶
func (*FakeTask) KillReturnsOnCall ¶
func (*FakeTask) LoadProcess ¶
func (*FakeTask) LoadProcessArgsForCall ¶
func (*FakeTask) LoadProcessCallCount ¶
func (*FakeTask) LoadProcessCalls ¶
func (*FakeTask) LoadProcessReturns ¶
func (fake *FakeTask) LoadProcessReturns(result1 containerd.Process, result2 error)
func (*FakeTask) LoadProcessReturnsOnCall ¶
func (fake *FakeTask) LoadProcessReturnsOnCall(i int, result1 containerd.Process, result2 error)
func (*FakeTask) MetricsArgsForCall ¶
func (*FakeTask) MetricsCallCount ¶
func (*FakeTask) MetricsCalls ¶
func (*FakeTask) MetricsReturns ¶
func (*FakeTask) MetricsReturnsOnCall ¶
func (*FakeTask) PauseCallCount ¶
func (*FakeTask) PauseReturns ¶
func (*FakeTask) PauseReturnsOnCall ¶
func (*FakeTask) PidCallCount ¶
func (*FakeTask) PidReturns ¶
func (*FakeTask) PidReturnsOnCall ¶
func (*FakeTask) Pids ¶
func (fake *FakeTask) Pids(arg1 context.Context) ([]containerd.ProcessInfo, error)
func (*FakeTask) PidsCallCount ¶
func (*FakeTask) PidsCalls ¶
func (fake *FakeTask) PidsCalls(stub func(context.Context) ([]containerd.ProcessInfo, error))
func (*FakeTask) PidsReturns ¶
func (fake *FakeTask) PidsReturns(result1 []containerd.ProcessInfo, result2 error)
func (*FakeTask) PidsReturnsOnCall ¶
func (fake *FakeTask) PidsReturnsOnCall(i int, result1 []containerd.ProcessInfo, result2 error)
func (*FakeTask) ResizeArgsForCall ¶
func (*FakeTask) ResizeCallCount ¶
func (*FakeTask) ResizeCalls ¶
func (*FakeTask) ResizeReturns ¶
func (*FakeTask) ResizeReturnsOnCall ¶
func (*FakeTask) ResumeCallCount ¶
func (*FakeTask) ResumeReturns ¶
func (*FakeTask) ResumeReturnsOnCall ¶
func (*FakeTask) StartCallCount ¶
func (*FakeTask) StartReturns ¶
func (*FakeTask) StartReturnsOnCall ¶
func (*FakeTask) StatusCallCount ¶
func (*FakeTask) StatusCalls ¶
func (*FakeTask) StatusReturns ¶
func (fake *FakeTask) StatusReturns(result1 containerd.Status, result2 error)
func (*FakeTask) StatusReturnsOnCall ¶
func (fake *FakeTask) StatusReturnsOnCall(i int, result1 containerd.Status, result2 error)
func (*FakeTask) Update ¶
func (fake *FakeTask) Update(arg1 context.Context, arg2 ...containerd.UpdateTaskOpts) error
func (*FakeTask) UpdateArgsForCall ¶
func (fake *FakeTask) UpdateArgsForCall(i int) (context.Context, []containerd.UpdateTaskOpts)
func (*FakeTask) UpdateCallCount ¶
func (*FakeTask) UpdateCalls ¶
func (fake *FakeTask) UpdateCalls(stub func(context.Context, ...containerd.UpdateTaskOpts) error)
func (*FakeTask) UpdateReturns ¶
func (*FakeTask) UpdateReturnsOnCall ¶
func (*FakeTask) Wait ¶
func (fake *FakeTask) Wait(arg1 context.Context) (<-chan containerd.ExitStatus, error)
func (*FakeTask) WaitCallCount ¶
func (*FakeTask) WaitCalls ¶
func (fake *FakeTask) WaitCalls(stub func(context.Context) (<-chan containerd.ExitStatus, error))
func (*FakeTask) WaitReturns ¶
func (fake *FakeTask) WaitReturns(result1 <-chan containerd.ExitStatus, result2 error)
func (*FakeTask) WaitReturnsOnCall ¶
func (fake *FakeTask) WaitReturnsOnCall(i int, result1 <-chan containerd.ExitStatus, result2 error)
Click to show internal directories.
Click to hide internal directories.