Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockCleaner
- type MockCleanerMockRecorder
- type MockSnapshotter
- func (m *MockSnapshotter) Close() error
- func (m *MockSnapshotter) Commit(ctx context.Context, name, key string, opts ...snapshots.Opt) error
- func (m *MockSnapshotter) EXPECT() *MockSnapshotterMockRecorder
- func (m *MockSnapshotter) Mounts(ctx context.Context, key string) ([]mount.Mount, error)
- func (m *MockSnapshotter) Prepare(ctx context.Context, key, parent string, opts ...snapshots.Opt) ([]mount.Mount, error)
- func (m *MockSnapshotter) Remove(ctx context.Context, key string) error
- func (m *MockSnapshotter) Stat(ctx context.Context, key string) (snapshots.Info, error)
- func (m *MockSnapshotter) Update(ctx context.Context, info snapshots.Info, fieldpaths ...string) (snapshots.Info, error)
- func (m *MockSnapshotter) Usage(ctx context.Context, key string) (snapshots.Usage, error)
- func (m *MockSnapshotter) View(ctx context.Context, key, parent string, opts ...snapshots.Opt) ([]mount.Mount, error)
- func (m *MockSnapshotter) Walk(ctx context.Context, fn snapshots.WalkFunc, filters ...string) error
- type MockSnapshotterMockRecorder
- func (mr *MockSnapshotterMockRecorder) Close() *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Commit(ctx, name, key any, opts ...any) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Mounts(ctx, key any) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Prepare(ctx, key, parent any, opts ...any) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Remove(ctx, key any) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Stat(ctx, key any) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Update(ctx, info any, fieldpaths ...any) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Usage(ctx, key any) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) View(ctx, key, parent any, opts ...any) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Walk(ctx, fn any, filters ...any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCleaner ¶
type MockCleaner struct {
// contains filtered or unexported fields
}
MockCleaner is a mock of Cleaner interface.
func NewMockCleaner ¶
func NewMockCleaner(ctrl *gomock.Controller) *MockCleaner
NewMockCleaner creates a new mock instance.
func (*MockCleaner) Cleanup ¶
func (m *MockCleaner) Cleanup(ctx context.Context) error
Cleanup mocks base method.
func (*MockCleaner) EXPECT ¶
func (m *MockCleaner) EXPECT() *MockCleanerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCleanerMockRecorder ¶
type MockCleanerMockRecorder struct {
// contains filtered or unexported fields
}
MockCleanerMockRecorder is the mock recorder for MockCleaner.
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(ctx context.Context, name, key string, opts ...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(ctx context.Context, key, parent string, opts ...snapshots.Opt) ([]mount.Mount, error)
Prepare mocks base method.
func (*MockSnapshotter) Remove ¶
func (m *MockSnapshotter) Remove(ctx context.Context, key string) error
Remove mocks base method.
func (*MockSnapshotter) Update ¶
func (m *MockSnapshotter) Update(ctx context.Context, info snapshots.Info, fieldpaths ...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(ctx, name, key any, opts ...any) *gomock.Call
Commit indicates an expected call of Commit.
func (*MockSnapshotterMockRecorder) Mounts ¶
func (mr *MockSnapshotterMockRecorder) Mounts(ctx, key any) *gomock.Call
Mounts indicates an expected call of Mounts.
func (*MockSnapshotterMockRecorder) Prepare ¶
func (mr *MockSnapshotterMockRecorder) Prepare(ctx, key, parent any, opts ...any) *gomock.Call
Prepare indicates an expected call of Prepare.
func (*MockSnapshotterMockRecorder) Remove ¶
func (mr *MockSnapshotterMockRecorder) Remove(ctx, key any) *gomock.Call
Remove indicates an expected call of Remove.
func (*MockSnapshotterMockRecorder) Stat ¶
func (mr *MockSnapshotterMockRecorder) Stat(ctx, key any) *gomock.Call
Stat indicates an expected call of Stat.
func (*MockSnapshotterMockRecorder) Update ¶
func (mr *MockSnapshotterMockRecorder) Update(ctx, info any, fieldpaths ...any) *gomock.Call
Update indicates an expected call of Update.
func (*MockSnapshotterMockRecorder) Usage ¶
func (mr *MockSnapshotterMockRecorder) Usage(ctx, key any) *gomock.Call
Usage indicates an expected call of Usage.