mock_driver

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_driver is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFs added in v1.4.0

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

MockFs is a mock of Fs interface.

func NewMockFs added in v1.4.0

func NewMockFs(ctrl *gomock.Controller) *MockFs

NewMockFs creates a new mock instance.

func (*MockFs) EXPECT added in v1.4.0

func (m *MockFs) EXPECT() *MockFsMockRecorder

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

func (*MockFs) MkdirAll added in v1.4.0

func (m *MockFs) MkdirAll(path string, perm os.FileMode) error

MkdirAll mocks base method.

func (*MockFs) Remove added in v1.4.0

func (m *MockFs) Remove(name string) error

Remove mocks base method.

func (*MockFs) Stat added in v1.4.0

func (m *MockFs) Stat(name string) (os.FileInfo, error)

Stat mocks base method.

type MockFsMockRecorder added in v1.4.0

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

MockFsMockRecorder is the mock recorder for MockFs.

func (*MockFsMockRecorder) MkdirAll added in v1.4.0

func (mr *MockFsMockRecorder) MkdirAll(path, perm interface{}) *gomock.Call

MkdirAll indicates an expected call of MkdirAll.

func (*MockFsMockRecorder) Remove added in v1.4.0

func (mr *MockFsMockRecorder) Remove(name interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockFsMockRecorder) Stat added in v1.4.0

func (mr *MockFsMockRecorder) Stat(name interface{}) *gomock.Call

Stat indicates an expected call of Stat.

type MockMountLister added in v1.4.0

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

MockMountLister is a mock of MountLister interface.

func NewMockMountLister added in v1.4.0

func NewMockMountLister(ctrl *gomock.Controller) *MockMountLister

NewMockMountLister creates a new mock instance.

func (*MockMountLister) EXPECT added in v1.4.0

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

func (*MockMountLister) ListMounts added in v1.4.0

func (m *MockMountLister) ListMounts() ([]mount.MountPoint, error)

ListMounts mocks base method.

type MockMountListerMockRecorder added in v1.4.0

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

MockMountListerMockRecorder is the mock recorder for MockMountLister.

func (*MockMountListerMockRecorder) ListMounts added in v1.4.0

func (mr *MockMountListerMockRecorder) ListMounts() *gomock.Call

ListMounts indicates an expected call of ListMounts.

type MockMounter

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

MockMounter is a mock of Mounter interface.

func NewMockMounter

func NewMockMounter(ctrl *gomock.Controller) *MockMounter

NewMockMounter creates a new mock instance.

func (*MockMounter) EXPECT

func (m *MockMounter) EXPECT() *MockMounterMockRecorder

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

func (*MockMounter) IsMountPoint

func (m *MockMounter) IsMountPoint(target string) (bool, error)

IsMountPoint mocks base method.

func (*MockMounter) Mount

func (m *MockMounter) Mount(bucketName, target string, credentials *driver.MountCredentials, options []string) error

Mount mocks base method.

func (*MockMounter) Unmount

func (m *MockMounter) Unmount(target string) error

Unmount mocks base method.

type MockMounterMockRecorder

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

MockMounterMockRecorder is the mock recorder for MockMounter.

func (*MockMounterMockRecorder) IsMountPoint

func (mr *MockMounterMockRecorder) IsMountPoint(target interface{}) *gomock.Call

IsMountPoint indicates an expected call of IsMountPoint.

func (*MockMounterMockRecorder) Mount

func (mr *MockMounterMockRecorder) Mount(bucketName, target, credentials, options interface{}) *gomock.Call

Mount indicates an expected call of Mount.

func (*MockMounterMockRecorder) Unmount

func (mr *MockMounterMockRecorder) Unmount(target interface{}) *gomock.Call

Unmount indicates an expected call of Unmount.

type MockServiceRunner added in v1.4.0

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

MockServiceRunner is a mock of ServiceRunner interface.

func NewMockServiceRunner added in v1.4.0

func NewMockServiceRunner(ctrl *gomock.Controller) *MockServiceRunner

NewMockServiceRunner creates a new mock instance.

func (*MockServiceRunner) EXPECT added in v1.4.0

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

func (*MockServiceRunner) RunOneshot added in v1.4.0

func (m *MockServiceRunner) RunOneshot(ctx context.Context, config *system.ExecConfig) (string, error)

RunOneshot mocks base method.

func (*MockServiceRunner) StartService added in v1.4.0

func (m *MockServiceRunner) StartService(ctx context.Context, config *system.ExecConfig) (string, error)

StartService mocks base method.

type MockServiceRunnerMockRecorder added in v1.4.0

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

MockServiceRunnerMockRecorder is the mock recorder for MockServiceRunner.

func (*MockServiceRunnerMockRecorder) RunOneshot added in v1.4.0

func (mr *MockServiceRunnerMockRecorder) RunOneshot(ctx, config interface{}) *gomock.Call

RunOneshot indicates an expected call of RunOneshot.

func (*MockServiceRunnerMockRecorder) StartService added in v1.4.0

func (mr *MockServiceRunnerMockRecorder) StartService(ctx, config interface{}) *gomock.Call

StartService indicates an expected call of StartService.

Jump to

Keyboard shortcuts

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