mock_helpers

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: 6 Imported by: 0

Documentation

Overview

Package mock_helpers is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHybridPlugin

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

MockHybridPlugin is a mock of HybridPlugin interface.

func NewMockHybridPlugin

func NewMockHybridPlugin(ctrl *gomock.Controller) *MockHybridPlugin

NewMockHybridPlugin creates a new mock instance.

func (*MockHybridPlugin) EXPECT

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

func (*MockHybridPlugin) GetNodeTopologyLabels

func (m *MockHybridPlugin) GetNodeTopologyLabels(arg0 context.Context, arg1 string) (map[string]string, error)

GetNodeTopologyLabels mocks base method.

func (*MockHybridPlugin) GetSnapshotConfig

func (m *MockHybridPlugin) GetSnapshotConfig(arg0, arg1 string) (*storage.SnapshotConfig, error)

GetSnapshotConfig mocks base method.

func (*MockHybridPlugin) GetVolumeConfig

func (m *MockHybridPlugin) GetVolumeConfig(arg0 context.Context, arg1 string, arg2 int64, arg3 map[string]string, arg4 config.Protocol, arg5 []config.AccessMode, arg6 config.VolumeMode, arg7 string, arg8, arg9, arg10 []map[string]string) (*storage.VolumeConfig, error)

GetVolumeConfig mocks base method.

func (*MockHybridPlugin) RecordNodeEvent

func (m *MockHybridPlugin) RecordNodeEvent(arg0 context.Context, arg1, arg2, arg3, arg4 string)

RecordNodeEvent mocks base method.

func (*MockHybridPlugin) RecordVolumeEvent

func (m *MockHybridPlugin) RecordVolumeEvent(arg0 context.Context, arg1, arg2, arg3, arg4 string)

RecordVolumeEvent mocks base method.

func (*MockHybridPlugin) SupportsFeature

func (m *MockHybridPlugin) SupportsFeature(arg0 context.Context, arg1 helpers.Feature) bool

SupportsFeature mocks base method.

func (*MockHybridPlugin) Version

func (m *MockHybridPlugin) Version() string

Version mocks base method.

type MockHybridPluginMockRecorder

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

MockHybridPluginMockRecorder is the mock recorder for MockHybridPlugin.

func (*MockHybridPluginMockRecorder) GetNodeTopologyLabels

func (mr *MockHybridPluginMockRecorder) GetNodeTopologyLabels(arg0, arg1 interface{}) *gomock.Call

GetNodeTopologyLabels indicates an expected call of GetNodeTopologyLabels.

func (*MockHybridPluginMockRecorder) GetSnapshotConfig

func (mr *MockHybridPluginMockRecorder) GetSnapshotConfig(arg0, arg1 interface{}) *gomock.Call

GetSnapshotConfig indicates an expected call of GetSnapshotConfig.

func (*MockHybridPluginMockRecorder) GetVolumeConfig

func (mr *MockHybridPluginMockRecorder) GetVolumeConfig(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10 interface{}) *gomock.Call

GetVolumeConfig indicates an expected call of GetVolumeConfig.

func (*MockHybridPluginMockRecorder) RecordNodeEvent

func (mr *MockHybridPluginMockRecorder) RecordNodeEvent(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

RecordNodeEvent indicates an expected call of RecordNodeEvent.

func (*MockHybridPluginMockRecorder) RecordVolumeEvent

func (mr *MockHybridPluginMockRecorder) RecordVolumeEvent(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

RecordVolumeEvent indicates an expected call of RecordVolumeEvent.

func (*MockHybridPluginMockRecorder) SupportsFeature

func (mr *MockHybridPluginMockRecorder) SupportsFeature(arg0, arg1 interface{}) *gomock.Call

SupportsFeature indicates an expected call of SupportsFeature.

func (*MockHybridPluginMockRecorder) Version

func (mr *MockHybridPluginMockRecorder) Version() *gomock.Call

Version indicates an expected call of Version.

Jump to

Keyboard shortcuts

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