mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

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

GetMountRefs mocks base method.

func (*MockMounter) IsCorruptedMnt

func (m *MockMounter) IsCorruptedMnt(arg0 error) bool

IsCorruptedMnt mocks base method.

func (*MockMounter) IsLikelyNotMountPoint

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

IsLikelyNotMountPoint mocks base method.

func (*MockMounter) List

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

List mocks base method.

func (*MockMounter) MakeDir

func (m *MockMounter) MakeDir(arg0 string) error

MakeDir mocks base method.

func (*MockMounter) Mount

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

Mount mocks base method.

func (*MockMounter) MountSensitive

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

MountSensitive mocks base method.

func (*MockMounter) MountSensitiveWithoutSystemd

func (m *MockMounter) MountSensitiveWithoutSystemd(arg0, arg1, arg2 string, arg3, arg4 []string) error

MountSensitiveWithoutSystemd mocks base method.

func (*MockMounter) MountSensitiveWithoutSystemdWithMountFlags

func (m *MockMounter) MountSensitiveWithoutSystemdWithMountFlags(arg0, arg1, arg2 string, arg3, arg4, arg5 []string) error

MountSensitiveWithoutSystemdWithMountFlags mocks base method.

func (*MockMounter) PathExists

func (m *MockMounter) PathExists(arg0 string) (bool, error)

PathExists mocks base method.

func (*MockMounter) Unmount

func (m *MockMounter) Unmount(arg0 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) GetMountRefs

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

GetMountRefs indicates an expected call of GetMountRefs.

func (*MockMounterMockRecorder) IsCorruptedMnt

func (mr *MockMounterMockRecorder) IsCorruptedMnt(arg0 interface{}) *gomock.Call

IsCorruptedMnt indicates an expected call of IsCorruptedMnt.

func (*MockMounterMockRecorder) IsLikelyNotMountPoint

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

IsLikelyNotMountPoint indicates an expected call of IsLikelyNotMountPoint.

func (*MockMounterMockRecorder) List

func (mr *MockMounterMockRecorder) List() *gomock.Call

List indicates an expected call of List.

func (*MockMounterMockRecorder) MakeDir

func (mr *MockMounterMockRecorder) MakeDir(arg0 interface{}) *gomock.Call

MakeDir indicates an expected call of MakeDir.

func (*MockMounterMockRecorder) Mount

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

Mount indicates an expected call of Mount.

func (*MockMounterMockRecorder) MountSensitive

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

MountSensitive indicates an expected call of MountSensitive.

func (*MockMounterMockRecorder) MountSensitiveWithoutSystemd

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

MountSensitiveWithoutSystemd indicates an expected call of MountSensitiveWithoutSystemd.

func (*MockMounterMockRecorder) MountSensitiveWithoutSystemdWithMountFlags

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

MountSensitiveWithoutSystemdWithMountFlags indicates an expected call of MountSensitiveWithoutSystemdWithMountFlags.

func (*MockMounterMockRecorder) PathExists

func (mr *MockMounterMockRecorder) PathExists(arg0 interface{}) *gomock.Call

PathExists indicates an expected call of PathExists.

func (*MockMounterMockRecorder) Unmount

func (mr *MockMounterMockRecorder) 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