Documentation
¶
Overview ¶
Package mocks_container is a generated GoMock package.
Package mocks_container is a generated GoMock package.
Package mocks_container is a generated GoMock package.
Package mocks_container is a generated GoMock package.
Package mocks_container is a generated GoMock package.
Index ¶
- type MockContainer
- func (m *MockContainer) Checkpoint(arg0 context.Context, arg1 string, arg2 ...containerd.CheckpointOpts) (containerd.Image, error)
- func (m *MockContainer) Delete(arg0 context.Context, arg1 ...containerd.DeleteOpts) error
- func (m *MockContainer) EXPECT() *MockContainerMockRecorder
- func (m *MockContainer) Extensions(arg0 context.Context) (map[string]typeurl.Any, error)
- func (m *MockContainer) ID() string
- func (m *MockContainer) Image(arg0 context.Context) (containerd.Image, error)
- func (m *MockContainer) Info(arg0 context.Context, arg1 ...containerd.InfoOpts) (containers.Container, error)
- func (m *MockContainer) Labels(arg0 context.Context) (map[string]string, error)
- func (m *MockContainer) NewTask(arg0 context.Context, arg1 cio.Creator, arg2 ...containerd.NewTaskOpts) (containerd.Task, error)
- func (m *MockContainer) SetLabels(arg0 context.Context, arg1 map[string]string) (map[string]string, error)
- func (m *MockContainer) Spec(arg0 context.Context) (*specs.Spec, error)
- func (m *MockContainer) Task(arg0 context.Context, arg1 cio.Attach) (containerd.Task, error)
- func (m *MockContainer) Update(arg0 context.Context, arg1 ...containerd.UpdateContainerOpts) error
- type MockContainerMockRecorder
- func (mr *MockContainerMockRecorder) Checkpoint(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockContainerMockRecorder) Delete(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContainerMockRecorder) Extensions(arg0 interface{}) *gomock.Call
- func (mr *MockContainerMockRecorder) ID() *gomock.Call
- func (mr *MockContainerMockRecorder) Image(arg0 interface{}) *gomock.Call
- func (mr *MockContainerMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContainerMockRecorder) Labels(arg0 interface{}) *gomock.Call
- func (mr *MockContainerMockRecorder) NewTask(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockContainerMockRecorder) SetLabels(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerMockRecorder) Spec(arg0 interface{}) *gomock.Call
- func (mr *MockContainerMockRecorder) Task(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerMockRecorder) Update(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- type MockNetworkOptionsManager
- func (m *MockNetworkOptionsManager) CleanupNetworking(arg0 context.Context, arg1 containerd.Container) error
- func (m *MockNetworkOptionsManager) ContainerNetworkingOpts(arg0 context.Context, arg1 string) ([]oci.SpecOpts, []containerd.NewContainerOpts, error)
- func (m *MockNetworkOptionsManager) EXPECT() *MockNetworkOptionsManagerMockRecorder
- func (m *MockNetworkOptionsManager) InternalNetworkingOptionLabels(arg0 context.Context) (types.NetworkOptions, error)
- func (m *MockNetworkOptionsManager) NetworkOptions() types.NetworkOptions
- func (m *MockNetworkOptionsManager) SetupNetworking(arg0 context.Context, arg1 string) error
- func (m *MockNetworkOptionsManager) VerifyNetworkOptions(arg0 context.Context) error
- type MockNetworkOptionsManagerMockRecorder
- func (mr *MockNetworkOptionsManagerMockRecorder) CleanupNetworking(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetworkOptionsManagerMockRecorder) ContainerNetworkingOpts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetworkOptionsManagerMockRecorder) InternalNetworkingOptionLabels(arg0 interface{}) *gomock.Call
- func (mr *MockNetworkOptionsManagerMockRecorder) NetworkOptions() *gomock.Call
- func (mr *MockNetworkOptionsManagerMockRecorder) SetupNetworking(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetworkOptionsManagerMockRecorder) VerifyNetworkOptions(arg0 interface{}) *gomock.Call
- type MockProcess
- func (m *MockProcess) CloseIO(arg0 context.Context, arg1 ...containerd.IOCloserOpts) error
- func (m *MockProcess) Delete(arg0 context.Context, arg1 ...containerd.ProcessDeleteOpts) (*containerd.ExitStatus, error)
- func (m *MockProcess) EXPECT() *MockProcessMockRecorder
- func (m *MockProcess) ID() string
- func (m *MockProcess) IO() cio.IO
- func (m *MockProcess) Kill(arg0 context.Context, arg1 syscall.Signal, arg2 ...containerd.KillOpts) error
- func (m *MockProcess) Pid() uint32
- func (m *MockProcess) Resize(arg0 context.Context, arg1, arg2 uint32) error
- func (m *MockProcess) Start(arg0 context.Context) error
- func (m *MockProcess) Status(arg0 context.Context) (containerd.Status, error)
- func (m *MockProcess) Wait(arg0 context.Context) (<-chan containerd.ExitStatus, error)
- type MockProcessMockRecorder
- func (mr *MockProcessMockRecorder) CloseIO(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockProcessMockRecorder) Delete(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockProcessMockRecorder) ID() *gomock.Call
- func (mr *MockProcessMockRecorder) IO() *gomock.Call
- func (mr *MockProcessMockRecorder) Kill(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockProcessMockRecorder) Pid() *gomock.Call
- func (mr *MockProcessMockRecorder) Resize(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProcessMockRecorder) Start(arg0 interface{}) *gomock.Call
- func (mr *MockProcessMockRecorder) Status(arg0 interface{}) *gomock.Call
- func (mr *MockProcessMockRecorder) Wait(arg0 interface{}) *gomock.Call
- type MockService
- func (m *MockService) Attach(arg0 context.Context, arg1 string, arg2 *types0.AttachOptions) error
- func (m *MockService) Create(arg0 context.Context, arg1 string, arg2 []string, ...) (string, error)
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) ExecCreate(arg0 context.Context, arg1 string, arg2 types0.ExecConfig) (string, error)
- func (m *MockService) ExtractArchiveInContainer(arg0 context.Context, arg1 *types0.PutArchiveOptions, arg2 io.ReadCloser) error
- func (m *MockService) GetPathToFilesInContainer(arg0 context.Context, arg1, arg2 string) (string, func(), error)
- func (m *MockService) Inspect(arg0 context.Context, arg1 string) (*types0.Container, error)
- func (m *MockService) List(arg0 context.Context, arg1 types.ContainerListOptions) ([]types0.ContainerListItem, error)
- func (m *MockService) Logs(arg0 context.Context, arg1 string, arg2 *types0.LogsOptions) error
- func (m *MockService) Remove(arg0 context.Context, arg1 string, arg2, arg3 bool) error
- func (m *MockService) Rename(arg0 context.Context, arg1, arg2 string, arg3 types.ContainerRenameOptions) error
- func (m *MockService) Restart(arg0 context.Context, arg1 string, arg2 time.Duration) error
- func (m *MockService) Start(arg0 context.Context, arg1 string) error
- func (m *MockService) Stats(arg0 context.Context, arg1 string) (<-chan *types0.StatsJSON, error)
- func (m *MockService) Stop(arg0 context.Context, arg1 string, arg2 *time.Duration) error
- func (m *MockService) Wait(arg0 context.Context, arg1, arg2 string) (int64, error)
- func (m *MockService) WriteFilesAsTarArchive(arg0 string, arg1 io.Writer, arg2 bool) error
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) Attach(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Create(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) ExecCreate(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) ExtractArchiveInContainer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetPathToFilesInContainer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Inspect(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Logs(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Remove(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Rename(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Restart(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Start(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Stats(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Stop(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Wait(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) WriteFilesAsTarArchive(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockTask
- func (m *MockTask) Checkpoint(arg0 context.Context, arg1 ...containerd.CheckpointTaskOpts) (containerd.Image, error)
- func (m *MockTask) CloseIO(arg0 context.Context, arg1 ...containerd.IOCloserOpts) error
- func (m *MockTask) Delete(arg0 context.Context, arg1 ...containerd.ProcessDeleteOpts) (*containerd.ExitStatus, error)
- func (m *MockTask) EXPECT() *MockTaskMockRecorder
- func (m *MockTask) Exec(arg0 context.Context, arg1 string, arg2 *specs.Process, arg3 cio.Creator) (containerd.Process, error)
- func (m *MockTask) ID() string
- func (m *MockTask) IO() cio.IO
- func (m *MockTask) Kill(arg0 context.Context, arg1 syscall.Signal, arg2 ...containerd.KillOpts) error
- func (m *MockTask) LoadProcess(arg0 context.Context, arg1 string, arg2 cio.Attach) (containerd.Process, error)
- func (m *MockTask) Metrics(arg0 context.Context) (*types.Metric, error)
- func (m *MockTask) Pause(arg0 context.Context) error
- func (m *MockTask) Pid() uint32
- func (m *MockTask) Pids(arg0 context.Context) ([]containerd.ProcessInfo, error)
- func (m *MockTask) Resize(arg0 context.Context, arg1, arg2 uint32) error
- func (m *MockTask) Resume(arg0 context.Context) error
- func (m *MockTask) Spec(arg0 context.Context) (*specs.Spec, error)
- func (m *MockTask) Start(arg0 context.Context) error
- func (m *MockTask) Status(arg0 context.Context) (containerd.Status, error)
- func (m *MockTask) Update(arg0 context.Context, arg1 ...containerd.UpdateTaskOpts) error
- func (m *MockTask) Wait(arg0 context.Context) (<-chan containerd.ExitStatus, error)
- type MockTaskMockRecorder
- func (mr *MockTaskMockRecorder) Checkpoint(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockTaskMockRecorder) CloseIO(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockTaskMockRecorder) Delete(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockTaskMockRecorder) Exec(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockTaskMockRecorder) ID() *gomock.Call
- func (mr *MockTaskMockRecorder) IO() *gomock.Call
- func (mr *MockTaskMockRecorder) Kill(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockTaskMockRecorder) LoadProcess(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTaskMockRecorder) Metrics(arg0 interface{}) *gomock.Call
- func (mr *MockTaskMockRecorder) Pause(arg0 interface{}) *gomock.Call
- func (mr *MockTaskMockRecorder) Pid() *gomock.Call
- func (mr *MockTaskMockRecorder) Pids(arg0 interface{}) *gomock.Call
- func (mr *MockTaskMockRecorder) Resize(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTaskMockRecorder) Resume(arg0 interface{}) *gomock.Call
- func (mr *MockTaskMockRecorder) Spec(arg0 interface{}) *gomock.Call
- func (mr *MockTaskMockRecorder) Start(arg0 interface{}) *gomock.Call
- func (mr *MockTaskMockRecorder) Status(arg0 interface{}) *gomock.Call
- func (mr *MockTaskMockRecorder) Update(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockTaskMockRecorder) Wait(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockContainer ¶
type MockContainer struct {
// contains filtered or unexported fields
}
MockContainer is a mock of Container interface.
func NewMockContainer ¶
func NewMockContainer(ctrl *gomock.Controller) *MockContainer
NewMockContainer creates a new mock instance.
func (*MockContainer) Checkpoint ¶
func (m *MockContainer) Checkpoint(arg0 context.Context, arg1 string, arg2 ...containerd.CheckpointOpts) (containerd.Image, error)
Checkpoint mocks base method.
func (*MockContainer) Delete ¶
func (m *MockContainer) Delete(arg0 context.Context, arg1 ...containerd.DeleteOpts) error
Delete mocks base method.
func (*MockContainer) EXPECT ¶
func (m *MockContainer) EXPECT() *MockContainerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContainer) Extensions ¶
Extensions mocks base method.
func (*MockContainer) Image ¶
func (m *MockContainer) Image(arg0 context.Context) (containerd.Image, error)
Image mocks base method.
func (*MockContainer) Info ¶
func (m *MockContainer) Info(arg0 context.Context, arg1 ...containerd.InfoOpts) (containers.Container, error)
Info mocks base method.
func (*MockContainer) NewTask ¶
func (m *MockContainer) NewTask(arg0 context.Context, arg1 cio.Creator, arg2 ...containerd.NewTaskOpts) (containerd.Task, error)
NewTask mocks base method.
func (*MockContainer) SetLabels ¶
func (m *MockContainer) SetLabels(arg0 context.Context, arg1 map[string]string) (map[string]string, error)
SetLabels mocks base method.
func (*MockContainer) Task ¶
func (m *MockContainer) Task(arg0 context.Context, arg1 cio.Attach) (containerd.Task, error)
Task mocks base method.
func (*MockContainer) Update ¶
func (m *MockContainer) Update(arg0 context.Context, arg1 ...containerd.UpdateContainerOpts) error
Update mocks base method.
type MockContainerMockRecorder ¶
type MockContainerMockRecorder struct {
// contains filtered or unexported fields
}
MockContainerMockRecorder is the mock recorder for MockContainer.
func (*MockContainerMockRecorder) Checkpoint ¶
func (mr *MockContainerMockRecorder) Checkpoint(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Checkpoint indicates an expected call of Checkpoint.
func (*MockContainerMockRecorder) Delete ¶
func (mr *MockContainerMockRecorder) Delete(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockContainerMockRecorder) Extensions ¶
func (mr *MockContainerMockRecorder) Extensions(arg0 interface{}) *gomock.Call
Extensions indicates an expected call of Extensions.
func (*MockContainerMockRecorder) ID ¶
func (mr *MockContainerMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
func (*MockContainerMockRecorder) Image ¶
func (mr *MockContainerMockRecorder) Image(arg0 interface{}) *gomock.Call
Image indicates an expected call of Image.
func (*MockContainerMockRecorder) Info ¶
func (mr *MockContainerMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Info indicates an expected call of Info.
func (*MockContainerMockRecorder) Labels ¶
func (mr *MockContainerMockRecorder) Labels(arg0 interface{}) *gomock.Call
Labels indicates an expected call of Labels.
func (*MockContainerMockRecorder) NewTask ¶
func (mr *MockContainerMockRecorder) NewTask(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
NewTask indicates an expected call of NewTask.
func (*MockContainerMockRecorder) SetLabels ¶
func (mr *MockContainerMockRecorder) SetLabels(arg0, arg1 interface{}) *gomock.Call
SetLabels indicates an expected call of SetLabels.
func (*MockContainerMockRecorder) Spec ¶
func (mr *MockContainerMockRecorder) Spec(arg0 interface{}) *gomock.Call
Spec indicates an expected call of Spec.
func (*MockContainerMockRecorder) Task ¶
func (mr *MockContainerMockRecorder) Task(arg0, arg1 interface{}) *gomock.Call
Task indicates an expected call of Task.
func (*MockContainerMockRecorder) Update ¶
func (mr *MockContainerMockRecorder) Update(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockNetworkOptionsManager ¶
type MockNetworkOptionsManager struct {
// contains filtered or unexported fields
}
MockNetworkOptionsManager is a mock of NetworkOptionsManager interface.
func NewMockNetworkOptionsManager ¶
func NewMockNetworkOptionsManager(ctrl *gomock.Controller) *MockNetworkOptionsManager
NewMockNetworkOptionsManager creates a new mock instance.
func (*MockNetworkOptionsManager) CleanupNetworking ¶
func (m *MockNetworkOptionsManager) CleanupNetworking(arg0 context.Context, arg1 containerd.Container) error
CleanupNetworking mocks base method.
func (*MockNetworkOptionsManager) ContainerNetworkingOpts ¶
func (m *MockNetworkOptionsManager) ContainerNetworkingOpts(arg0 context.Context, arg1 string) ([]oci.SpecOpts, []containerd.NewContainerOpts, error)
ContainerNetworkingOpts mocks base method.
func (*MockNetworkOptionsManager) EXPECT ¶
func (m *MockNetworkOptionsManager) EXPECT() *MockNetworkOptionsManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNetworkOptionsManager) InternalNetworkingOptionLabels ¶
func (m *MockNetworkOptionsManager) InternalNetworkingOptionLabels(arg0 context.Context) (types.NetworkOptions, error)
InternalNetworkingOptionLabels mocks base method.
func (*MockNetworkOptionsManager) NetworkOptions ¶
func (m *MockNetworkOptionsManager) NetworkOptions() types.NetworkOptions
NetworkOptions mocks base method.
func (*MockNetworkOptionsManager) SetupNetworking ¶
func (m *MockNetworkOptionsManager) SetupNetworking(arg0 context.Context, arg1 string) error
SetupNetworking mocks base method.
func (*MockNetworkOptionsManager) VerifyNetworkOptions ¶
func (m *MockNetworkOptionsManager) VerifyNetworkOptions(arg0 context.Context) error
VerifyNetworkOptions mocks base method.
type MockNetworkOptionsManagerMockRecorder ¶
type MockNetworkOptionsManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockNetworkOptionsManagerMockRecorder is the mock recorder for MockNetworkOptionsManager.
func (*MockNetworkOptionsManagerMockRecorder) CleanupNetworking ¶
func (mr *MockNetworkOptionsManagerMockRecorder) CleanupNetworking(arg0, arg1 interface{}) *gomock.Call
CleanupNetworking indicates an expected call of CleanupNetworking.
func (*MockNetworkOptionsManagerMockRecorder) ContainerNetworkingOpts ¶
func (mr *MockNetworkOptionsManagerMockRecorder) ContainerNetworkingOpts(arg0, arg1 interface{}) *gomock.Call
ContainerNetworkingOpts indicates an expected call of ContainerNetworkingOpts.
func (*MockNetworkOptionsManagerMockRecorder) InternalNetworkingOptionLabels ¶
func (mr *MockNetworkOptionsManagerMockRecorder) InternalNetworkingOptionLabels(arg0 interface{}) *gomock.Call
InternalNetworkingOptionLabels indicates an expected call of InternalNetworkingOptionLabels.
func (*MockNetworkOptionsManagerMockRecorder) NetworkOptions ¶
func (mr *MockNetworkOptionsManagerMockRecorder) NetworkOptions() *gomock.Call
NetworkOptions indicates an expected call of NetworkOptions.
func (*MockNetworkOptionsManagerMockRecorder) SetupNetworking ¶
func (mr *MockNetworkOptionsManagerMockRecorder) SetupNetworking(arg0, arg1 interface{}) *gomock.Call
SetupNetworking indicates an expected call of SetupNetworking.
func (*MockNetworkOptionsManagerMockRecorder) VerifyNetworkOptions ¶
func (mr *MockNetworkOptionsManagerMockRecorder) VerifyNetworkOptions(arg0 interface{}) *gomock.Call
VerifyNetworkOptions indicates an expected call of VerifyNetworkOptions.
type MockProcess ¶
type MockProcess struct {
// contains filtered or unexported fields
}
MockProcess is a mock of Process interface.
func NewMockProcess ¶
func NewMockProcess(ctrl *gomock.Controller) *MockProcess
NewMockProcess creates a new mock instance.
func (*MockProcess) CloseIO ¶
func (m *MockProcess) CloseIO(arg0 context.Context, arg1 ...containerd.IOCloserOpts) error
CloseIO mocks base method.
func (*MockProcess) Delete ¶
func (m *MockProcess) Delete(arg0 context.Context, arg1 ...containerd.ProcessDeleteOpts) (*containerd.ExitStatus, error)
Delete mocks base method.
func (*MockProcess) EXPECT ¶
func (m *MockProcess) EXPECT() *MockProcessMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProcess) Kill ¶
func (m *MockProcess) Kill(arg0 context.Context, arg1 syscall.Signal, arg2 ...containerd.KillOpts) error
Kill mocks base method.
func (*MockProcess) Resize ¶
func (m *MockProcess) Resize(arg0 context.Context, arg1, arg2 uint32) error
Resize mocks base method.
func (*MockProcess) Start ¶
func (m *MockProcess) Start(arg0 context.Context) error
Start mocks base method.
func (*MockProcess) Status ¶
func (m *MockProcess) Status(arg0 context.Context) (containerd.Status, error)
Status mocks base method.
func (*MockProcess) Wait ¶
func (m *MockProcess) Wait(arg0 context.Context) (<-chan containerd.ExitStatus, error)
Wait mocks base method.
type MockProcessMockRecorder ¶
type MockProcessMockRecorder struct {
// contains filtered or unexported fields
}
MockProcessMockRecorder is the mock recorder for MockProcess.
func (*MockProcessMockRecorder) CloseIO ¶
func (mr *MockProcessMockRecorder) CloseIO(arg0 interface{}, arg1 ...interface{}) *gomock.Call
CloseIO indicates an expected call of CloseIO.
func (*MockProcessMockRecorder) Delete ¶
func (mr *MockProcessMockRecorder) Delete(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockProcessMockRecorder) ID ¶
func (mr *MockProcessMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
func (*MockProcessMockRecorder) IO ¶
func (mr *MockProcessMockRecorder) IO() *gomock.Call
IO indicates an expected call of IO.
func (*MockProcessMockRecorder) Kill ¶
func (mr *MockProcessMockRecorder) Kill(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Kill indicates an expected call of Kill.
func (*MockProcessMockRecorder) Pid ¶
func (mr *MockProcessMockRecorder) Pid() *gomock.Call
Pid indicates an expected call of Pid.
func (*MockProcessMockRecorder) Resize ¶
func (mr *MockProcessMockRecorder) Resize(arg0, arg1, arg2 interface{}) *gomock.Call
Resize indicates an expected call of Resize.
func (*MockProcessMockRecorder) Start ¶
func (mr *MockProcessMockRecorder) Start(arg0 interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*MockProcessMockRecorder) Status ¶
func (mr *MockProcessMockRecorder) Status(arg0 interface{}) *gomock.Call
Status indicates an expected call of Status.
func (*MockProcessMockRecorder) Wait ¶
func (mr *MockProcessMockRecorder) Wait(arg0 interface{}) *gomock.Call
Wait indicates an expected call of Wait.
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) Attach ¶
func (m *MockService) Attach(arg0 context.Context, arg1 string, arg2 *types0.AttachOptions) error
Attach mocks base method.
func (*MockService) Create ¶
func (m *MockService) Create(arg0 context.Context, arg1 string, arg2 []string, arg3 types.ContainerCreateOptions, arg4 types.NetworkOptions) (string, error)
Create mocks base method.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) ExecCreate ¶
func (m *MockService) ExecCreate(arg0 context.Context, arg1 string, arg2 types0.ExecConfig) (string, error)
ExecCreate mocks base method.
func (*MockService) ExtractArchiveInContainer ¶
func (m *MockService) ExtractArchiveInContainer(arg0 context.Context, arg1 *types0.PutArchiveOptions, arg2 io.ReadCloser) error
ExtractArchiveInContainer mocks base method.
func (*MockService) GetPathToFilesInContainer ¶
func (m *MockService) GetPathToFilesInContainer(arg0 context.Context, arg1, arg2 string) (string, func(), error)
GetPathToFilesInContainer mocks base method.
func (*MockService) List ¶
func (m *MockService) List(arg0 context.Context, arg1 types.ContainerListOptions) ([]types0.ContainerListItem, error)
List mocks base method.
func (*MockService) Logs ¶
func (m *MockService) Logs(arg0 context.Context, arg1 string, arg2 *types0.LogsOptions) error
Logs mocks base method.
func (*MockService) Rename ¶
func (m *MockService) Rename(arg0 context.Context, arg1, arg2 string, arg3 types.ContainerRenameOptions) error
Rename mocks base method.
func (*MockService) Start ¶
func (m *MockService) Start(arg0 context.Context, arg1 string) error
Start mocks base method.
func (*MockService) WriteFilesAsTarArchive ¶
WriteFilesAsTarArchive mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) Attach ¶
func (mr *MockServiceMockRecorder) Attach(arg0, arg1, arg2 interface{}) *gomock.Call
Attach indicates an expected call of Attach.
func (*MockServiceMockRecorder) Create ¶
func (mr *MockServiceMockRecorder) Create(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockServiceMockRecorder) ExecCreate ¶
func (mr *MockServiceMockRecorder) ExecCreate(arg0, arg1, arg2 interface{}) *gomock.Call
ExecCreate indicates an expected call of ExecCreate.
func (*MockServiceMockRecorder) ExtractArchiveInContainer ¶
func (mr *MockServiceMockRecorder) ExtractArchiveInContainer(arg0, arg1, arg2 interface{}) *gomock.Call
ExtractArchiveInContainer indicates an expected call of ExtractArchiveInContainer.
func (*MockServiceMockRecorder) GetPathToFilesInContainer ¶
func (mr *MockServiceMockRecorder) GetPathToFilesInContainer(arg0, arg1, arg2 interface{}) *gomock.Call
GetPathToFilesInContainer indicates an expected call of GetPathToFilesInContainer.
func (*MockServiceMockRecorder) Inspect ¶
func (mr *MockServiceMockRecorder) Inspect(arg0, arg1 interface{}) *gomock.Call
Inspect indicates an expected call of Inspect.
func (*MockServiceMockRecorder) List ¶
func (mr *MockServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockServiceMockRecorder) Logs ¶
func (mr *MockServiceMockRecorder) Logs(arg0, arg1, arg2 interface{}) *gomock.Call
Logs indicates an expected call of Logs.
func (*MockServiceMockRecorder) Remove ¶
func (mr *MockServiceMockRecorder) Remove(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Remove indicates an expected call of Remove.
func (*MockServiceMockRecorder) Rename ¶
func (mr *MockServiceMockRecorder) Rename(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Rename indicates an expected call of Rename.
func (*MockServiceMockRecorder) Restart ¶
func (mr *MockServiceMockRecorder) Restart(arg0, arg1, arg2 interface{}) *gomock.Call
Restart indicates an expected call of Restart.
func (*MockServiceMockRecorder) Start ¶
func (mr *MockServiceMockRecorder) Start(arg0, arg1 interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*MockServiceMockRecorder) Stats ¶
func (mr *MockServiceMockRecorder) Stats(arg0, arg1 interface{}) *gomock.Call
Stats indicates an expected call of Stats.
func (*MockServiceMockRecorder) Stop ¶
func (mr *MockServiceMockRecorder) Stop(arg0, arg1, arg2 interface{}) *gomock.Call
Stop indicates an expected call of Stop.
func (*MockServiceMockRecorder) Wait ¶
func (mr *MockServiceMockRecorder) Wait(arg0, arg1, arg2 interface{}) *gomock.Call
Wait indicates an expected call of Wait.
func (*MockServiceMockRecorder) WriteFilesAsTarArchive ¶
func (mr *MockServiceMockRecorder) WriteFilesAsTarArchive(arg0, arg1, arg2 interface{}) *gomock.Call
WriteFilesAsTarArchive indicates an expected call of WriteFilesAsTarArchive.
type MockTask ¶
type MockTask struct {
// contains filtered or unexported fields
}
MockTask is a mock of Task interface.
func NewMockTask ¶
func NewMockTask(ctrl *gomock.Controller) *MockTask
NewMockTask creates a new mock instance.
func (*MockTask) Checkpoint ¶
func (m *MockTask) Checkpoint(arg0 context.Context, arg1 ...containerd.CheckpointTaskOpts) (containerd.Image, error)
Checkpoint mocks base method.
func (*MockTask) CloseIO ¶
func (m *MockTask) CloseIO(arg0 context.Context, arg1 ...containerd.IOCloserOpts) error
CloseIO mocks base method.
func (*MockTask) Delete ¶
func (m *MockTask) Delete(arg0 context.Context, arg1 ...containerd.ProcessDeleteOpts) (*containerd.ExitStatus, error)
Delete mocks base method.
func (*MockTask) EXPECT ¶
func (m *MockTask) EXPECT() *MockTaskMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTask) Exec ¶
func (m *MockTask) Exec(arg0 context.Context, arg1 string, arg2 *specs.Process, arg3 cio.Creator) (containerd.Process, error)
Exec mocks base method.
func (*MockTask) Kill ¶
func (m *MockTask) Kill(arg0 context.Context, arg1 syscall.Signal, arg2 ...containerd.KillOpts) error
Kill mocks base method.
func (*MockTask) LoadProcess ¶
func (m *MockTask) LoadProcess(arg0 context.Context, arg1 string, arg2 cio.Attach) (containerd.Process, error)
LoadProcess mocks base method.
func (*MockTask) Pids ¶
func (m *MockTask) Pids(arg0 context.Context) ([]containerd.ProcessInfo, error)
Pids mocks base method.
func (*MockTask) Update ¶
func (m *MockTask) Update(arg0 context.Context, arg1 ...containerd.UpdateTaskOpts) error
Update mocks base method.
func (*MockTask) Wait ¶
func (m *MockTask) Wait(arg0 context.Context) (<-chan containerd.ExitStatus, error)
Wait mocks base method.
type MockTaskMockRecorder ¶
type MockTaskMockRecorder struct {
// contains filtered or unexported fields
}
MockTaskMockRecorder is the mock recorder for MockTask.
func (*MockTaskMockRecorder) Checkpoint ¶
func (mr *MockTaskMockRecorder) Checkpoint(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Checkpoint indicates an expected call of Checkpoint.
func (*MockTaskMockRecorder) CloseIO ¶
func (mr *MockTaskMockRecorder) CloseIO(arg0 interface{}, arg1 ...interface{}) *gomock.Call
CloseIO indicates an expected call of CloseIO.
func (*MockTaskMockRecorder) Delete ¶
func (mr *MockTaskMockRecorder) Delete(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockTaskMockRecorder) Exec ¶
func (mr *MockTaskMockRecorder) Exec(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Exec indicates an expected call of Exec.
func (*MockTaskMockRecorder) ID ¶
func (mr *MockTaskMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
func (*MockTaskMockRecorder) IO ¶
func (mr *MockTaskMockRecorder) IO() *gomock.Call
IO indicates an expected call of IO.
func (*MockTaskMockRecorder) Kill ¶
func (mr *MockTaskMockRecorder) Kill(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Kill indicates an expected call of Kill.
func (*MockTaskMockRecorder) LoadProcess ¶
func (mr *MockTaskMockRecorder) LoadProcess(arg0, arg1, arg2 interface{}) *gomock.Call
LoadProcess indicates an expected call of LoadProcess.
func (*MockTaskMockRecorder) Metrics ¶
func (mr *MockTaskMockRecorder) Metrics(arg0 interface{}) *gomock.Call
Metrics indicates an expected call of Metrics.
func (*MockTaskMockRecorder) Pause ¶
func (mr *MockTaskMockRecorder) Pause(arg0 interface{}) *gomock.Call
Pause indicates an expected call of Pause.
func (*MockTaskMockRecorder) Pid ¶
func (mr *MockTaskMockRecorder) Pid() *gomock.Call
Pid indicates an expected call of Pid.
func (*MockTaskMockRecorder) Pids ¶
func (mr *MockTaskMockRecorder) Pids(arg0 interface{}) *gomock.Call
Pids indicates an expected call of Pids.
func (*MockTaskMockRecorder) Resize ¶
func (mr *MockTaskMockRecorder) Resize(arg0, arg1, arg2 interface{}) *gomock.Call
Resize indicates an expected call of Resize.
func (*MockTaskMockRecorder) Resume ¶
func (mr *MockTaskMockRecorder) Resume(arg0 interface{}) *gomock.Call
Resume indicates an expected call of Resume.
func (*MockTaskMockRecorder) Spec ¶
func (mr *MockTaskMockRecorder) Spec(arg0 interface{}) *gomock.Call
Spec indicates an expected call of Spec.
func (*MockTaskMockRecorder) Start ¶
func (mr *MockTaskMockRecorder) Start(arg0 interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*MockTaskMockRecorder) Status ¶
func (mr *MockTaskMockRecorder) Status(arg0 interface{}) *gomock.Call
Status indicates an expected call of Status.
func (*MockTaskMockRecorder) Update ¶
func (mr *MockTaskMockRecorder) Update(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockTaskMockRecorder) Wait ¶
func (mr *MockTaskMockRecorder) Wait(arg0 interface{}) *gomock.Call
Wait indicates an expected call of Wait.