Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) CleanSubPaths(arg0, arg1 string) error
- func (m *MockInterface) DeviceOpened(arg0 string) (bool, error)
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) EvalHostSymlinks(arg0 string) (string, error)
- func (m *MockInterface) ExistsPath(arg0 string) (bool, error)
- func (m *MockInterface) GetDeviceNameFromMount(arg0, arg1 string) (string, error)
- func (m *MockInterface) GetFSGroup(arg0 string) (int64, error)
- func (m *MockInterface) GetFileType(arg0 string) (mount.FileType, error)
- func (m *MockInterface) GetMode(arg0 string) (os.FileMode, error)
- func (m *MockInterface) GetMountRefs(arg0 string) ([]string, error)
- func (m *MockInterface) GetSELinuxSupport(arg0 string) (bool, error)
- func (m *MockInterface) IsLikelyNotMountPoint(arg0 string) (bool, error)
- func (m *MockInterface) IsMountPointMatch(arg0 mount.MountPoint, arg1 string) bool
- func (m *MockInterface) IsNotMountPoint(arg0 string) (bool, error)
- func (m *MockInterface) List() ([]mount.MountPoint, error)
- func (m *MockInterface) MakeDir(arg0 string) error
- func (m *MockInterface) MakeFile(arg0 string) error
- func (m *MockInterface) MakeRShared(arg0 string) error
- func (m *MockInterface) Mount(arg0, arg1, arg2 string, arg3 []string) error
- func (m *MockInterface) PathIsDevice(arg0 string) (bool, error)
- func (m *MockInterface) PrepareSafeSubpath(arg0 mount.Subpath) (string, func(), error)
- func (m *MockInterface) SafeMakeDir(arg0, arg1 string, arg2 os.FileMode) error
- func (m *MockInterface) Unmount(arg0 string) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) CleanSubPaths(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DeviceOpened(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) EvalHostSymlinks(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ExistsPath(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetDeviceNameFromMount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetFSGroup(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetFileType(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetMode(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetMountRefs(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetSELinuxSupport(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) IsLikelyNotMountPoint(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) IsMountPointMatch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) IsNotMountPoint(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) List() *gomock.Call
- func (mr *MockInterfaceMockRecorder) MakeDir(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) MakeFile(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) MakeRShared(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Mount(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) PathIsDevice(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) PrepareSafeSubpath(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SafeMakeDir(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Unmount(arg0 interface{}) *gomock.Call
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) CleanSubPaths ¶
func (m *MockInterface) CleanSubPaths(arg0, arg1 string) error
CleanSubPaths mocks base method
func (*MockInterface) DeviceOpened ¶
func (m *MockInterface) DeviceOpened(arg0 string) (bool, error)
DeviceOpened 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) EvalHostSymlinks ¶
func (m *MockInterface) EvalHostSymlinks(arg0 string) (string, error)
EvalHostSymlinks mocks base method
func (*MockInterface) ExistsPath ¶
func (m *MockInterface) ExistsPath(arg0 string) (bool, error)
ExistsPath mocks base method
func (*MockInterface) GetDeviceNameFromMount ¶
func (m *MockInterface) GetDeviceNameFromMount(arg0, arg1 string) (string, error)
GetDeviceNameFromMount mocks base method
func (*MockInterface) GetFSGroup ¶
func (m *MockInterface) GetFSGroup(arg0 string) (int64, error)
GetFSGroup mocks base method
func (*MockInterface) GetFileType ¶
func (m *MockInterface) GetFileType(arg0 string) (mount.FileType, error)
GetFileType mocks base method
func (*MockInterface) GetMode ¶
func (m *MockInterface) GetMode(arg0 string) (os.FileMode, error)
GetMode mocks base method
func (*MockInterface) GetMountRefs ¶
func (m *MockInterface) GetMountRefs(arg0 string) ([]string, error)
GetMountRefs mocks base method
func (*MockInterface) GetSELinuxSupport ¶
func (m *MockInterface) GetSELinuxSupport(arg0 string) (bool, error)
GetSELinuxSupport mocks base method
func (*MockInterface) IsLikelyNotMountPoint ¶
func (m *MockInterface) IsLikelyNotMountPoint(arg0 string) (bool, error)
IsLikelyNotMountPoint mocks base method
func (*MockInterface) IsMountPointMatch ¶
func (m *MockInterface) IsMountPointMatch(arg0 mount.MountPoint, arg1 string) bool
IsMountPointMatch mocks base method
func (*MockInterface) IsNotMountPoint ¶
func (m *MockInterface) IsNotMountPoint(arg0 string) (bool, error)
IsNotMountPoint mocks base method
func (*MockInterface) List ¶
func (m *MockInterface) List() ([]mount.MountPoint, error)
List mocks base method
func (*MockInterface) MakeDir ¶
func (m *MockInterface) MakeDir(arg0 string) error
MakeDir mocks base method
func (*MockInterface) MakeFile ¶
func (m *MockInterface) MakeFile(arg0 string) error
MakeFile mocks base method
func (*MockInterface) MakeRShared ¶
func (m *MockInterface) MakeRShared(arg0 string) error
MakeRShared mocks base method
func (*MockInterface) Mount ¶
func (m *MockInterface) Mount(arg0, arg1, arg2 string, arg3 []string) error
Mount mocks base method
func (*MockInterface) PathIsDevice ¶
func (m *MockInterface) PathIsDevice(arg0 string) (bool, error)
PathIsDevice mocks base method
func (*MockInterface) PrepareSafeSubpath ¶
func (m *MockInterface) PrepareSafeSubpath(arg0 mount.Subpath) (string, func(), error)
PrepareSafeSubpath mocks base method
func (*MockInterface) SafeMakeDir ¶
func (m *MockInterface) SafeMakeDir(arg0, arg1 string, arg2 os.FileMode) error
SafeMakeDir 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) CleanSubPaths ¶
func (mr *MockInterfaceMockRecorder) CleanSubPaths(arg0, arg1 interface{}) *gomock.Call
CleanSubPaths indicates an expected call of CleanSubPaths
func (*MockInterfaceMockRecorder) DeviceOpened ¶
func (mr *MockInterfaceMockRecorder) DeviceOpened(arg0 interface{}) *gomock.Call
DeviceOpened indicates an expected call of DeviceOpened
func (*MockInterfaceMockRecorder) EvalHostSymlinks ¶
func (mr *MockInterfaceMockRecorder) EvalHostSymlinks(arg0 interface{}) *gomock.Call
EvalHostSymlinks indicates an expected call of EvalHostSymlinks
func (*MockInterfaceMockRecorder) ExistsPath ¶
func (mr *MockInterfaceMockRecorder) ExistsPath(arg0 interface{}) *gomock.Call
ExistsPath indicates an expected call of ExistsPath
func (*MockInterfaceMockRecorder) GetDeviceNameFromMount ¶
func (mr *MockInterfaceMockRecorder) GetDeviceNameFromMount(arg0, arg1 interface{}) *gomock.Call
GetDeviceNameFromMount indicates an expected call of GetDeviceNameFromMount
func (*MockInterfaceMockRecorder) GetFSGroup ¶
func (mr *MockInterfaceMockRecorder) GetFSGroup(arg0 interface{}) *gomock.Call
GetFSGroup indicates an expected call of GetFSGroup
func (*MockInterfaceMockRecorder) GetFileType ¶
func (mr *MockInterfaceMockRecorder) GetFileType(arg0 interface{}) *gomock.Call
GetFileType indicates an expected call of GetFileType
func (*MockInterfaceMockRecorder) GetMode ¶
func (mr *MockInterfaceMockRecorder) GetMode(arg0 interface{}) *gomock.Call
GetMode indicates an expected call of GetMode
func (*MockInterfaceMockRecorder) GetMountRefs ¶
func (mr *MockInterfaceMockRecorder) GetMountRefs(arg0 interface{}) *gomock.Call
GetMountRefs indicates an expected call of GetMountRefs
func (*MockInterfaceMockRecorder) GetSELinuxSupport ¶
func (mr *MockInterfaceMockRecorder) GetSELinuxSupport(arg0 interface{}) *gomock.Call
GetSELinuxSupport indicates an expected call of GetSELinuxSupport
func (*MockInterfaceMockRecorder) IsLikelyNotMountPoint ¶
func (mr *MockInterfaceMockRecorder) IsLikelyNotMountPoint(arg0 interface{}) *gomock.Call
IsLikelyNotMountPoint indicates an expected call of IsLikelyNotMountPoint
func (*MockInterfaceMockRecorder) IsMountPointMatch ¶
func (mr *MockInterfaceMockRecorder) IsMountPointMatch(arg0, arg1 interface{}) *gomock.Call
IsMountPointMatch indicates an expected call of IsMountPointMatch
func (*MockInterfaceMockRecorder) IsNotMountPoint ¶
func (mr *MockInterfaceMockRecorder) IsNotMountPoint(arg0 interface{}) *gomock.Call
IsNotMountPoint indicates an expected call of IsNotMountPoint
func (*MockInterfaceMockRecorder) List ¶
func (mr *MockInterfaceMockRecorder) List() *gomock.Call
List indicates an expected call of List
func (*MockInterfaceMockRecorder) MakeDir ¶
func (mr *MockInterfaceMockRecorder) MakeDir(arg0 interface{}) *gomock.Call
MakeDir indicates an expected call of MakeDir
func (*MockInterfaceMockRecorder) MakeFile ¶
func (mr *MockInterfaceMockRecorder) MakeFile(arg0 interface{}) *gomock.Call
MakeFile indicates an expected call of MakeFile
func (*MockInterfaceMockRecorder) MakeRShared ¶
func (mr *MockInterfaceMockRecorder) MakeRShared(arg0 interface{}) *gomock.Call
MakeRShared indicates an expected call of MakeRShared
func (*MockInterfaceMockRecorder) Mount ¶
func (mr *MockInterfaceMockRecorder) Mount(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Mount indicates an expected call of Mount
func (*MockInterfaceMockRecorder) PathIsDevice ¶
func (mr *MockInterfaceMockRecorder) PathIsDevice(arg0 interface{}) *gomock.Call
PathIsDevice indicates an expected call of PathIsDevice
func (*MockInterfaceMockRecorder) PrepareSafeSubpath ¶
func (mr *MockInterfaceMockRecorder) PrepareSafeSubpath(arg0 interface{}) *gomock.Call
PrepareSafeSubpath indicates an expected call of PrepareSafeSubpath
func (*MockInterfaceMockRecorder) SafeMakeDir ¶
func (mr *MockInterfaceMockRecorder) SafeMakeDir(arg0, arg1, arg2 interface{}) *gomock.Call
SafeMakeDir indicates an expected call of SafeMakeDir
func (*MockInterfaceMockRecorder) Unmount ¶
func (mr *MockInterfaceMockRecorder) Unmount(arg0 interface{}) *gomock.Call
Unmount indicates an expected call of Unmount