nfs

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCSIDriver added in v1.0.3

func NewCSIDriver(name, version, nodeID, endpoint, maxstoragecapacity, nfsServer, nfsSharePoint, nfsLocalMountPoint, nfsLocalMountOptions, nfsSnapshotPath string, enableIdentityServer, enableControllerServer, enableNodeServer, debug bool) *nfsDriver

func ParseEndpoint

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

Types

type ControllerServer

type ControllerServer struct {
	Driver *nfsDriver
	// contains filtered or unexported fields
}

func NewControllerServer

func NewControllerServer(d *nfsDriver) *ControllerServer

func (*ControllerServer) ControllerGetCapabilities

ControllerGetCapabilities implements the default GRPC callout. Default supports all capabilities

func (*ControllerServer) ControllerGetVolume

func (*ControllerServer) CreateSnapshot

func (*ControllerServer) CreateVolume

func (*ControllerServer) DeleteSnapshot

func (*ControllerServer) DeleteVolume

func (*ControllerServer) GetCapacity

func (*ControllerServer) ListSnapshots

func (*ControllerServer) ListVolumes

type IdentityServer

type IdentityServer struct {
	Driver *nfsDriver
}

func NewIdentityServer

func NewIdentityServer(d *nfsDriver) *IdentityServer

func (*IdentityServer) GetPluginInfo

func (*IdentityServer) Probe

type NodeServer added in v1.0.3

type NodeServer struct {
	Driver *nfsDriver
	// contains filtered or unexported fields
}

func NewNodeServer

func NewNodeServer(n *nfsDriver) *NodeServer

func (*NodeServer) NodeExpandVolume added in v1.0.3

func (*NodeServer) NodeGetCapabilities added in v1.0.3

func (*NodeServer) NodeGetInfo added in v1.0.3

func (*NodeServer) NodeGetVolumeStats added in v1.0.3

func (*NodeServer) NodePublishVolume added in v1.0.3

func (*NodeServer) NodeStageVolume added in v1.0.3

func (*NodeServer) NodeUnpublishVolume added in v1.0.3

func (*NodeServer) NodeUnstageVolume added in v1.0.3

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(debug bool) NonBlockingGRPCServer

Jump to

Keyboard shortcuts

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