Documentation
¶
Overview ¶
Package mock_controller_helpers is a generated GoMock package.
Index ¶
- type MockControllerHelper
- func (m *MockControllerHelper) EXPECT() *MockControllerHelperMockRecorder
- func (m *MockControllerHelper) GetNodePublicationState(arg0 context.Context, arg1 string) (*models.NodePublicationStateFlags, error)
- func (m *MockControllerHelper) GetNodeTopologyLabels(arg0 context.Context, arg1 string) (map[string]string, error)
- func (m *MockControllerHelper) GetSnapshotConfigForCreate(arg0, arg1 string) (*storage.SnapshotConfig, error)
- func (m *MockControllerHelper) GetSnapshotConfigForImport(arg0 context.Context, arg1, arg2 string) (*storage.SnapshotConfig, error)
- func (m *MockControllerHelper) GetVolumeConfig(arg0 context.Context, arg1 string, arg2 int64, arg3 map[string]string, ...) (*storage.VolumeConfig, error)
- func (m *MockControllerHelper) IsTopologyInUse(arg0 context.Context) bool
- func (m *MockControllerHelper) IsValidResourceName(arg0 string) bool
- func (m *MockControllerHelper) RecordNodeEvent(arg0 context.Context, arg1, arg2, arg3, arg4 string)
- func (m *MockControllerHelper) RecordVolumeEvent(arg0 context.Context, arg1, arg2, arg3, arg4 string)
- func (m *MockControllerHelper) SupportsFeature(arg0 context.Context, arg1 controllerhelpers.Feature) bool
- func (m *MockControllerHelper) Version() string
- type MockControllerHelperMockRecorder
- func (mr *MockControllerHelperMockRecorder) GetNodePublicationState(arg0, arg1 any) *gomock.Call
- func (mr *MockControllerHelperMockRecorder) GetNodeTopologyLabels(arg0, arg1 any) *gomock.Call
- func (mr *MockControllerHelperMockRecorder) GetSnapshotConfigForCreate(arg0, arg1 any) *gomock.Call
- func (mr *MockControllerHelperMockRecorder) GetSnapshotConfigForImport(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockControllerHelperMockRecorder) GetVolumeConfig(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10 any) *gomock.Call
- func (mr *MockControllerHelperMockRecorder) IsTopologyInUse(arg0 any) *gomock.Call
- func (mr *MockControllerHelperMockRecorder) IsValidResourceName(arg0 any) *gomock.Call
- func (mr *MockControllerHelperMockRecorder) RecordNodeEvent(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
- func (mr *MockControllerHelperMockRecorder) RecordVolumeEvent(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
- func (mr *MockControllerHelperMockRecorder) SupportsFeature(arg0, arg1 any) *gomock.Call
- func (mr *MockControllerHelperMockRecorder) Version() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockControllerHelper ¶
type MockControllerHelper struct {
// contains filtered or unexported fields
}
MockControllerHelper is a mock of ControllerHelper interface.
func NewMockControllerHelper ¶
func NewMockControllerHelper(ctrl *gomock.Controller) *MockControllerHelper
NewMockControllerHelper creates a new mock instance.
func (*MockControllerHelper) EXPECT ¶
func (m *MockControllerHelper) EXPECT() *MockControllerHelperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockControllerHelper) GetNodePublicationState ¶
func (m *MockControllerHelper) GetNodePublicationState(arg0 context.Context, arg1 string) (*models.NodePublicationStateFlags, error)
GetNodePublicationState mocks base method.
func (*MockControllerHelper) GetNodeTopologyLabels ¶
func (m *MockControllerHelper) GetNodeTopologyLabels(arg0 context.Context, arg1 string) (map[string]string, error)
GetNodeTopologyLabels mocks base method.
func (*MockControllerHelper) GetSnapshotConfigForCreate ¶
func (m *MockControllerHelper) GetSnapshotConfigForCreate(arg0, arg1 string) (*storage.SnapshotConfig, error)
GetSnapshotConfigForCreate mocks base method.
func (*MockControllerHelper) GetSnapshotConfigForImport ¶
func (m *MockControllerHelper) GetSnapshotConfigForImport(arg0 context.Context, arg1, arg2 string) (*storage.SnapshotConfig, error)
GetSnapshotConfigForImport mocks base method.
func (*MockControllerHelper) GetVolumeConfig ¶
func (m *MockControllerHelper) 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 (*MockControllerHelper) IsTopologyInUse ¶
func (m *MockControllerHelper) IsTopologyInUse(arg0 context.Context) bool
IsTopologyInUse mocks base method.
func (*MockControllerHelper) IsValidResourceName ¶
func (m *MockControllerHelper) IsValidResourceName(arg0 string) bool
IsValidResourceName mocks base method.
func (*MockControllerHelper) RecordNodeEvent ¶
func (m *MockControllerHelper) RecordNodeEvent(arg0 context.Context, arg1, arg2, arg3, arg4 string)
RecordNodeEvent mocks base method.
func (*MockControllerHelper) RecordVolumeEvent ¶
func (m *MockControllerHelper) RecordVolumeEvent(arg0 context.Context, arg1, arg2, arg3, arg4 string)
RecordVolumeEvent mocks base method.
func (*MockControllerHelper) SupportsFeature ¶
func (m *MockControllerHelper) SupportsFeature(arg0 context.Context, arg1 controllerhelpers.Feature) bool
SupportsFeature mocks base method.
func (*MockControllerHelper) Version ¶
func (m *MockControllerHelper) Version() string
Version mocks base method.
type MockControllerHelperMockRecorder ¶
type MockControllerHelperMockRecorder struct {
// contains filtered or unexported fields
}
MockControllerHelperMockRecorder is the mock recorder for MockControllerHelper.
func (*MockControllerHelperMockRecorder) GetNodePublicationState ¶
func (mr *MockControllerHelperMockRecorder) GetNodePublicationState(arg0, arg1 any) *gomock.Call
GetNodePublicationState indicates an expected call of GetNodePublicationState.
func (*MockControllerHelperMockRecorder) GetNodeTopologyLabels ¶
func (mr *MockControllerHelperMockRecorder) GetNodeTopologyLabels(arg0, arg1 any) *gomock.Call
GetNodeTopologyLabels indicates an expected call of GetNodeTopologyLabels.
func (*MockControllerHelperMockRecorder) GetSnapshotConfigForCreate ¶
func (mr *MockControllerHelperMockRecorder) GetSnapshotConfigForCreate(arg0, arg1 any) *gomock.Call
GetSnapshotConfigForCreate indicates an expected call of GetSnapshotConfigForCreate.
func (*MockControllerHelperMockRecorder) GetSnapshotConfigForImport ¶
func (mr *MockControllerHelperMockRecorder) GetSnapshotConfigForImport(arg0, arg1, arg2 any) *gomock.Call
GetSnapshotConfigForImport indicates an expected call of GetSnapshotConfigForImport.
func (*MockControllerHelperMockRecorder) GetVolumeConfig ¶
func (mr *MockControllerHelperMockRecorder) GetVolumeConfig(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10 any) *gomock.Call
GetVolumeConfig indicates an expected call of GetVolumeConfig.
func (*MockControllerHelperMockRecorder) IsTopologyInUse ¶
func (mr *MockControllerHelperMockRecorder) IsTopologyInUse(arg0 any) *gomock.Call
IsTopologyInUse indicates an expected call of IsTopologyInUse.
func (*MockControllerHelperMockRecorder) IsValidResourceName ¶
func (mr *MockControllerHelperMockRecorder) IsValidResourceName(arg0 any) *gomock.Call
IsValidResourceName indicates an expected call of IsValidResourceName.
func (*MockControllerHelperMockRecorder) RecordNodeEvent ¶
func (mr *MockControllerHelperMockRecorder) RecordNodeEvent(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
RecordNodeEvent indicates an expected call of RecordNodeEvent.
func (*MockControllerHelperMockRecorder) RecordVolumeEvent ¶
func (mr *MockControllerHelperMockRecorder) RecordVolumeEvent(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
RecordVolumeEvent indicates an expected call of RecordVolumeEvent.
func (*MockControllerHelperMockRecorder) SupportsFeature ¶
func (mr *MockControllerHelperMockRecorder) SupportsFeature(arg0, arg1 any) *gomock.Call
SupportsFeature indicates an expected call of SupportsFeature.
func (*MockControllerHelperMockRecorder) Version ¶
func (mr *MockControllerHelperMockRecorder) Version() *gomock.Call
Version indicates an expected call of Version.
Directories
¶
Path | Synopsis |
---|---|
Package mock_kubernetes is a generated GoMock package.
|
Package mock_kubernetes is a generated GoMock package. |