mock_nvme

package
v0.0.0-...-58f6e79 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_nvme is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNVMeInterface

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

MockNVMeInterface is a mock of NVMeInterface interface.

func NewMockNVMeInterface

func NewMockNVMeInterface(ctrl *gomock.Controller) *MockNVMeInterface

NewMockNVMeInterface creates a new mock instance.

func (*MockNVMeInterface) AddPublishedNVMeSession

func (m *MockNVMeInterface) AddPublishedNVMeSession(arg0 *nvme.NVMeSessions, arg1 *models.VolumePublishInfo)

AddPublishedNVMeSession mocks base method.

func (*MockNVMeInterface) AttachNVMeVolume

func (m *MockNVMeInterface) AttachNVMeVolume(arg0 context.Context, arg1, arg2 string, arg3 *models.VolumePublishInfo, arg4 map[string]string) error

AttachNVMeVolume mocks base method.

func (*MockNVMeInterface) AttachNVMeVolumeRetry

func (m *MockNVMeInterface) AttachNVMeVolumeRetry(arg0 context.Context, arg1, arg2 string, arg3 *models.VolumePublishInfo, arg4 map[string]string, arg5 time.Duration) error

AttachNVMeVolumeRetry mocks base method.

func (*MockNVMeInterface) EXPECT

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

func (*MockNVMeInterface) GetHostNqn

func (m *MockNVMeInterface) GetHostNqn(arg0 context.Context) (string, error)

GetHostNqn mocks base method.

func (*MockNVMeInterface) GetNVMeDeviceList

func (m *MockNVMeInterface) GetNVMeDeviceList(arg0 context.Context) (nvme.NVMeDevices, error)

GetNVMeDeviceList mocks base method.

func (*MockNVMeInterface) GetNVMeSubsystem

func (m *MockNVMeInterface) GetNVMeSubsystem(arg0 context.Context, arg1 string) (*nvme.NVMeSubsystem, error)

GetNVMeSubsystem mocks base method.

func (*MockNVMeInterface) InspectNVMeSessions

func (m *MockNVMeInterface) InspectNVMeSessions(arg0 context.Context, arg1, arg2 *nvme.NVMeSessions) []nvme.NVMeSubsystem

InspectNVMeSessions mocks base method.

func (*MockNVMeInterface) NVMeActiveOnHost

func (m *MockNVMeInterface) NVMeActiveOnHost(arg0 context.Context) (bool, error)

NVMeActiveOnHost mocks base method.

func (*MockNVMeInterface) NVMeMountVolume

func (m *MockNVMeInterface) NVMeMountVolume(arg0 context.Context, arg1, arg2 string, arg3 *models.VolumePublishInfo, arg4 map[string]string) error

NVMeMountVolume mocks base method.

func (*MockNVMeInterface) NewNVMeSubsystem

func (m *MockNVMeInterface) NewNVMeSubsystem(arg0 context.Context, arg1 string) nvme.NVMeSubsystemInterface

NewNVMeSubsystem mocks base method.

func (*MockNVMeInterface) PopulateCurrentNVMeSessions

func (m *MockNVMeInterface) PopulateCurrentNVMeSessions(arg0 context.Context, arg1 *nvme.NVMeSessions) error

PopulateCurrentNVMeSessions mocks base method.

func (*MockNVMeInterface) RectifyNVMeSession

func (m *MockNVMeInterface) RectifyNVMeSession(arg0 context.Context, arg1 nvme.NVMeSubsystem, arg2 *nvme.NVMeSessions)

RectifyNVMeSession mocks base method.

func (*MockNVMeInterface) RemovePublishedNVMeSession

func (m *MockNVMeInterface) RemovePublishedNVMeSession(arg0 *nvme.NVMeSessions, arg1, arg2 string) bool

RemovePublishedNVMeSession mocks base method.

type MockNVMeInterfaceMockRecorder

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

MockNVMeInterfaceMockRecorder is the mock recorder for MockNVMeInterface.

func (*MockNVMeInterfaceMockRecorder) AddPublishedNVMeSession

func (mr *MockNVMeInterfaceMockRecorder) AddPublishedNVMeSession(arg0, arg1 any) *gomock.Call

AddPublishedNVMeSession indicates an expected call of AddPublishedNVMeSession.

func (*MockNVMeInterfaceMockRecorder) AttachNVMeVolume

func (mr *MockNVMeInterfaceMockRecorder) AttachNVMeVolume(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

AttachNVMeVolume indicates an expected call of AttachNVMeVolume.

func (*MockNVMeInterfaceMockRecorder) AttachNVMeVolumeRetry

func (mr *MockNVMeInterfaceMockRecorder) AttachNVMeVolumeRetry(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call

AttachNVMeVolumeRetry indicates an expected call of AttachNVMeVolumeRetry.

func (*MockNVMeInterfaceMockRecorder) GetHostNqn

func (mr *MockNVMeInterfaceMockRecorder) GetHostNqn(arg0 any) *gomock.Call

GetHostNqn indicates an expected call of GetHostNqn.

func (*MockNVMeInterfaceMockRecorder) GetNVMeDeviceList

func (mr *MockNVMeInterfaceMockRecorder) GetNVMeDeviceList(arg0 any) *gomock.Call

GetNVMeDeviceList indicates an expected call of GetNVMeDeviceList.

func (*MockNVMeInterfaceMockRecorder) GetNVMeSubsystem

func (mr *MockNVMeInterfaceMockRecorder) GetNVMeSubsystem(arg0, arg1 any) *gomock.Call

GetNVMeSubsystem indicates an expected call of GetNVMeSubsystem.

func (*MockNVMeInterfaceMockRecorder) InspectNVMeSessions

func (mr *MockNVMeInterfaceMockRecorder) InspectNVMeSessions(arg0, arg1, arg2 any) *gomock.Call

InspectNVMeSessions indicates an expected call of InspectNVMeSessions.

func (*MockNVMeInterfaceMockRecorder) NVMeActiveOnHost

func (mr *MockNVMeInterfaceMockRecorder) NVMeActiveOnHost(arg0 any) *gomock.Call

NVMeActiveOnHost indicates an expected call of NVMeActiveOnHost.

func (*MockNVMeInterfaceMockRecorder) NVMeMountVolume

func (mr *MockNVMeInterfaceMockRecorder) NVMeMountVolume(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

NVMeMountVolume indicates an expected call of NVMeMountVolume.

func (*MockNVMeInterfaceMockRecorder) NewNVMeSubsystem

func (mr *MockNVMeInterfaceMockRecorder) NewNVMeSubsystem(arg0, arg1 any) *gomock.Call

NewNVMeSubsystem indicates an expected call of NewNVMeSubsystem.

func (*MockNVMeInterfaceMockRecorder) PopulateCurrentNVMeSessions

func (mr *MockNVMeInterfaceMockRecorder) PopulateCurrentNVMeSessions(arg0, arg1 any) *gomock.Call

PopulateCurrentNVMeSessions indicates an expected call of PopulateCurrentNVMeSessions.

func (*MockNVMeInterfaceMockRecorder) RectifyNVMeSession

func (mr *MockNVMeInterfaceMockRecorder) RectifyNVMeSession(arg0, arg1, arg2 any) *gomock.Call

RectifyNVMeSession indicates an expected call of RectifyNVMeSession.

func (*MockNVMeInterfaceMockRecorder) RemovePublishedNVMeSession

func (mr *MockNVMeInterfaceMockRecorder) RemovePublishedNVMeSession(arg0, arg1, arg2 any) *gomock.Call

RemovePublishedNVMeSession indicates an expected call of RemovePublishedNVMeSession.

Jump to

Keyboard shortcuts

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