mock_utils

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_utils is a generated GoMock package.

Package mock_utils is a generated GoMock package.

Index

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

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

func (m *MockCSIProxyUtils) EvalHostSymlinks(arg0 context.Context, arg1 string) (string, error)

EvalHostSymlinks mocks base method.

func (*MockCSIProxyUtils) ExistsPath

func (m *MockCSIProxyUtils) ExistsPath(arg0 context.Context, arg1 string) (bool, error)

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 (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

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.

func (*MockLUKSDeviceInterface) Open

func (m *MockLUKSDeviceInterface) Open(arg0 context.Context, arg1 string) error

Open mocks base method.

type MockLUKSDeviceInterfaceMockRecorder

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

MockLUKSDeviceInterfaceMockRecorder is the mock recorder for MockLUKSDeviceInterface.

func (*MockLUKSDeviceInterfaceMockRecorder) DevicePath

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.

Jump to

Keyboard shortcuts

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