Documentation ¶
Overview ¶
Package multipath is a generated GoMock package.
Package multipath is a generated GoMock package.
Index ¶
- type MockMultipath
- func (m *MockMultipath) AddPath(ctx context.Context, path string) error
- func (m *MockMultipath) AddWWID(ctx context.Context, wwid string) error
- func (m *MockMultipath) DelPath(ctx context.Context, path string) error
- func (m *MockMultipath) EXPECT() *MockMultipathMockRecorder
- func (m *MockMultipath) FlushDevice(ctx context.Context, deviceMapName string) error
- func (m *MockMultipath) GetDMWWID(ctx context.Context, deviceMapName string) (string, error)
- func (m *MockMultipath) IsDaemonRunning(ctx context.Context) bool
- type MockMultipathMockRecorder
- func (mr *MockMultipathMockRecorder) AddPath(ctx, path interface{}) *gomock.Call
- func (mr *MockMultipathMockRecorder) AddWWID(ctx, wwid interface{}) *gomock.Call
- func (mr *MockMultipathMockRecorder) DelPath(ctx, path interface{}) *gomock.Call
- func (mr *MockMultipathMockRecorder) FlushDevice(ctx, deviceMapName interface{}) *gomock.Call
- func (mr *MockMultipathMockRecorder) GetDMWWID(ctx, deviceMapName interface{}) *gomock.Call
- func (mr *MockMultipathMockRecorder) IsDaemonRunning(ctx interface{}) *gomock.Call
- type Multipath
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMultipath ¶
type MockMultipath struct {
// contains filtered or unexported fields
}
MockMultipath is a mock of Multipath interface
func NewMockMultipath ¶
func NewMockMultipath(ctrl *gomock.Controller) *MockMultipath
NewMockMultipath creates a new mock instance
func (*MockMultipath) AddPath ¶
func (m *MockMultipath) AddPath(ctx context.Context, path string) error
AddPath mocks base method
func (*MockMultipath) AddWWID ¶
func (m *MockMultipath) AddWWID(ctx context.Context, wwid string) error
AddWWID mocks base method
func (*MockMultipath) DelPath ¶
func (m *MockMultipath) DelPath(ctx context.Context, path string) error
DelPath mocks base method
func (*MockMultipath) EXPECT ¶
func (m *MockMultipath) EXPECT() *MockMultipathMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMultipath) FlushDevice ¶
func (m *MockMultipath) FlushDevice(ctx context.Context, deviceMapName string) error
FlushDevice mocks base method
func (*MockMultipath) IsDaemonRunning ¶
func (m *MockMultipath) IsDaemonRunning(ctx context.Context) bool
IsDaemonRunning mocks base method
type MockMultipathMockRecorder ¶
type MockMultipathMockRecorder struct {
// contains filtered or unexported fields
}
MockMultipathMockRecorder is the mock recorder for MockMultipath
func (*MockMultipathMockRecorder) AddPath ¶
func (mr *MockMultipathMockRecorder) AddPath(ctx, path interface{}) *gomock.Call
AddPath indicates an expected call of AddPath
func (*MockMultipathMockRecorder) AddWWID ¶
func (mr *MockMultipathMockRecorder) AddWWID(ctx, wwid interface{}) *gomock.Call
AddWWID indicates an expected call of AddWWID
func (*MockMultipathMockRecorder) DelPath ¶
func (mr *MockMultipathMockRecorder) DelPath(ctx, path interface{}) *gomock.Call
DelPath indicates an expected call of DelPath
func (*MockMultipathMockRecorder) FlushDevice ¶
func (mr *MockMultipathMockRecorder) FlushDevice(ctx, deviceMapName interface{}) *gomock.Call
FlushDevice indicates an expected call of FlushDevice
func (*MockMultipathMockRecorder) GetDMWWID ¶
func (mr *MockMultipathMockRecorder) GetDMWWID(ctx, deviceMapName interface{}) *gomock.Call
GetDMWWID indicates an expected call of GetDMWWID
func (*MockMultipathMockRecorder) IsDaemonRunning ¶
func (mr *MockMultipathMockRecorder) IsDaemonRunning(ctx interface{}) *gomock.Call
IsDaemonRunning indicates an expected call of IsDaemonRunning
type Multipath ¶
type Multipath interface { AddWWID(ctx context.Context, wwid string) error AddPath(ctx context.Context, path string) error DelPath(ctx context.Context, path string) error FlushDevice(ctx context.Context, deviceMapName string) error IsDaemonRunning(ctx context.Context) bool GetDMWWID(ctx context.Context, deviceMapName string) (string, error) }
Multipath defines methods for multipath related operations