Documentation ¶
Overview ¶
Package mock_utils is a generated GoMock package.
Package mock_utils is a generated GoMock package.
Index ¶
- type MockCSIProxyUtils
- func (m *MockCSIProxyUtils) EXPECT() *MockCSIProxyUtilsMockRecorder
- func (m *MockCSIProxyUtils) EvalHostSymlinks(arg0 context.Context, arg1 string) (string, error)
- func (m *MockCSIProxyUtils) ExistsPath(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockCSIProxyUtils) GetAPIVersions(arg0 context.Context) string
- func (m *MockCSIProxyUtils) GetFilesystemUsage(arg0 context.Context, arg1 string) (int64, int64, error)
- func (m *MockCSIProxyUtils) IsMountPointMatch(arg0 context.Context, arg1 mount.MountPoint, arg2 string) bool
- func (m *MockCSIProxyUtils) MakeDir(arg0 context.Context, arg1 string) error
- func (m *MockCSIProxyUtils) Rmdir(arg0 context.Context, arg1 string) error
- func (m *MockCSIProxyUtils) SMBMount(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string) error
- func (m *MockCSIProxyUtils) SMBUnmount(arg0 context.Context, arg1, arg2 string) error
- type MockCSIProxyUtilsMockRecorder
- func (mr *MockCSIProxyUtilsMockRecorder) EvalHostSymlinks(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCSIProxyUtilsMockRecorder) ExistsPath(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCSIProxyUtilsMockRecorder) GetAPIVersions(arg0 interface{}) *gomock.Call
- func (mr *MockCSIProxyUtilsMockRecorder) GetFilesystemUsage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCSIProxyUtilsMockRecorder) IsMountPointMatch(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCSIProxyUtilsMockRecorder) MakeDir(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCSIProxyUtilsMockRecorder) Rmdir(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCSIProxyUtilsMockRecorder) SMBMount(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockCSIProxyUtilsMockRecorder) SMBUnmount(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockLUKSDeviceInterface
- func (m *MockLUKSDeviceInterface) DevicePath() string
- func (m *MockLUKSDeviceInterface) EXPECT() *MockLUKSDeviceInterfaceMockRecorder
- func (m *MockLUKSDeviceInterface) IsLUKSFormatted(arg0 context.Context) (bool, error)
- func (m *MockLUKSDeviceInterface) IsOpen(arg0 context.Context) (bool, error)
- func (m *MockLUKSDeviceInterface) LUKSDeviceName() string
- func (m *MockLUKSDeviceInterface) LUKSDevicePath() string
- func (m *MockLUKSDeviceInterface) LUKSFormat(arg0 context.Context, arg1 string) error
- func (m *MockLUKSDeviceInterface) Open(arg0 context.Context, arg1 string) error
- type MockLUKSDeviceInterfaceMockRecorder
- func (mr *MockLUKSDeviceInterfaceMockRecorder) DevicePath() *gomock.Call
- func (mr *MockLUKSDeviceInterfaceMockRecorder) IsLUKSFormatted(arg0 interface{}) *gomock.Call
- func (mr *MockLUKSDeviceInterfaceMockRecorder) IsOpen(arg0 interface{}) *gomock.Call
- func (mr *MockLUKSDeviceInterfaceMockRecorder) LUKSDeviceName() *gomock.Call
- func (mr *MockLUKSDeviceInterfaceMockRecorder) LUKSDevicePath() *gomock.Call
- func (mr *MockLUKSDeviceInterfaceMockRecorder) LUKSFormat(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLUKSDeviceInterfaceMockRecorder) Open(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCSIProxyUtils ¶
type MockCSIProxyUtils struct {
// contains filtered or unexported fields
}
MockCSIProxyUtils is a mock of CSIProxyUtils interface.
func NewMockCSIProxyUtils ¶
func NewMockCSIProxyUtils(ctrl *gomock.Controller) *MockCSIProxyUtils
NewMockCSIProxyUtils creates a new mock instance.
func (*MockCSIProxyUtils) EXPECT ¶
func (m *MockCSIProxyUtils) EXPECT() *MockCSIProxyUtilsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCSIProxyUtils) EvalHostSymlinks ¶
EvalHostSymlinks mocks base method.
func (*MockCSIProxyUtils) ExistsPath ¶
ExistsPath mocks base method.
func (*MockCSIProxyUtils) GetAPIVersions ¶
func (m *MockCSIProxyUtils) GetAPIVersions(arg0 context.Context) string
GetAPIVersions mocks base method.
func (*MockCSIProxyUtils) GetFilesystemUsage ¶
func (m *MockCSIProxyUtils) GetFilesystemUsage(arg0 context.Context, arg1 string) (int64, int64, error)
GetFilesystemUsage mocks base method.
func (*MockCSIProxyUtils) IsMountPointMatch ¶
func (m *MockCSIProxyUtils) IsMountPointMatch(arg0 context.Context, arg1 mount.MountPoint, arg2 string) bool
IsMountPointMatch mocks base method.
func (*MockCSIProxyUtils) MakeDir ¶
func (m *MockCSIProxyUtils) MakeDir(arg0 context.Context, arg1 string) error
MakeDir mocks base method.
func (*MockCSIProxyUtils) Rmdir ¶
func (m *MockCSIProxyUtils) Rmdir(arg0 context.Context, arg1 string) error
Rmdir mocks base method.
func (*MockCSIProxyUtils) SMBMount ¶
func (m *MockCSIProxyUtils) SMBMount(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string) error
SMBMount mocks base method.
func (*MockCSIProxyUtils) SMBUnmount ¶
func (m *MockCSIProxyUtils) SMBUnmount(arg0 context.Context, arg1, arg2 string) error
SMBUnmount mocks base method.
type MockCSIProxyUtilsMockRecorder ¶
type MockCSIProxyUtilsMockRecorder struct {
// contains filtered or unexported fields
}
MockCSIProxyUtilsMockRecorder is the mock recorder for MockCSIProxyUtils.
func (*MockCSIProxyUtilsMockRecorder) EvalHostSymlinks ¶
func (mr *MockCSIProxyUtilsMockRecorder) EvalHostSymlinks(arg0, arg1 interface{}) *gomock.Call
EvalHostSymlinks indicates an expected call of EvalHostSymlinks.
func (*MockCSIProxyUtilsMockRecorder) ExistsPath ¶
func (mr *MockCSIProxyUtilsMockRecorder) ExistsPath(arg0, arg1 interface{}) *gomock.Call
ExistsPath indicates an expected call of ExistsPath.
func (*MockCSIProxyUtilsMockRecorder) GetAPIVersions ¶
func (mr *MockCSIProxyUtilsMockRecorder) GetAPIVersions(arg0 interface{}) *gomock.Call
GetAPIVersions indicates an expected call of GetAPIVersions.
func (*MockCSIProxyUtilsMockRecorder) GetFilesystemUsage ¶
func (mr *MockCSIProxyUtilsMockRecorder) GetFilesystemUsage(arg0, arg1 interface{}) *gomock.Call
GetFilesystemUsage indicates an expected call of GetFilesystemUsage.
func (*MockCSIProxyUtilsMockRecorder) IsMountPointMatch ¶
func (mr *MockCSIProxyUtilsMockRecorder) IsMountPointMatch(arg0, arg1, arg2 interface{}) *gomock.Call
IsMountPointMatch indicates an expected call of IsMountPointMatch.
func (*MockCSIProxyUtilsMockRecorder) MakeDir ¶
func (mr *MockCSIProxyUtilsMockRecorder) MakeDir(arg0, arg1 interface{}) *gomock.Call
MakeDir indicates an expected call of MakeDir.
func (*MockCSIProxyUtilsMockRecorder) Rmdir ¶
func (mr *MockCSIProxyUtilsMockRecorder) Rmdir(arg0, arg1 interface{}) *gomock.Call
Rmdir indicates an expected call of Rmdir.
func (*MockCSIProxyUtilsMockRecorder) SMBMount ¶
func (mr *MockCSIProxyUtilsMockRecorder) SMBMount(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
SMBMount indicates an expected call of SMBMount.
func (*MockCSIProxyUtilsMockRecorder) SMBUnmount ¶
func (mr *MockCSIProxyUtilsMockRecorder) SMBUnmount(arg0, arg1, arg2 interface{}) *gomock.Call
SMBUnmount indicates an expected call of SMBUnmount.
type MockLUKSDeviceInterface ¶
type MockLUKSDeviceInterface struct {
// contains filtered or unexported fields
}
MockLUKSDeviceInterface is a mock of LUKSDeviceInterface interface.
func NewMockLUKSDeviceInterface ¶
func NewMockLUKSDeviceInterface(ctrl *gomock.Controller) *MockLUKSDeviceInterface
NewMockLUKSDeviceInterface creates a new mock instance.
func (*MockLUKSDeviceInterface) DevicePath ¶
func (m *MockLUKSDeviceInterface) DevicePath() string
DevicePath mocks base method.
func (*MockLUKSDeviceInterface) EXPECT ¶
func (m *MockLUKSDeviceInterface) EXPECT() *MockLUKSDeviceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLUKSDeviceInterface) IsLUKSFormatted ¶
func (m *MockLUKSDeviceInterface) IsLUKSFormatted(arg0 context.Context) (bool, error)
IsLUKSFormatted mocks base method.
func (*MockLUKSDeviceInterface) IsOpen ¶
func (m *MockLUKSDeviceInterface) IsOpen(arg0 context.Context) (bool, error)
IsOpen mocks base method.
func (*MockLUKSDeviceInterface) LUKSDeviceName ¶
func (m *MockLUKSDeviceInterface) LUKSDeviceName() string
LUKSDeviceName mocks base method.
func (*MockLUKSDeviceInterface) LUKSDevicePath ¶
func (m *MockLUKSDeviceInterface) LUKSDevicePath() string
LUKSDevicePath mocks base method.
func (*MockLUKSDeviceInterface) LUKSFormat ¶
func (m *MockLUKSDeviceInterface) LUKSFormat(arg0 context.Context, arg1 string) error
LUKSFormat mocks base method.
type MockLUKSDeviceInterfaceMockRecorder ¶
type MockLUKSDeviceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockLUKSDeviceInterfaceMockRecorder is the mock recorder for MockLUKSDeviceInterface.
func (*MockLUKSDeviceInterfaceMockRecorder) DevicePath ¶
func (mr *MockLUKSDeviceInterfaceMockRecorder) DevicePath() *gomock.Call
DevicePath indicates an expected call of DevicePath.
func (*MockLUKSDeviceInterfaceMockRecorder) IsLUKSFormatted ¶
func (mr *MockLUKSDeviceInterfaceMockRecorder) IsLUKSFormatted(arg0 interface{}) *gomock.Call
IsLUKSFormatted indicates an expected call of IsLUKSFormatted.
func (*MockLUKSDeviceInterfaceMockRecorder) IsOpen ¶
func (mr *MockLUKSDeviceInterfaceMockRecorder) IsOpen(arg0 interface{}) *gomock.Call
IsOpen indicates an expected call of IsOpen.
func (*MockLUKSDeviceInterfaceMockRecorder) LUKSDeviceName ¶
func (mr *MockLUKSDeviceInterfaceMockRecorder) LUKSDeviceName() *gomock.Call
LUKSDeviceName indicates an expected call of LUKSDeviceName.
func (*MockLUKSDeviceInterfaceMockRecorder) LUKSDevicePath ¶
func (mr *MockLUKSDeviceInterfaceMockRecorder) LUKSDevicePath() *gomock.Call
LUKSDevicePath indicates an expected call of LUKSDevicePath.
func (*MockLUKSDeviceInterfaceMockRecorder) LUKSFormat ¶
func (mr *MockLUKSDeviceInterfaceMockRecorder) LUKSFormat(arg0, arg1 interface{}) *gomock.Call
LUKSFormat indicates an expected call of LUKSFormat.
func (*MockLUKSDeviceInterfaceMockRecorder) Open ¶
func (mr *MockLUKSDeviceInterfaceMockRecorder) Open(arg0, arg1 interface{}) *gomock.Call
Open indicates an expected call of Open.