driver

package
v0.1.0-2 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package driver is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCSIDriver

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

func NewMockCSIDriver

func NewMockCSIDriver(servers *MockCSIDriverServers) *MockCSIDriver

func (*MockCSIDriver) Address

func (m *MockCSIDriver) Address() string

func (*MockCSIDriver) Close

func (m *MockCSIDriver) Close()

func (*MockCSIDriver) IsRunning

func (m *MockCSIDriver) IsRunning() bool

func (*MockCSIDriver) Nexus

func (m *MockCSIDriver) Nexus() (*grpc.ClientConn, error)

func (*MockCSIDriver) Start

func (m *MockCSIDriver) Start() error

func (*MockCSIDriver) Stop

func (m *MockCSIDriver) Stop()

type MockCSIDriverServers

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

type MockControllerServer

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

MockControllerServer is a mock of ControllerServer interface

func NewMockControllerServer

func NewMockControllerServer(ctrl *gomock.Controller) *MockControllerServer

NewMockControllerServer creates a new mock instance

func (*MockControllerServer) ControllerGetCapabilities

ControllerGetCapabilities mocks base method

func (*MockControllerServer) ControllerProbe

ControllerProbe mocks base method

func (*MockControllerServer) ControllerPublishVolume

ControllerPublishVolume mocks base method

func (*MockControllerServer) ControllerUnpublishVolume

ControllerUnpublishVolume mocks base method

func (*MockControllerServer) CreateVolume

CreateVolume mocks base method

func (*MockControllerServer) DeleteVolume

DeleteVolume mocks base method

func (*MockControllerServer) EXPECT

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

func (*MockControllerServer) GetCapacity

GetCapacity mocks base method

func (*MockControllerServer) ListVolumes

ListVolumes mocks base method

func (*MockControllerServer) ValidateVolumeCapabilities

ValidateVolumeCapabilities mocks base method

type MockControllerServerMockRecorder

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

MockControllerServerMockRecorder is the mock recorder for MockControllerServer

func (*MockControllerServerMockRecorder) ControllerGetCapabilities

func (mr *MockControllerServerMockRecorder) ControllerGetCapabilities(arg0, arg1 interface{}) *gomock.Call

ControllerGetCapabilities indicates an expected call of ControllerGetCapabilities

func (*MockControllerServerMockRecorder) ControllerProbe

func (mr *MockControllerServerMockRecorder) ControllerProbe(arg0, arg1 interface{}) *gomock.Call

ControllerProbe indicates an expected call of ControllerProbe

func (*MockControllerServerMockRecorder) ControllerPublishVolume

func (mr *MockControllerServerMockRecorder) ControllerPublishVolume(arg0, arg1 interface{}) *gomock.Call

ControllerPublishVolume indicates an expected call of ControllerPublishVolume

func (*MockControllerServerMockRecorder) ControllerUnpublishVolume

func (mr *MockControllerServerMockRecorder) ControllerUnpublishVolume(arg0, arg1 interface{}) *gomock.Call

ControllerUnpublishVolume indicates an expected call of ControllerUnpublishVolume

func (*MockControllerServerMockRecorder) CreateVolume

func (mr *MockControllerServerMockRecorder) CreateVolume(arg0, arg1 interface{}) *gomock.Call

CreateVolume indicates an expected call of CreateVolume

func (*MockControllerServerMockRecorder) DeleteVolume

func (mr *MockControllerServerMockRecorder) DeleteVolume(arg0, arg1 interface{}) *gomock.Call

DeleteVolume indicates an expected call of DeleteVolume

func (*MockControllerServerMockRecorder) GetCapacity

func (mr *MockControllerServerMockRecorder) GetCapacity(arg0, arg1 interface{}) *gomock.Call

GetCapacity indicates an expected call of GetCapacity

func (*MockControllerServerMockRecorder) ListVolumes

func (mr *MockControllerServerMockRecorder) ListVolumes(arg0, arg1 interface{}) *gomock.Call

ListVolumes indicates an expected call of ListVolumes

func (*MockControllerServerMockRecorder) ValidateVolumeCapabilities

func (mr *MockControllerServerMockRecorder) ValidateVolumeCapabilities(arg0, arg1 interface{}) *gomock.Call

ValidateVolumeCapabilities indicates an expected call of ValidateVolumeCapabilities

type MockIdentityServer

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

MockIdentityServer is a mock of IdentityServer interface

func NewMockIdentityServer

func NewMockIdentityServer(ctrl *gomock.Controller) *MockIdentityServer

NewMockIdentityServer creates a new mock instance

func (*MockIdentityServer) EXPECT

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

func (*MockIdentityServer) GetPluginInfo

GetPluginInfo mocks base method

func (*MockIdentityServer) GetSupportedVersions

GetSupportedVersions mocks base method

type MockIdentityServerMockRecorder

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

MockIdentityServerMockRecorder is the mock recorder for MockIdentityServer

func (*MockIdentityServerMockRecorder) GetPluginInfo

func (mr *MockIdentityServerMockRecorder) GetPluginInfo(arg0, arg1 interface{}) *gomock.Call

GetPluginInfo indicates an expected call of GetPluginInfo

func (*MockIdentityServerMockRecorder) GetSupportedVersions

func (mr *MockIdentityServerMockRecorder) GetSupportedVersions(arg0, arg1 interface{}) *gomock.Call

GetSupportedVersions indicates an expected call of GetSupportedVersions

type MockNodeServer

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

MockNodeServer is a mock of NodeServer interface

func NewMockNodeServer

func NewMockNodeServer(ctrl *gomock.Controller) *MockNodeServer

NewMockNodeServer creates a new mock instance

func (*MockNodeServer) EXPECT

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

func (*MockNodeServer) GetNodeID

GetNodeID mocks base method

func (*MockNodeServer) NodeGetCapabilities

NodeGetCapabilities mocks base method

func (*MockNodeServer) NodeProbe

NodeProbe mocks base method

func (*MockNodeServer) NodePublishVolume

NodePublishVolume mocks base method

func (*MockNodeServer) NodeUnpublishVolume

NodeUnpublishVolume mocks base method

type MockNodeServerMockRecorder

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

MockNodeServerMockRecorder is the mock recorder for MockNodeServer

func (*MockNodeServerMockRecorder) GetNodeID

func (mr *MockNodeServerMockRecorder) GetNodeID(arg0, arg1 interface{}) *gomock.Call

GetNodeID indicates an expected call of GetNodeID

func (*MockNodeServerMockRecorder) NodeGetCapabilities

func (mr *MockNodeServerMockRecorder) NodeGetCapabilities(arg0, arg1 interface{}) *gomock.Call

NodeGetCapabilities indicates an expected call of NodeGetCapabilities

func (*MockNodeServerMockRecorder) NodeProbe

func (mr *MockNodeServerMockRecorder) NodeProbe(arg0, arg1 interface{}) *gomock.Call

NodeProbe indicates an expected call of NodeProbe

func (*MockNodeServerMockRecorder) NodePublishVolume

func (mr *MockNodeServerMockRecorder) NodePublishVolume(arg0, arg1 interface{}) *gomock.Call

NodePublishVolume indicates an expected call of NodePublishVolume

func (*MockNodeServerMockRecorder) NodeUnpublishVolume

func (mr *MockNodeServerMockRecorder) NodeUnpublishVolume(arg0, arg1 interface{}) *gomock.Call

NodeUnpublishVolume indicates an expected call of NodeUnpublishVolume

Jump to

Keyboard shortcuts

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