Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockMounter
- func (m *MockMounter) EXPECT() *MockMounterMockRecorder
- func (m *MockMounter) GetDeviceName(arg0 string) (string, int, error)
- func (m *MockMounter) GetMountRefs(arg0 string) ([]string, error)
- func (m *MockMounter) IsLikelyNotMountPoint(arg0 string) (bool, error)
- func (m *MockMounter) List() ([]mount.MountPoint, error)
- func (m *MockMounter) MakeDir(arg0 string) error
- func (m *MockMounter) Mount(arg0, arg1, arg2 string, arg3 []string) error
- func (m *MockMounter) MountSensitive(arg0, arg1, arg2 string, arg3, arg4 []string) error
- func (m *MockMounter) Unmount(arg0 string) error
- type MockMounterMockRecorder
- func (mr *MockMounterMockRecorder) GetDeviceName(arg0 interface{}) *gomock.Call
- func (mr *MockMounterMockRecorder) GetMountRefs(arg0 interface{}) *gomock.Call
- func (mr *MockMounterMockRecorder) IsLikelyNotMountPoint(arg0 interface{}) *gomock.Call
- func (mr *MockMounterMockRecorder) List() *gomock.Call
- func (mr *MockMounterMockRecorder) MakeDir(arg0 interface{}) *gomock.Call
- func (mr *MockMounterMockRecorder) Mount(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMounterMockRecorder) MountSensitive(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockMounterMockRecorder) Unmount(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMounter ¶ added in v0.3.0
type MockMounter struct {
// contains filtered or unexported fields
}
MockMounter is a mock of Mounter interface
func NewMockMounter ¶ added in v0.3.0
func NewMockMounter(ctrl *gomock.Controller) *MockMounter
NewMockMounter creates a new mock instance
func (*MockMounter) EXPECT ¶ added in v0.3.0
func (m *MockMounter) EXPECT() *MockMounterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMounter) GetDeviceName ¶ added in v0.3.0
func (m *MockMounter) GetDeviceName(arg0 string) (string, int, error)
GetDeviceName mocks base method
func (*MockMounter) GetMountRefs ¶ added in v0.3.0
func (m *MockMounter) GetMountRefs(arg0 string) ([]string, error)
GetMountRefs mocks base method
func (*MockMounter) IsLikelyNotMountPoint ¶ added in v0.3.0
func (m *MockMounter) IsLikelyNotMountPoint(arg0 string) (bool, error)
IsLikelyNotMountPoint mocks base method
func (*MockMounter) List ¶ added in v0.3.0
func (m *MockMounter) List() ([]mount.MountPoint, error)
List mocks base method
func (*MockMounter) MakeDir ¶ added in v0.3.0
func (m *MockMounter) MakeDir(arg0 string) error
MakeDir mocks base method
func (*MockMounter) Mount ¶ added in v0.3.0
func (m *MockMounter) Mount(arg0, arg1, arg2 string, arg3 []string) error
Mount mocks base method
func (*MockMounter) MountSensitive ¶ added in v1.1.0
func (m *MockMounter) MountSensitive(arg0, arg1, arg2 string, arg3, arg4 []string) error
MountSensitive mocks base method
func (*MockMounter) Unmount ¶ added in v0.3.0
func (m *MockMounter) Unmount(arg0 string) error
Unmount mocks base method
type MockMounterMockRecorder ¶ added in v0.3.0
type MockMounterMockRecorder struct {
// contains filtered or unexported fields
}
MockMounterMockRecorder is the mock recorder for MockMounter
func (*MockMounterMockRecorder) GetDeviceName ¶ added in v0.3.0
func (mr *MockMounterMockRecorder) GetDeviceName(arg0 interface{}) *gomock.Call
GetDeviceName indicates an expected call of GetDeviceName
func (*MockMounterMockRecorder) GetMountRefs ¶ added in v0.3.0
func (mr *MockMounterMockRecorder) GetMountRefs(arg0 interface{}) *gomock.Call
GetMountRefs indicates an expected call of GetMountRefs
func (*MockMounterMockRecorder) IsLikelyNotMountPoint ¶ added in v0.3.0
func (mr *MockMounterMockRecorder) IsLikelyNotMountPoint(arg0 interface{}) *gomock.Call
IsLikelyNotMountPoint indicates an expected call of IsLikelyNotMountPoint
func (*MockMounterMockRecorder) List ¶ added in v0.3.0
func (mr *MockMounterMockRecorder) List() *gomock.Call
List indicates an expected call of List
func (*MockMounterMockRecorder) MakeDir ¶ added in v0.3.0
func (mr *MockMounterMockRecorder) MakeDir(arg0 interface{}) *gomock.Call
MakeDir indicates an expected call of MakeDir
func (*MockMounterMockRecorder) Mount ¶ added in v0.3.0
func (mr *MockMounterMockRecorder) Mount(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Mount indicates an expected call of Mount
func (*MockMounterMockRecorder) MountSensitive ¶ added in v1.1.0
func (mr *MockMounterMockRecorder) MountSensitive(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
MountSensitive indicates an expected call of MountSensitive
func (*MockMounterMockRecorder) Unmount ¶ added in v0.3.0
func (mr *MockMounterMockRecorder) Unmount(arg0 interface{}) *gomock.Call
Unmount indicates an expected call of Unmount