Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) AuthFs(arg0 context.Context, arg1 map[string]string, arg2 *config.JfsSetting, ...) (string, error)
- func (m *MockInterface) CreateTarget(arg0 context.Context, arg1 string) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) GetJfsVolUUID(arg0 context.Context, arg1 string) (string, error)
- func (m *MockInterface) GetMountRefs(arg0 string) ([]string, error)
- func (m *MockInterface) GetSubPath(arg0 context.Context, arg1 string) (string, error)
- func (m *MockInterface) IsLikelyNotMountPoint(arg0 string) (bool, error)
- func (m *MockInterface) JfsCleanupMountPoint(arg0 context.Context, arg1 string) error
- func (m *MockInterface) JfsCreateVol(arg0 context.Context, arg1, arg2 string, arg3, arg4 map[string]string) error
- func (m *MockInterface) JfsDeleteVol(arg0 context.Context, arg1, arg2 string, arg3, arg4 map[string]string, ...) error
- func (m *MockInterface) JfsMount(arg0 context.Context, arg1, arg2 string, arg3, arg4 map[string]string, ...) (juicefs.Jfs, error)
- func (m *MockInterface) JfsUnmount(arg0 context.Context, arg1, arg2 string) error
- func (m *MockInterface) List() ([]mount.MountPoint, error)
- func (m *MockInterface) Mount(arg0, arg1, arg2 string, arg3 []string) error
- func (m *MockInterface) MountSensitive(arg0, arg1, arg2 string, arg3, arg4 []string) error
- func (m *MockInterface) SetQuota(arg0 context.Context, arg1 map[string]string, arg2 *config.JfsSetting, ...) error
- func (m *MockInterface) Settings(arg0 context.Context, arg1 string, arg2, arg3 map[string]string, arg4 []string) (*config.JfsSetting, error)
- func (m *MockInterface) Unmount(arg0 string) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) AuthFs(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) CreateTarget(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetJfsVolUUID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetMountRefs(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetSubPath(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) IsLikelyNotMountPoint(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) JfsCleanupMountPoint(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) JfsCreateVol(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) JfsDeleteVol(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) JfsMount(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) JfsUnmount(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) List() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Mount(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) MountSensitive(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetQuota(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Settings(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Unmount(arg0 interface{}) *gomock.Call
- type MockJfs
- type MockJfsMockRecorder
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) AuthFs ¶
func (m *MockInterface) AuthFs(arg0 context.Context, arg1 map[string]string, arg2 *config.JfsSetting, arg3 bool) (string, error)
AuthFs mocks base method.
func (*MockInterface) CreateTarget ¶ added in v0.22.0
func (m *MockInterface) CreateTarget(arg0 context.Context, arg1 string) error
CreateTarget mocks base method.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) GetJfsVolUUID ¶ added in v0.14.1
GetJfsVolUUID mocks base method.
func (*MockInterface) GetMountRefs ¶
func (m *MockInterface) GetMountRefs(arg0 string) ([]string, error)
GetMountRefs mocks base method.
func (*MockInterface) GetSubPath ¶ added in v0.21.0
GetSubPath 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, arg5 []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) 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) AuthFs ¶
func (mr *MockInterfaceMockRecorder) AuthFs(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AuthFs indicates an expected call of AuthFs.
func (*MockInterfaceMockRecorder) CreateTarget ¶ added in v0.22.0
func (mr *MockInterfaceMockRecorder) CreateTarget(arg0, arg1 interface{}) *gomock.Call
CreateTarget indicates an expected call of CreateTarget.
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) GetSubPath ¶ added in v0.21.0
func (mr *MockInterfaceMockRecorder) GetSubPath(arg0, arg1 interface{}) *gomock.Call
GetSubPath indicates an expected call of GetSubPath.
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, arg5 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 ¶
func (mr *MockInterfaceMockRecorder) List() *gomock.Call
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
BindTarget mocks base method.
func (*MockJfs) EXPECT ¶
func (m *MockJfs) EXPECT() *MockJfsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.