mock_csiclient

package
v0.0.0-...-b702281 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_csiclient is a generated GoMock package.

Index

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

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.

Jump to

Keyboard shortcuts

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