Documentation ¶
Overview ¶
Package mock_csiclient is a generated GoMock package.
Index ¶
- type MockCSIClient
- func (m *MockCSIClient) EXPECT() *MockCSIClientMockRecorder
- func (m *MockCSIClient) GetVolumeMetrics(arg0 context.Context, arg1, arg2 string) (*csiclient.Metrics, error)
- func (m *MockCSIClient) NodeGetCapabilities(arg0 context.Context) (*csi.NodeGetCapabilitiesResponse, error)
- func (m *MockCSIClient) NodeStageVolume(arg0 context.Context, arg1 string, arg2 map[string]string, arg3, arg4 string, ...) error
- func (m *MockCSIClient) NodeUnstageVolume(arg0 context.Context, arg1, arg2 string) error
- type MockCSIClientMockRecorder
- func (mr *MockCSIClientMockRecorder) GetVolumeMetrics(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCSIClientMockRecorder) NodeGetCapabilities(arg0 interface{}) *gomock.Call
- func (mr *MockCSIClientMockRecorder) NodeStageVolume(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 interface{}) *gomock.Call
- func (mr *MockCSIClientMockRecorder) NodeUnstageVolume(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCSIClient ¶
type MockCSIClient struct {
// contains filtered or unexported fields
}
MockCSIClient is a mock of CSIClient interface.
func NewMockCSIClient ¶
func NewMockCSIClient(ctrl *gomock.Controller) *MockCSIClient
NewMockCSIClient creates a new mock instance.
func (*MockCSIClient) EXPECT ¶
func (m *MockCSIClient) EXPECT() *MockCSIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCSIClient) GetVolumeMetrics ¶
func (m *MockCSIClient) GetVolumeMetrics(arg0 context.Context, arg1, arg2 string) (*csiclient.Metrics, error)
GetVolumeMetrics mocks base method.
func (*MockCSIClient) NodeGetCapabilities ¶
func (m *MockCSIClient) NodeGetCapabilities(arg0 context.Context) (*csi.NodeGetCapabilitiesResponse, error)
NodeGetCapabilities mocks base method.
func (*MockCSIClient) NodeStageVolume ¶
func (m *MockCSIClient) NodeStageVolume(arg0 context.Context, arg1 string, arg2 map[string]string, arg3, arg4 string, arg5 v1.PersistentVolumeAccessMode, arg6, arg7 map[string]string, arg8 []string, arg9 *int64) error
NodeStageVolume mocks base method.
func (*MockCSIClient) NodeUnstageVolume ¶
func (m *MockCSIClient) NodeUnstageVolume(arg0 context.Context, arg1, arg2 string) error
NodeUnstageVolume mocks base method.
type MockCSIClientMockRecorder ¶
type MockCSIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCSIClientMockRecorder is the mock recorder for MockCSIClient.
func (*MockCSIClientMockRecorder) GetVolumeMetrics ¶
func (mr *MockCSIClientMockRecorder) GetVolumeMetrics(arg0, arg1, arg2 interface{}) *gomock.Call
GetVolumeMetrics indicates an expected call of GetVolumeMetrics.
func (*MockCSIClientMockRecorder) NodeGetCapabilities ¶
func (mr *MockCSIClientMockRecorder) NodeGetCapabilities(arg0 interface{}) *gomock.Call
NodeGetCapabilities indicates an expected call of NodeGetCapabilities.
func (*MockCSIClientMockRecorder) NodeStageVolume ¶
func (mr *MockCSIClientMockRecorder) NodeStageVolume(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 interface{}) *gomock.Call
NodeStageVolume indicates an expected call of NodeStageVolume.
func (*MockCSIClientMockRecorder) NodeUnstageVolume ¶
func (mr *MockCSIClientMockRecorder) NodeUnstageVolume(arg0, arg1, arg2 interface{}) *gomock.Call
NodeUnstageVolume indicates an expected call of NodeUnstageVolume.