package driver

import "k8s.io/kubernetes/test/e2e/storage/drivers/csi-test/driver"

Index

Variables

var (
	// ErrNoCredentials is the error when a secret is enabled but not passed in the request.
	ErrNoCredentials = errors.New("secret must be provided")
	// ErrAuthFailed is the error when the secret is incorrect.
	ErrAuthFailed = errors.New("authentication failed")
)

Types

type CSICreds

type CSICreds struct {
	CreateVolumeSecret                         string
	DeleteVolumeSecret                         string
	ControllerPublishVolumeSecret              string
	ControllerUnpublishVolumeSecret            string
	NodeStageVolumeSecret                      string
	NodePublishVolumeSecret                    string
	CreateSnapshotSecret                       string
	DeleteSnapshotSecret                       string
	ControllerValidateVolumeCapabilitiesSecret string
}

CSICreds is a driver specific secret type. Drivers can have a key-val pair of secrets. This mock driver has a single string secret with secretField as the key.

type CSIDriver

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

func NewCSIDriver

func NewCSIDriver(servers *CSIDriverServers) *CSIDriver

func (*CSIDriver) Address

func (c *CSIDriver) Address() string

func (*CSIDriver) Close

func (c *CSIDriver) Close()

func (*CSIDriver) IsRunning

func (c *CSIDriver) IsRunning() bool

func (*CSIDriver) SetDefaultCreds

func (c *CSIDriver) SetDefaultCreds()

SetDefaultCreds sets the default secrets for CSI creds.

func (*CSIDriver) Start

func (c *CSIDriver) Start(l net.Listener, interceptor grpc.UnaryServerInterceptor) error

Start runs a gRPC server with all enabled services. If an interceptor is give, then it will be used. Otherwise, an interceptor which handles simple credential checks and logs gRPC calls in JSON format will be used.

func (*CSIDriver) Stop

func (c *CSIDriver) Stop()

type CSIDriverServers

type CSIDriverServers struct {
	Controller csi.ControllerServer
	Identity   csi.IdentityServer
	Node       csi.NodeServer
}

CSIDriverServers is a unified driver component with both Controller and Node services.

type LogGRPC

type LogGRPC func(method string, request, reply interface{}, err error)

type MockCSIDriver

type MockCSIDriver struct {
	CSIDriver
	// contains filtered or unexported fields
}

func NewMockCSIDriver

func NewMockCSIDriver(servers *MockCSIDriverServers, interceptor grpc.UnaryServerInterceptor) *MockCSIDriver

func (*MockCSIDriver) Close

func (m *MockCSIDriver) Close()

func (*MockCSIDriver) Start

func (m *MockCSIDriver) Start() error

Start starts a new gRPC server listening on a random TCP loopback port.

func (*MockCSIDriver) StartOnAddress

func (m *MockCSIDriver) StartOnAddress(network, address string) error

StartOnAddress starts a new gRPC server listening on given address.

type MockCSIDriverServers

type MockCSIDriverServers struct {
	Controller *MockControllerServer
	Identity   *MockIdentityServer
	Node       *MockNodeServer
}

type MockControllerServer

type MockControllerServer struct {
	mock.Mock
}

MockControllerServer is an autogenerated mock type for the ControllerServer type

func NewMockControllerServer

func NewMockControllerServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockControllerServer

NewMockControllerServer creates a new instance of MockControllerServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockControllerServer) ControllerExpandVolume

ControllerExpandVolume provides a mock function with given fields: _a0, _a1

func (*MockControllerServer) ControllerGetCapabilities

ControllerGetCapabilities provides a mock function with given fields: _a0, _a1

func (*MockControllerServer) ControllerGetVolume

ControllerGetVolume provides a mock function with given fields: _a0, _a1

func (*MockControllerServer) ControllerModifyVolume

ControllerModifyVolume provides a mock function with given fields: _a0, _a1

func (*MockControllerServer) ControllerPublishVolume

ControllerPublishVolume provides a mock function with given fields: _a0, _a1

func (*MockControllerServer) ControllerUnpublishVolume

ControllerUnpublishVolume provides a mock function with given fields: _a0, _a1

func (*MockControllerServer) CreateSnapshot

CreateSnapshot provides a mock function with given fields: _a0, _a1

func (*MockControllerServer) CreateVolume

CreateVolume provides a mock function with given fields: _a0, _a1

func (*MockControllerServer) DeleteSnapshot

DeleteSnapshot provides a mock function with given fields: _a0, _a1

func (*MockControllerServer) DeleteVolume

DeleteVolume provides a mock function with given fields: _a0, _a1

func (*MockControllerServer) EXPECT

func (*MockControllerServer) GetCapacity

GetCapacity provides a mock function with given fields: _a0, _a1

func (*MockControllerServer) ListSnapshots

ListSnapshots provides a mock function with given fields: _a0, _a1

func (*MockControllerServer) ListVolumes

ListVolumes provides a mock function with given fields: _a0, _a1

func (*MockControllerServer) ValidateVolumeCapabilities

ValidateVolumeCapabilities provides a mock function with given fields: _a0, _a1

type MockControllerServer_ControllerExpandVolume_Call

type MockControllerServer_ControllerExpandVolume_Call struct {
	*mock.Call
}

MockControllerServer_ControllerExpandVolume_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ControllerExpandVolume'

func (*MockControllerServer_ControllerExpandVolume_Call) Return

func (*MockControllerServer_ControllerExpandVolume_Call) Run

func (*MockControllerServer_ControllerExpandVolume_Call) RunAndReturn

type MockControllerServer_ControllerGetCapabilities_Call

type MockControllerServer_ControllerGetCapabilities_Call struct {
	*mock.Call
}

MockControllerServer_ControllerGetCapabilities_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ControllerGetCapabilities'

func (*MockControllerServer_ControllerGetCapabilities_Call) Return

func (*MockControllerServer_ControllerGetCapabilities_Call) Run

func (*MockControllerServer_ControllerGetCapabilities_Call) RunAndReturn

type MockControllerServer_ControllerGetVolume_Call

type MockControllerServer_ControllerGetVolume_Call struct {
	*mock.Call
}

MockControllerServer_ControllerGetVolume_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ControllerGetVolume'

func (*MockControllerServer_ControllerGetVolume_Call) Return

func (*MockControllerServer_ControllerGetVolume_Call) Run

func (*MockControllerServer_ControllerGetVolume_Call) RunAndReturn

type MockControllerServer_ControllerModifyVolume_Call

type MockControllerServer_ControllerModifyVolume_Call struct {
	*mock.Call
}

MockControllerServer_ControllerModifyVolume_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ControllerModifyVolume'

func (*MockControllerServer_ControllerModifyVolume_Call) Return

func (*MockControllerServer_ControllerModifyVolume_Call) Run

func (*MockControllerServer_ControllerModifyVolume_Call) RunAndReturn

type MockControllerServer_ControllerPublishVolume_Call

type MockControllerServer_ControllerPublishVolume_Call struct {
	*mock.Call
}

MockControllerServer_ControllerPublishVolume_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ControllerPublishVolume'

func (*MockControllerServer_ControllerPublishVolume_Call) Return

func (*MockControllerServer_ControllerPublishVolume_Call) Run

func (*MockControllerServer_ControllerPublishVolume_Call) RunAndReturn

type MockControllerServer_ControllerUnpublishVolume_Call

type MockControllerServer_ControllerUnpublishVolume_Call struct {
	*mock.Call
}

MockControllerServer_ControllerUnpublishVolume_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ControllerUnpublishVolume'

func (*MockControllerServer_ControllerUnpublishVolume_Call) Return

func (*MockControllerServer_ControllerUnpublishVolume_Call) Run

func (*MockControllerServer_ControllerUnpublishVolume_Call) RunAndReturn

type MockControllerServer_CreateSnapshot_Call

type MockControllerServer_CreateSnapshot_Call struct {
	*mock.Call
}

MockControllerServer_CreateSnapshot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateSnapshot'

func (*MockControllerServer_CreateSnapshot_Call) Return

func (*MockControllerServer_CreateSnapshot_Call) Run

func (*MockControllerServer_CreateSnapshot_Call) RunAndReturn

type MockControllerServer_CreateVolume_Call

type MockControllerServer_CreateVolume_Call struct {
	*mock.Call
}

MockControllerServer_CreateVolume_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateVolume'

func (*MockControllerServer_CreateVolume_Call) Return

func (*MockControllerServer_CreateVolume_Call) Run

func (*MockControllerServer_CreateVolume_Call) RunAndReturn

type MockControllerServer_DeleteSnapshot_Call

type MockControllerServer_DeleteSnapshot_Call struct {
	*mock.Call
}

MockControllerServer_DeleteSnapshot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSnapshot'

func (*MockControllerServer_DeleteSnapshot_Call) Return

func (*MockControllerServer_DeleteSnapshot_Call) Run

func (*MockControllerServer_DeleteSnapshot_Call) RunAndReturn

type MockControllerServer_DeleteVolume_Call

type MockControllerServer_DeleteVolume_Call struct {
	*mock.Call
}

MockControllerServer_DeleteVolume_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteVolume'

func (*MockControllerServer_DeleteVolume_Call) Return

func (*MockControllerServer_DeleteVolume_Call) Run

func (*MockControllerServer_DeleteVolume_Call) RunAndReturn

type MockControllerServer_Expecter

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

func (*MockControllerServer_Expecter) ControllerExpandVolume

func (_e *MockControllerServer_Expecter) ControllerExpandVolume(_a0 interface{}, _a1 interface{}) *MockControllerServer_ControllerExpandVolume_Call

ControllerExpandVolume is a helper method to define mock.On call

func (*MockControllerServer_Expecter) ControllerGetCapabilities

func (_e *MockControllerServer_Expecter) ControllerGetCapabilities(_a0 interface{}, _a1 interface{}) *MockControllerServer_ControllerGetCapabilities_Call

ControllerGetCapabilities is a helper method to define mock.On call

func (*MockControllerServer_Expecter) ControllerGetVolume

func (_e *MockControllerServer_Expecter) ControllerGetVolume(_a0 interface{}, _a1 interface{}) *MockControllerServer_ControllerGetVolume_Call

ControllerGetVolume is a helper method to define mock.On call

func (*MockControllerServer_Expecter) ControllerModifyVolume

func (_e *MockControllerServer_Expecter) ControllerModifyVolume(_a0 interface{}, _a1 interface{}) *MockControllerServer_ControllerModifyVolume_Call

ControllerModifyVolume is a helper method to define mock.On call

func (*MockControllerServer_Expecter) ControllerPublishVolume

func (_e *MockControllerServer_Expecter) ControllerPublishVolume(_a0 interface{}, _a1 interface{}) *MockControllerServer_ControllerPublishVolume_Call

ControllerPublishVolume is a helper method to define mock.On call

func (*MockControllerServer_Expecter) ControllerUnpublishVolume

func (_e *MockControllerServer_Expecter) ControllerUnpublishVolume(_a0 interface{}, _a1 interface{}) *MockControllerServer_ControllerUnpublishVolume_Call

ControllerUnpublishVolume is a helper method to define mock.On call

func (*MockControllerServer_Expecter) CreateSnapshot

func (_e *MockControllerServer_Expecter) CreateSnapshot(_a0 interface{}, _a1 interface{}) *MockControllerServer_CreateSnapshot_Call

CreateSnapshot is a helper method to define mock.On call

func (*MockControllerServer_Expecter) CreateVolume

func (_e *MockControllerServer_Expecter) CreateVolume(_a0 interface{}, _a1 interface{}) *MockControllerServer_CreateVolume_Call

CreateVolume is a helper method to define mock.On call

func (*MockControllerServer_Expecter) DeleteSnapshot

func (_e *MockControllerServer_Expecter) DeleteSnapshot(_a0 interface{}, _a1 interface{}) *MockControllerServer_DeleteSnapshot_Call

DeleteSnapshot is a helper method to define mock.On call

func (*MockControllerServer_Expecter) DeleteVolume

func (_e *MockControllerServer_Expecter) DeleteVolume(_a0 interface{}, _a1 interface{}) *MockControllerServer_DeleteVolume_Call

DeleteVolume is a helper method to define mock.On call

func (*MockControllerServer_Expecter) GetCapacity

func (_e *MockControllerServer_Expecter) GetCapacity(_a0 interface{}, _a1 interface{}) *MockControllerServer_GetCapacity_Call

GetCapacity is a helper method to define mock.On call

func (*MockControllerServer_Expecter) ListSnapshots

func (_e *MockControllerServer_Expecter) ListSnapshots(_a0 interface{}, _a1 interface{}) *MockControllerServer_ListSnapshots_Call

ListSnapshots is a helper method to define mock.On call

func (*MockControllerServer_Expecter) ListVolumes

func (_e *MockControllerServer_Expecter) ListVolumes(_a0 interface{}, _a1 interface{}) *MockControllerServer_ListVolumes_Call

ListVolumes is a helper method to define mock.On call

func (*MockControllerServer_Expecter) ValidateVolumeCapabilities

func (_e *MockControllerServer_Expecter) ValidateVolumeCapabilities(_a0 interface{}, _a1 interface{}) *MockControllerServer_ValidateVolumeCapabilities_Call

ValidateVolumeCapabilities is a helper method to define mock.On call

type MockControllerServer_GetCapacity_Call

type MockControllerServer_GetCapacity_Call struct {
	*mock.Call
}

MockControllerServer_GetCapacity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCapacity'

func (*MockControllerServer_GetCapacity_Call) Return

func (*MockControllerServer_GetCapacity_Call) Run

func (*MockControllerServer_GetCapacity_Call) RunAndReturn

type MockControllerServer_ListSnapshots_Call

type MockControllerServer_ListSnapshots_Call struct {
	*mock.Call
}

MockControllerServer_ListSnapshots_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSnapshots'

func (*MockControllerServer_ListSnapshots_Call) Return

func (*MockControllerServer_ListSnapshots_Call) Run

func (*MockControllerServer_ListSnapshots_Call) RunAndReturn

type MockControllerServer_ListVolumes_Call

type MockControllerServer_ListVolumes_Call struct {
	*mock.Call
}

MockControllerServer_ListVolumes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListVolumes'

func (*MockControllerServer_ListVolumes_Call) Return

func (*MockControllerServer_ListVolumes_Call) Run

func (*MockControllerServer_ListVolumes_Call) RunAndReturn

type MockControllerServer_ValidateVolumeCapabilities_Call

type MockControllerServer_ValidateVolumeCapabilities_Call struct {
	*mock.Call
}

MockControllerServer_ValidateVolumeCapabilities_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidateVolumeCapabilities'

func (*MockControllerServer_ValidateVolumeCapabilities_Call) Return

func (*MockControllerServer_ValidateVolumeCapabilities_Call) Run

func (*MockControllerServer_ValidateVolumeCapabilities_Call) RunAndReturn

type MockIdentityServer

type MockIdentityServer struct {
	mock.Mock
}

MockIdentityServer is an autogenerated mock type for the IdentityServer type

func NewMockIdentityServer

func NewMockIdentityServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockIdentityServer

NewMockIdentityServer creates a new instance of MockIdentityServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockIdentityServer) EXPECT

func (*MockIdentityServer) GetPluginCapabilities

GetPluginCapabilities provides a mock function with given fields: _a0, _a1

func (*MockIdentityServer) GetPluginInfo

GetPluginInfo provides a mock function with given fields: _a0, _a1

func (*MockIdentityServer) Probe

Probe provides a mock function with given fields: _a0, _a1

type MockIdentityServer_Expecter

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

func (*MockIdentityServer_Expecter) GetPluginCapabilities

func (_e *MockIdentityServer_Expecter) GetPluginCapabilities(_a0 interface{}, _a1 interface{}) *MockIdentityServer_GetPluginCapabilities_Call

GetPluginCapabilities is a helper method to define mock.On call

func (*MockIdentityServer_Expecter) GetPluginInfo

func (_e *MockIdentityServer_Expecter) GetPluginInfo(_a0 interface{}, _a1 interface{}) *MockIdentityServer_GetPluginInfo_Call

GetPluginInfo is a helper method to define mock.On call

func (*MockIdentityServer_Expecter) Probe

func (_e *MockIdentityServer_Expecter) Probe(_a0 interface{}, _a1 interface{}) *MockIdentityServer_Probe_Call

Probe is a helper method to define mock.On call

type MockIdentityServer_GetPluginCapabilities_Call

type MockIdentityServer_GetPluginCapabilities_Call struct {
	*mock.Call
}

MockIdentityServer_GetPluginCapabilities_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPluginCapabilities'

func (*MockIdentityServer_GetPluginCapabilities_Call) Return

func (*MockIdentityServer_GetPluginCapabilities_Call) Run

func (*MockIdentityServer_GetPluginCapabilities_Call) RunAndReturn

type MockIdentityServer_GetPluginInfo_Call

type MockIdentityServer_GetPluginInfo_Call struct {
	*mock.Call
}

MockIdentityServer_GetPluginInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPluginInfo'

func (*MockIdentityServer_GetPluginInfo_Call) Return

func (*MockIdentityServer_GetPluginInfo_Call) Run

func (*MockIdentityServer_GetPluginInfo_Call) RunAndReturn

type MockIdentityServer_Probe_Call

type MockIdentityServer_Probe_Call struct {
	*mock.Call
}

MockIdentityServer_Probe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Probe'

func (*MockIdentityServer_Probe_Call) Return

func (*MockIdentityServer_Probe_Call) Run

func (*MockIdentityServer_Probe_Call) RunAndReturn

type MockNodeServer

type MockNodeServer struct {
	mock.Mock
}

MockNodeServer is an autogenerated mock type for the NodeServer type

func NewMockNodeServer

func NewMockNodeServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockNodeServer

NewMockNodeServer creates a new instance of MockNodeServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockNodeServer) EXPECT

func (*MockNodeServer) NodeExpandVolume

NodeExpandVolume provides a mock function with given fields: _a0, _a1

func (*MockNodeServer) NodeGetCapabilities

NodeGetCapabilities provides a mock function with given fields: _a0, _a1

func (*MockNodeServer) NodeGetInfo

NodeGetInfo provides a mock function with given fields: _a0, _a1

func (*MockNodeServer) NodeGetVolumeStats

NodeGetVolumeStats provides a mock function with given fields: _a0, _a1

func (*MockNodeServer) NodePublishVolume

NodePublishVolume provides a mock function with given fields: _a0, _a1

func (*MockNodeServer) NodeStageVolume

NodeStageVolume provides a mock function with given fields: _a0, _a1

func (*MockNodeServer) NodeUnpublishVolume

NodeUnpublishVolume provides a mock function with given fields: _a0, _a1

func (*MockNodeServer) NodeUnstageVolume

NodeUnstageVolume provides a mock function with given fields: _a0, _a1

type MockNodeServer_Expecter

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

func (*MockNodeServer_Expecter) NodeExpandVolume

func (_e *MockNodeServer_Expecter) NodeExpandVolume(_a0 interface{}, _a1 interface{}) *MockNodeServer_NodeExpandVolume_Call

NodeExpandVolume is a helper method to define mock.On call

func (*MockNodeServer_Expecter) NodeGetCapabilities

func (_e *MockNodeServer_Expecter) NodeGetCapabilities(_a0 interface{}, _a1 interface{}) *MockNodeServer_NodeGetCapabilities_Call

NodeGetCapabilities is a helper method to define mock.On call

func (*MockNodeServer_Expecter) NodeGetInfo

func (_e *MockNodeServer_Expecter) NodeGetInfo(_a0 interface{}, _a1 interface{}) *MockNodeServer_NodeGetInfo_Call

NodeGetInfo is a helper method to define mock.On call

func (*MockNodeServer_Expecter) NodeGetVolumeStats

func (_e *MockNodeServer_Expecter) NodeGetVolumeStats(_a0 interface{}, _a1 interface{}) *MockNodeServer_NodeGetVolumeStats_Call

NodeGetVolumeStats is a helper method to define mock.On call

func (*MockNodeServer_Expecter) NodePublishVolume

func (_e *MockNodeServer_Expecter) NodePublishVolume(_a0 interface{}, _a1 interface{}) *MockNodeServer_NodePublishVolume_Call

NodePublishVolume is a helper method to define mock.On call

func (*MockNodeServer_Expecter) NodeStageVolume

func (_e *MockNodeServer_Expecter) NodeStageVolume(_a0 interface{}, _a1 interface{}) *MockNodeServer_NodeStageVolume_Call

NodeStageVolume is a helper method to define mock.On call

func (*MockNodeServer_Expecter) NodeUnpublishVolume

func (_e *MockNodeServer_Expecter) NodeUnpublishVolume(_a0 interface{}, _a1 interface{}) *MockNodeServer_NodeUnpublishVolume_Call

NodeUnpublishVolume is a helper method to define mock.On call

func (*MockNodeServer_Expecter) NodeUnstageVolume

func (_e *MockNodeServer_Expecter) NodeUnstageVolume(_a0 interface{}, _a1 interface{}) *MockNodeServer_NodeUnstageVolume_Call

NodeUnstageVolume is a helper method to define mock.On call

type MockNodeServer_NodeExpandVolume_Call

type MockNodeServer_NodeExpandVolume_Call struct {
	*mock.Call
}

MockNodeServer_NodeExpandVolume_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeExpandVolume'

func (*MockNodeServer_NodeExpandVolume_Call) Return

func (*MockNodeServer_NodeExpandVolume_Call) Run

func (*MockNodeServer_NodeExpandVolume_Call) RunAndReturn

type MockNodeServer_NodeGetCapabilities_Call

type MockNodeServer_NodeGetCapabilities_Call struct {
	*mock.Call
}

MockNodeServer_NodeGetCapabilities_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeGetCapabilities'

func (*MockNodeServer_NodeGetCapabilities_Call) Return

func (*MockNodeServer_NodeGetCapabilities_Call) Run

func (*MockNodeServer_NodeGetCapabilities_Call) RunAndReturn

type MockNodeServer_NodeGetInfo_Call

type MockNodeServer_NodeGetInfo_Call struct {
	*mock.Call
}

MockNodeServer_NodeGetInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeGetInfo'

func (*MockNodeServer_NodeGetInfo_Call) Return

func (*MockNodeServer_NodeGetInfo_Call) Run

func (*MockNodeServer_NodeGetInfo_Call) RunAndReturn

type MockNodeServer_NodeGetVolumeStats_Call

type MockNodeServer_NodeGetVolumeStats_Call struct {
	*mock.Call
}

MockNodeServer_NodeGetVolumeStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeGetVolumeStats'

func (*MockNodeServer_NodeGetVolumeStats_Call) Return

func (*MockNodeServer_NodeGetVolumeStats_Call) Run

func (*MockNodeServer_NodeGetVolumeStats_Call) RunAndReturn

type MockNodeServer_NodePublishVolume_Call

type MockNodeServer_NodePublishVolume_Call struct {
	*mock.Call
}

MockNodeServer_NodePublishVolume_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodePublishVolume'

func (*MockNodeServer_NodePublishVolume_Call) Return

func (*MockNodeServer_NodePublishVolume_Call) Run

func (*MockNodeServer_NodePublishVolume_Call) RunAndReturn

type MockNodeServer_NodeStageVolume_Call

type MockNodeServer_NodeStageVolume_Call struct {
	*mock.Call
}

MockNodeServer_NodeStageVolume_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeStageVolume'

func (*MockNodeServer_NodeStageVolume_Call) Return

func (*MockNodeServer_NodeStageVolume_Call) Run

func (*MockNodeServer_NodeStageVolume_Call) RunAndReturn

type MockNodeServer_NodeUnpublishVolume_Call

type MockNodeServer_NodeUnpublishVolume_Call struct {
	*mock.Call
}

MockNodeServer_NodeUnpublishVolume_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeUnpublishVolume'

func (*MockNodeServer_NodeUnpublishVolume_Call) Return

func (*MockNodeServer_NodeUnpublishVolume_Call) Run

func (*MockNodeServer_NodeUnpublishVolume_Call) RunAndReturn

type MockNodeServer_NodeUnstageVolume_Call

type MockNodeServer_NodeUnstageVolume_Call struct {
	*mock.Call
}

MockNodeServer_NodeUnstageVolume_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeUnstageVolume'

func (*MockNodeServer_NodeUnstageVolume_Call) Return

func (*MockNodeServer_NodeUnstageVolume_Call) Run

func (*MockNodeServer_NodeUnstageVolume_Call) RunAndReturn

Source Files

driver.go mock.go mock_controller_server.go mock_identity_server.go mock_node_server.go

Version
v1.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
11 packages
Last checked
5 hours ago

Tools for package owners.