mocks

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) EXPECT

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

func (*MockInterface) GetJfsVolUUID added in v0.14.1

func (m *MockInterface) GetJfsVolUUID(arg0 context.Context, arg1 string) (string, error)

GetJfsVolUUID mocks base method.

func (*MockInterface) GetMountRefs

func (m *MockInterface) GetMountRefs(arg0 string) ([]string, error)

GetMountRefs mocks base method.

func (*MockInterface) IsLikelyNotMountPoint

func (m *MockInterface) IsLikelyNotMountPoint(arg0 string) (bool, error)

IsLikelyNotMountPoint mocks base method.

func (*MockInterface) JfsCleanupMountPoint

func (m *MockInterface) JfsCleanupMountPoint(arg0 context.Context, arg1 string) error

JfsCleanupMountPoint mocks base method.

func (*MockInterface) JfsCreateVol added in v0.13.0

func (m *MockInterface) JfsCreateVol(arg0 context.Context, arg1, arg2 string, arg3, arg4 map[string]string) error

JfsCreateVol mocks base method.

func (*MockInterface) JfsDeleteVol added in v0.13.0

func (m *MockInterface) JfsDeleteVol(arg0 context.Context, arg1, arg2 string, arg3, arg4 map[string]string) error

JfsDeleteVol mocks base method.

func (*MockInterface) JfsMount

func (m *MockInterface) JfsMount(arg0 context.Context, arg1, arg2 string, arg3, arg4 map[string]string, arg5 []string) (juicefs.Jfs, error)

JfsMount mocks base method.

func (*MockInterface) JfsUnmount

func (m *MockInterface) JfsUnmount(arg0 context.Context, arg1, arg2 string) error

JfsUnmount mocks base method.

func (*MockInterface) List

func (m *MockInterface) List() ([]mount.MountPoint, error)

List mocks base method.

func (*MockInterface) Mount

func (m *MockInterface) Mount(arg0, arg1, arg2 string, arg3 []string) error

Mount mocks base method.

func (*MockInterface) MountSensitive

func (m *MockInterface) MountSensitive(arg0, arg1, arg2 string, arg3, arg4 []string) error

MountSensitive mocks base method.

func (*MockInterface) SetQuota added in v0.20.0

func (m *MockInterface) SetQuota(arg0 context.Context, arg1 map[string]string, arg2 *config.JfsSetting, arg3 string, arg4 int64) (string, error)

SetQuota mocks base method.

func (*MockInterface) Settings added in v0.18.0

func (m *MockInterface) Settings(arg0 context.Context, arg1 string, arg2, arg3 map[string]string, arg4 []string) (*config.JfsSetting, error)

Settings mocks base method.

func (*MockInterface) Unmount

func (m *MockInterface) Unmount(arg0 string) error

Unmount mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) GetJfsVolUUID added in v0.14.1

func (mr *MockInterfaceMockRecorder) GetJfsVolUUID(arg0, arg1 interface{}) *gomock.Call

GetJfsVolUUID indicates an expected call of GetJfsVolUUID.

func (*MockInterfaceMockRecorder) GetMountRefs

func (mr *MockInterfaceMockRecorder) GetMountRefs(arg0 interface{}) *gomock.Call

GetMountRefs indicates an expected call of GetMountRefs.

func (*MockInterfaceMockRecorder) IsLikelyNotMountPoint

func (mr *MockInterfaceMockRecorder) IsLikelyNotMountPoint(arg0 interface{}) *gomock.Call

IsLikelyNotMountPoint indicates an expected call of IsLikelyNotMountPoint.

func (*MockInterfaceMockRecorder) JfsCleanupMountPoint

func (mr *MockInterfaceMockRecorder) JfsCleanupMountPoint(arg0, arg1 interface{}) *gomock.Call

JfsCleanupMountPoint indicates an expected call of JfsCleanupMountPoint.

func (*MockInterfaceMockRecorder) JfsCreateVol added in v0.13.0

func (mr *MockInterfaceMockRecorder) JfsCreateVol(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

JfsCreateVol indicates an expected call of JfsCreateVol.

func (*MockInterfaceMockRecorder) JfsDeleteVol added in v0.13.0

func (mr *MockInterfaceMockRecorder) JfsDeleteVol(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

JfsDeleteVol indicates an expected call of JfsDeleteVol.

func (*MockInterfaceMockRecorder) JfsMount

func (mr *MockInterfaceMockRecorder) JfsMount(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

JfsMount indicates an expected call of JfsMount.

func (*MockInterfaceMockRecorder) JfsUnmount

func (mr *MockInterfaceMockRecorder) JfsUnmount(arg0, arg1, arg2 interface{}) *gomock.Call

JfsUnmount indicates an expected call of JfsUnmount.

func (*MockInterfaceMockRecorder) List

List indicates an expected call of List.

func (*MockInterfaceMockRecorder) Mount

func (mr *MockInterfaceMockRecorder) Mount(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Mount indicates an expected call of Mount.

func (*MockInterfaceMockRecorder) MountSensitive

func (mr *MockInterfaceMockRecorder) MountSensitive(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

MountSensitive indicates an expected call of MountSensitive.

func (*MockInterfaceMockRecorder) SetQuota added in v0.20.0

func (mr *MockInterfaceMockRecorder) SetQuota(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

SetQuota indicates an expected call of SetQuota.

func (*MockInterfaceMockRecorder) Settings added in v0.18.0

func (mr *MockInterfaceMockRecorder) Settings(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

Settings indicates an expected call of Settings.

func (*MockInterfaceMockRecorder) Unmount

func (mr *MockInterfaceMockRecorder) Unmount(arg0 interface{}) *gomock.Call

Unmount indicates an expected call of Unmount.

type MockJfs

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

MockJfs is a mock of Jfs interface.

func NewMockJfs

func NewMockJfs(ctrl *gomock.Controller) *MockJfs

NewMockJfs creates a new mock instance.

func (*MockJfs) BindTarget added in v0.17.1

func (m *MockJfs) BindTarget(arg0 context.Context, arg1, arg2 string) error

BindTarget mocks base method.

func (*MockJfs) CreateVol

func (m *MockJfs) CreateVol(arg0 context.Context, arg1, arg2 string) (string, error)

CreateVol mocks base method.

func (*MockJfs) EXPECT

func (m *MockJfs) EXPECT() *MockJfsMockRecorder

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

func (*MockJfs) GetBasePath

func (m *MockJfs) GetBasePath() string

GetBasePath mocks base method.

type MockJfsMockRecorder

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

MockJfsMockRecorder is the mock recorder for MockJfs.

func (*MockJfsMockRecorder) BindTarget added in v0.17.1

func (mr *MockJfsMockRecorder) BindTarget(arg0, arg1, arg2 interface{}) *gomock.Call

BindTarget indicates an expected call of BindTarget.

func (*MockJfsMockRecorder) CreateVol

func (mr *MockJfsMockRecorder) CreateVol(arg0, arg1, arg2 interface{}) *gomock.Call

CreateVol indicates an expected call of CreateVol.

func (*MockJfsMockRecorder) GetBasePath

func (mr *MockJfsMockRecorder) GetBasePath() *gomock.Call

GetBasePath indicates an expected call of GetBasePath.

Jump to

Keyboard shortcuts

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