mocks

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: Apache-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 MockMntInterface

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

MockMntInterface is a mock of MntInterface interface.

func NewMockMntInterface

func NewMockMntInterface(ctrl *gomock.Controller) *MockMntInterface

NewMockMntInterface creates a new mock instance.

func (*MockMntInterface) AddRefOfMount

func (m *MockMntInterface) AddRefOfMount(arg0 context.Context, arg1, arg2 string) error

AddRefOfMount mocks base method.

func (*MockMntInterface) CleanCache added in v0.14.1

func (m *MockMntInterface) CleanCache(arg0 context.Context, arg1, arg2, arg3 string, arg4 []string) error

CleanCache mocks base method.

func (*MockMntInterface) EXPECT

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

func (*MockMntInterface) GetMountRef added in v0.14.1

func (m *MockMntInterface) GetMountRef(arg0 context.Context, arg1, arg2 string) (int, error)

GetMountRef mocks base method.

func (*MockMntInterface) GetMountRefs

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

GetMountRefs mocks base method.

func (*MockMntInterface) IsLikelyNotMountPoint

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

IsLikelyNotMountPoint mocks base method.

func (*MockMntInterface) JCreateVolume added in v0.13.0

func (m *MockMntInterface) JCreateVolume(arg0 context.Context, arg1 *config.JfsSetting) error

JCreateVolume mocks base method.

func (*MockMntInterface) JDeleteVolume added in v0.13.0

func (m *MockMntInterface) JDeleteVolume(arg0 context.Context, arg1 *config.JfsSetting) error

JDeleteVolume mocks base method.

func (*MockMntInterface) JMount

func (m *MockMntInterface) JMount(arg0 context.Context, arg1 *config.AppInfo, arg2 *config.JfsSetting) error

JMount mocks base method.

func (*MockMntInterface) JUmount

func (m *MockMntInterface) JUmount(arg0 context.Context, arg1, arg2 string) error

JUmount mocks base method.

func (*MockMntInterface) List

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

List mocks base method.

func (*MockMntInterface) Mount

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

Mount mocks base method.

func (*MockMntInterface) MountSensitive

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

MountSensitive mocks base method.

func (*MockMntInterface) UmountTarget added in v0.14.1

func (m *MockMntInterface) UmountTarget(arg0 context.Context, arg1, arg2 string) error

UmountTarget mocks base method.

func (*MockMntInterface) Unmount

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

Unmount mocks base method.

type MockMntInterfaceMockRecorder

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

MockMntInterfaceMockRecorder is the mock recorder for MockMntInterface.

func (*MockMntInterfaceMockRecorder) AddRefOfMount

func (mr *MockMntInterfaceMockRecorder) AddRefOfMount(arg0, arg1, arg2 interface{}) *gomock.Call

AddRefOfMount indicates an expected call of AddRefOfMount.

func (*MockMntInterfaceMockRecorder) CleanCache added in v0.14.1

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

CleanCache indicates an expected call of CleanCache.

func (*MockMntInterfaceMockRecorder) GetMountRef added in v0.14.1

func (mr *MockMntInterfaceMockRecorder) GetMountRef(arg0, arg1, arg2 interface{}) *gomock.Call

GetMountRef indicates an expected call of GetMountRef.

func (*MockMntInterfaceMockRecorder) GetMountRefs

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

GetMountRefs indicates an expected call of GetMountRefs.

func (*MockMntInterfaceMockRecorder) IsLikelyNotMountPoint

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

IsLikelyNotMountPoint indicates an expected call of IsLikelyNotMountPoint.

func (*MockMntInterfaceMockRecorder) JCreateVolume added in v0.13.0

func (mr *MockMntInterfaceMockRecorder) JCreateVolume(arg0, arg1 interface{}) *gomock.Call

JCreateVolume indicates an expected call of JCreateVolume.

func (*MockMntInterfaceMockRecorder) JDeleteVolume added in v0.13.0

func (mr *MockMntInterfaceMockRecorder) JDeleteVolume(arg0, arg1 interface{}) *gomock.Call

JDeleteVolume indicates an expected call of JDeleteVolume.

func (*MockMntInterfaceMockRecorder) JMount

func (mr *MockMntInterfaceMockRecorder) JMount(arg0, arg1, arg2 interface{}) *gomock.Call

JMount indicates an expected call of JMount.

func (*MockMntInterfaceMockRecorder) JUmount

func (mr *MockMntInterfaceMockRecorder) JUmount(arg0, arg1, arg2 interface{}) *gomock.Call

JUmount indicates an expected call of JUmount.

func (*MockMntInterfaceMockRecorder) List

List indicates an expected call of List.

func (*MockMntInterfaceMockRecorder) Mount

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

Mount indicates an expected call of Mount.

func (*MockMntInterfaceMockRecorder) MountSensitive

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

MountSensitive indicates an expected call of MountSensitive.

func (*MockMntInterfaceMockRecorder) UmountTarget added in v0.14.1

func (mr *MockMntInterfaceMockRecorder) UmountTarget(arg0, arg1, arg2 interface{}) *gomock.Call

UmountTarget indicates an expected call of UmountTarget.

func (*MockMntInterfaceMockRecorder) Unmount

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

Unmount indicates an expected call of Unmount.

Jump to

Keyboard shortcuts

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