Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks 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]types.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_go.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 MockIO
- type MockIOMockRecorder
- type MockImage
- func (m *MockImage) Config(arg0 context.Context) (v1.Descriptor, error)
- func (m *MockImage) ContentStore() content.Store
- func (m *MockImage) EXPECT() *MockImageMockRecorder
- func (m *MockImage) IsUnpacked(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockImage) Labels() map[string]string
- func (m *MockImage) Metadata() images.Image
- func (m *MockImage) Name() string
- func (m *MockImage) Platform() platforms.MatchComparer
- func (m *MockImage) RootFS(arg0 context.Context) ([]digest.Digest, error)
- func (m *MockImage) Size(arg0 context.Context) (int64, error)
- func (m *MockImage) Target() v1.Descriptor
- func (m *MockImage) Unpack(arg0 context.Context, arg1 string, arg2 ...containerd.UnpackOpt) error
- func (m *MockImage) Usage(arg0 context.Context, arg1 ...containerd.UsageOpt) (int64, error)
- type MockImageMockRecorder
- func (mr *MockImageMockRecorder) Config(arg0 interface{}) *gomock.Call
- func (mr *MockImageMockRecorder) ContentStore() *gomock.Call
- func (mr *MockImageMockRecorder) IsUnpacked(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageMockRecorder) Labels() *gomock.Call
- func (mr *MockImageMockRecorder) Metadata() *gomock.Call
- func (mr *MockImageMockRecorder) Name() *gomock.Call
- func (mr *MockImageMockRecorder) Platform() *gomock.Call
- func (mr *MockImageMockRecorder) RootFS(arg0 interface{}) *gomock.Call
- func (mr *MockImageMockRecorder) Size(arg0 interface{}) *gomock.Call
- func (mr *MockImageMockRecorder) Target() *gomock.Call
- func (mr *MockImageMockRecorder) Unpack(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockImageMockRecorder) Usage(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- type MockImageStore
- func (m *MockImageStore) Create(arg0 context.Context, arg1 images.Image) (images.Image, error)
- func (m *MockImageStore) Delete(arg0 context.Context, arg1 string, arg2 ...images.DeleteOpt) error
- func (m *MockImageStore) EXPECT() *MockImageStoreMockRecorder
- func (m *MockImageStore) Get(arg0 context.Context, arg1 string) (images.Image, error)
- func (m *MockImageStore) List(arg0 context.Context, arg1 ...string) ([]images.Image, error)
- func (m *MockImageStore) Update(arg0 context.Context, arg1 images.Image, arg2 ...string) (images.Image, error)
- type MockImageStoreMockRecorder
- func (mr *MockImageStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageStoreMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockImageStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageStoreMockRecorder) List(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockImageStoreMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockResolver
- func (m *MockResolver) EXPECT() *MockResolverMockRecorder
- func (m *MockResolver) Fetcher(arg0 context.Context, arg1 string) (remotes.Fetcher, error)
- func (m *MockResolver) Pusher(arg0 context.Context, arg1 string) (remotes.Pusher, error)
- func (m *MockResolver) Resolve(arg0 context.Context, arg1 string) (string, v1.Descriptor, error)
- type MockResolverMockRecorder
- type MockSnapshotter
- func (m *MockSnapshotter) Close() error
- func (m *MockSnapshotter) Commit(arg0 context.Context, arg1, arg2 string, arg3 ...snapshots.Opt) error
- func (m *MockSnapshotter) EXPECT() *MockSnapshotterMockRecorder
- func (m *MockSnapshotter) Mounts(arg0 context.Context, arg1 string) ([]mount.Mount, error)
- func (m *MockSnapshotter) Prepare(arg0 context.Context, arg1, arg2 string, arg3 ...snapshots.Opt) ([]mount.Mount, error)
- func (m *MockSnapshotter) Remove(arg0 context.Context, arg1 string) error
- func (m *MockSnapshotter) Stat(arg0 context.Context, arg1 string) (snapshots.Info, error)
- func (m *MockSnapshotter) Update(arg0 context.Context, arg1 snapshots.Info, arg2 ...string) (snapshots.Info, error)
- func (m *MockSnapshotter) Usage(arg0 context.Context, arg1 string) (snapshots.Usage, error)
- func (m *MockSnapshotter) View(arg0 context.Context, arg1, arg2 string, arg3 ...snapshots.Opt) ([]mount.Mount, error)
- func (m *MockSnapshotter) Walk(arg0 context.Context, arg1 snapshots.WalkFunc, arg2 ...string) error
- type MockSnapshotterMockRecorder
- func (mr *MockSnapshotterMockRecorder) Close() *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Commit(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Mounts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Prepare(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Stat(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Usage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) View(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Walk(arg0, arg1 interface{}, 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_go.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_go.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 MockIO ¶
type MockIO struct {
// contains filtered or unexported fields
}
MockIO is a mock of IO interface
func NewMockIO ¶
func NewMockIO(ctrl *gomock.Controller) *MockIO
NewMockIO creates a new mock instance
func (*MockIO) EXPECT ¶
func (m *MockIO) EXPECT() *MockIOMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockIOMockRecorder ¶
type MockIOMockRecorder struct {
// contains filtered or unexported fields
}
MockIOMockRecorder is the mock recorder for MockIO
func (*MockIOMockRecorder) Cancel ¶
func (mr *MockIOMockRecorder) Cancel() *gomock.Call
Cancel indicates an expected call of Cancel
func (*MockIOMockRecorder) Close ¶
func (mr *MockIOMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockIOMockRecorder) Config ¶
func (mr *MockIOMockRecorder) Config() *gomock.Call
Config indicates an expected call of Config
func (*MockIOMockRecorder) Wait ¶
func (mr *MockIOMockRecorder) Wait() *gomock.Call
Wait indicates an expected call of Wait
type MockImage ¶
type MockImage struct {
// contains filtered or unexported fields
}
MockImage is a mock of Image interface.
func NewMockImage ¶
func NewMockImage(ctrl *gomock.Controller) *MockImage
NewMockImage creates a new mock instance.
func (*MockImage) ContentStore ¶
ContentStore mocks base method.
func (*MockImage) EXPECT ¶
func (m *MockImage) EXPECT() *MockImageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockImage) IsUnpacked ¶
IsUnpacked mocks base method.
func (*MockImage) Platform ¶
func (m *MockImage) Platform() platforms.MatchComparer
Platform mocks base method.
type MockImageMockRecorder ¶
type MockImageMockRecorder struct {
// contains filtered or unexported fields
}
MockImageMockRecorder is the mock recorder for MockImage.
func (*MockImageMockRecorder) Config ¶
func (mr *MockImageMockRecorder) Config(arg0 interface{}) *gomock.Call
Config indicates an expected call of Config.
func (*MockImageMockRecorder) ContentStore ¶
func (mr *MockImageMockRecorder) ContentStore() *gomock.Call
ContentStore indicates an expected call of ContentStore.
func (*MockImageMockRecorder) IsUnpacked ¶
func (mr *MockImageMockRecorder) IsUnpacked(arg0, arg1 interface{}) *gomock.Call
IsUnpacked indicates an expected call of IsUnpacked.
func (*MockImageMockRecorder) Labels ¶
func (mr *MockImageMockRecorder) Labels() *gomock.Call
Labels indicates an expected call of Labels.
func (*MockImageMockRecorder) Metadata ¶
func (mr *MockImageMockRecorder) Metadata() *gomock.Call
Metadata indicates an expected call of Metadata.
func (*MockImageMockRecorder) Name ¶
func (mr *MockImageMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockImageMockRecorder) Platform ¶
func (mr *MockImageMockRecorder) Platform() *gomock.Call
Platform indicates an expected call of Platform.
func (*MockImageMockRecorder) RootFS ¶
func (mr *MockImageMockRecorder) RootFS(arg0 interface{}) *gomock.Call
RootFS indicates an expected call of RootFS.
func (*MockImageMockRecorder) Size ¶
func (mr *MockImageMockRecorder) Size(arg0 interface{}) *gomock.Call
Size indicates an expected call of Size.
func (*MockImageMockRecorder) Target ¶
func (mr *MockImageMockRecorder) Target() *gomock.Call
Target indicates an expected call of Target.
func (*MockImageMockRecorder) Unpack ¶
func (mr *MockImageMockRecorder) Unpack(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Unpack indicates an expected call of Unpack.
func (*MockImageMockRecorder) Usage ¶
func (mr *MockImageMockRecorder) Usage(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Usage indicates an expected call of Usage.
type MockImageStore ¶
type MockImageStore struct {
// contains filtered or unexported fields
}
MockImageStore is a mock of Store interface.
func NewMockImageStore ¶
func NewMockImageStore(ctrl *gomock.Controller) *MockImageStore
NewMockImageStore creates a new mock instance.
func (*MockImageStore) EXPECT ¶
func (m *MockImageStore) EXPECT() *MockImageStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockImageStoreMockRecorder ¶
type MockImageStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockImageStoreMockRecorder is the mock recorder for MockImageStore.
func (*MockImageStoreMockRecorder) Create ¶
func (mr *MockImageStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockImageStoreMockRecorder) Delete ¶
func (mr *MockImageStoreMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockImageStoreMockRecorder) Get ¶
func (mr *MockImageStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockImageStoreMockRecorder) List ¶
func (mr *MockImageStoreMockRecorder) List(arg0 interface{}, arg1 ...interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockImageStoreMockRecorder) Update ¶
func (mr *MockImageStoreMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockResolver ¶
type MockResolver struct {
// contains filtered or unexported fields
}
MockResolver is a mock of Resolver interface.
func NewMockResolver ¶
func NewMockResolver(ctrl *gomock.Controller) *MockResolver
NewMockResolver creates a new mock instance.
func (*MockResolver) EXPECT ¶
func (m *MockResolver) EXPECT() *MockResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockResolver) Resolve ¶
func (m *MockResolver) Resolve(arg0 context.Context, arg1 string) (string, v1.Descriptor, error)
Resolve mocks base method.
type MockResolverMockRecorder ¶
type MockResolverMockRecorder struct {
// contains filtered or unexported fields
}
MockResolverMockRecorder is the mock recorder for MockResolver.
func (*MockResolverMockRecorder) Fetcher ¶
func (mr *MockResolverMockRecorder) Fetcher(arg0, arg1 interface{}) *gomock.Call
Fetcher indicates an expected call of Fetcher.
func (*MockResolverMockRecorder) Pusher ¶
func (mr *MockResolverMockRecorder) Pusher(arg0, arg1 interface{}) *gomock.Call
Pusher indicates an expected call of Pusher.
func (*MockResolverMockRecorder) Resolve ¶
func (mr *MockResolverMockRecorder) Resolve(arg0, arg1 interface{}) *gomock.Call
Resolve indicates an expected call of Resolve.
type MockSnapshotter ¶
type MockSnapshotter struct {
// contains filtered or unexported fields
}
MockSnapshotter is a mock of Snapshotter interface.
func NewMockSnapshotter ¶
func NewMockSnapshotter(ctrl *gomock.Controller) *MockSnapshotter
NewMockSnapshotter creates a new mock instance.
func (*MockSnapshotter) Commit ¶
func (m *MockSnapshotter) Commit(arg0 context.Context, arg1, arg2 string, arg3 ...snapshots.Opt) error
Commit mocks base method.
func (*MockSnapshotter) EXPECT ¶
func (m *MockSnapshotter) EXPECT() *MockSnapshotterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSnapshotter) Prepare ¶
func (m *MockSnapshotter) Prepare(arg0 context.Context, arg1, arg2 string, arg3 ...snapshots.Opt) ([]mount.Mount, error)
Prepare mocks base method.
func (*MockSnapshotter) Remove ¶
func (m *MockSnapshotter) Remove(arg0 context.Context, arg1 string) error
Remove mocks base method.
func (*MockSnapshotter) Update ¶
func (m *MockSnapshotter) Update(arg0 context.Context, arg1 snapshots.Info, arg2 ...string) (snapshots.Info, error)
Update mocks base method.
type MockSnapshotterMockRecorder ¶
type MockSnapshotterMockRecorder struct {
// contains filtered or unexported fields
}
MockSnapshotterMockRecorder is the mock recorder for MockSnapshotter.
func (*MockSnapshotterMockRecorder) Close ¶
func (mr *MockSnapshotterMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockSnapshotterMockRecorder) Commit ¶
func (mr *MockSnapshotterMockRecorder) Commit(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Commit indicates an expected call of Commit.
func (*MockSnapshotterMockRecorder) Mounts ¶
func (mr *MockSnapshotterMockRecorder) Mounts(arg0, arg1 interface{}) *gomock.Call
Mounts indicates an expected call of Mounts.
func (*MockSnapshotterMockRecorder) Prepare ¶
func (mr *MockSnapshotterMockRecorder) Prepare(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Prepare indicates an expected call of Prepare.
func (*MockSnapshotterMockRecorder) Remove ¶
func (mr *MockSnapshotterMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
Remove indicates an expected call of Remove.
func (*MockSnapshotterMockRecorder) Stat ¶
func (mr *MockSnapshotterMockRecorder) Stat(arg0, arg1 interface{}) *gomock.Call
Stat indicates an expected call of Stat.
func (*MockSnapshotterMockRecorder) Update ¶
func (mr *MockSnapshotterMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockSnapshotterMockRecorder) Usage ¶
func (mr *MockSnapshotterMockRecorder) Usage(arg0, arg1 interface{}) *gomock.Call
Usage indicates an expected call of Usage.
func (*MockSnapshotterMockRecorder) View ¶
func (mr *MockSnapshotterMockRecorder) View(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
View indicates an expected call of View.
func (*MockSnapshotterMockRecorder) Walk ¶
func (mr *MockSnapshotterMockRecorder) Walk(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Walk indicates an expected call of Walk.
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_go.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.