driver

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseEndpoint

func ParseEndpoint(ep string) (string, string, error)

Types

type CSIDriver

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

func NewCSIDriver

func NewCSIDriver(name string, v string, nodeID string) *CSIDriver

func (*CSIDriver) AddControllerServiceCapabilities

func (d *CSIDriver) AddControllerServiceCapabilities(cl []csi.ControllerServiceCapability_RPC_Type)

func (*CSIDriver) AddVolumeCapabilityAccessModes

func (d *CSIDriver) AddVolumeCapabilityAccessModes(vc []csi.VolumeCapability_AccessMode_Mode) []*csi.VolumeCapability_AccessMode

func (*CSIDriver) GetVolumeCapabilityAccessModes

func (d *CSIDriver) GetVolumeCapabilityAccessModes() []*csi.VolumeCapability_AccessMode

func (*CSIDriver) ValidateControllerServiceRequest

func (d *CSIDriver) ValidateControllerServiceRequest(c csi.ControllerServiceCapability_RPC_Type) error

type ControllerServer

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

func (*ControllerServer) ControllerExpandVolume

ControllerExpandVolume

func (*ControllerServer) ControllerGetVolume

ControllerGetVolume unimplemented

func (*ControllerServer) ControllerPublishVolume

ControllerPublishVolume unimplemented

func (*ControllerServer) ControllerUnpublishVolume

ControllerUnpublishVolume unimplemented

func (*ControllerServer) CreateSnapshot

CreateSnapshot unimplemented

func (*ControllerServer) CreateVolume

func (*ControllerServer) DeleteSnapshot

DeleteSnapshot unimplemented

func (*ControllerServer) DeleteVolume

func (*ControllerServer) GetCapacity

GetCapacity

func (*ControllerServer) ListSnapshots

ListSnapshots unimplemented

func (*ControllerServer) ListVolumes

ListVolumes unimplemented

type DriveService

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

func New

func New(nodeID, providerString, endpoint string) (*DriveService, error)

New initializes the driver

func (*DriveService) Run

func (service *DriveService) Run()

type IdentityServer

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

func (*IdentityServer) GetPluginCapabilities

func (*IdentityServer) GetPluginInfo

func (*IdentityServer) Probe

type NodeServer

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

func (*NodeServer) NodeExpandVolume

NodeExpandVolume unimplemented

func (*NodeServer) NodeGetCapabilities

NodeGetCapabilities returns the supported capabilities of the node server

func (*NodeServer) NodeGetInfo

func (*NodeServer) NodeGetVolumeStats

NodeGetVolumeStats unimplemented

func (*NodeServer) NodePublishVolume

func (*NodeServer) NodeStageVolume

func (*NodeServer) NodeUnpublishVolume

func (*NodeServer) NodeUnstageVolume

type NonBlockingGRPCServer

type NonBlockingGRPCServer interface {
	// Start services at the endpoint
	Start(endpoint string, ids csi.IdentityServer, cs csi.ControllerServer, ns csi.NodeServer)
	// Waits for the service to stop
	Wait()
	// Stops the service gracefully
	Stop()
	// Stops the service forcefully
	ForceStop()
}

Defines Non blocking GRPC server interfaces

func NewNonBlockingGRPCServer

func NewNonBlockingGRPCServer() NonBlockingGRPCServer

Jump to

Keyboard shortcuts

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