mocks

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2022 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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.

func (*MockCleanerMockRecorder) Cleanup

func (mr *MockCleanerMockRecorder) Cleanup(ctx interface{}) *gomock.Call

Cleanup indicates an expected call of Cleanup.

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) Close

func (m *MockSnapshotter) Close() error

Close mocks base method.

func (*MockSnapshotter) Commit

func (m *MockSnapshotter) Commit(ctx context.Context, name, key string, opts ...snapshots.Opt) error

Commit mocks base method.

func (*MockSnapshotter) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSnapshotter) Mounts

func (m *MockSnapshotter) Mounts(ctx context.Context, key string) ([]mount.Mount, error)

Mounts mocks base method.

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) Stat

func (m *MockSnapshotter) Stat(ctx context.Context, key string) (snapshots.Info, error)

Stat 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.

func (*MockSnapshotter) Usage

func (m *MockSnapshotter) Usage(ctx context.Context, key string) (snapshots.Usage, error)

Usage mocks base method.

func (*MockSnapshotter) View

func (m *MockSnapshotter) View(ctx context.Context, key, parent string, opts ...snapshots.Opt) ([]mount.Mount, error)

View mocks base method.

func (*MockSnapshotter) Walk

func (m *MockSnapshotter) Walk(ctx context.Context, fn snapshots.WalkFunc, filters ...string) error

Walk mocks base method.

type MockSnapshotterMockRecorder

type MockSnapshotterMockRecorder struct {
	// contains filtered or unexported fields
}

MockSnapshotterMockRecorder is the mock recorder for MockSnapshotter.

func (*MockSnapshotterMockRecorder) Close

Close indicates an expected call of Close.

func (*MockSnapshotterMockRecorder) Commit

func (mr *MockSnapshotterMockRecorder) Commit(ctx, name, key interface{}, opts ...interface{}) *gomock.Call

Commit indicates an expected call of Commit.

func (*MockSnapshotterMockRecorder) Mounts

func (mr *MockSnapshotterMockRecorder) Mounts(ctx, key interface{}) *gomock.Call

Mounts indicates an expected call of Mounts.

func (*MockSnapshotterMockRecorder) Prepare

func (mr *MockSnapshotterMockRecorder) Prepare(ctx, key, parent interface{}, opts ...interface{}) *gomock.Call

Prepare indicates an expected call of Prepare.

func (*MockSnapshotterMockRecorder) Remove

func (mr *MockSnapshotterMockRecorder) Remove(ctx, key interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockSnapshotterMockRecorder) Stat

func (mr *MockSnapshotterMockRecorder) Stat(ctx, key interface{}) *gomock.Call

Stat indicates an expected call of Stat.

func (*MockSnapshotterMockRecorder) Update

func (mr *MockSnapshotterMockRecorder) Update(ctx, info interface{}, fieldpaths ...interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockSnapshotterMockRecorder) Usage

func (mr *MockSnapshotterMockRecorder) Usage(ctx, key interface{}) *gomock.Call

Usage indicates an expected call of Usage.

func (*MockSnapshotterMockRecorder) View

func (mr *MockSnapshotterMockRecorder) View(ctx, key, parent interface{}, opts ...interface{}) *gomock.Call

View indicates an expected call of View.

func (*MockSnapshotterMockRecorder) Walk

func (mr *MockSnapshotterMockRecorder) Walk(ctx, fn interface{}, filters ...interface{}) *gomock.Call

Walk indicates an expected call of Walk.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL