driver

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeServer added in v0.0.1

type NodeServer struct {
	*S3Driver
	Stats        utils.StatsUtils
	NodeID       string
	Mounter      mounter.NewMounterFactory
	MounterUtils mounterUtils.MounterUtils
}

Implements Node Server csi.NodeServer

func (*NodeServer) NodeExpandVolume added in v0.0.1

func (*NodeServer) NodeGetCapabilities added in v0.0.1

func (*NodeServer) NodeGetInfo added in v0.0.1

func (*NodeServer) NodeGetVolumeStats added in v0.0.1

func (*NodeServer) NodePublishVolume added in v0.0.1

func (*NodeServer) NodeStageVolume added in v0.0.1

func (*NodeServer) NodeUnpublishVolume added in v0.0.1

func (*NodeServer) NodeUnstageVolume added in v0.0.1

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()
}

NonBlockingGRPCServer Defines Non blocking GRPC server interfaces

func NewNonBlockingGRPCServer

func NewNonBlockingGRPCServer(mode string, logger *zap.Logger) NonBlockingGRPCServer

NewNonBlockingGRPCServer ...

type S3Driver

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

func Setups3Driver

func Setups3Driver(mode, name, version string, lgr *zap.Logger) (*S3Driver, error)

func (*S3Driver) AddControllerServiceCapabilities

func (driver *S3Driver) AddControllerServiceCapabilities(cl []csi.ControllerServiceCapability_RPC_Type) error

AddControllerServiceCapabilities ...

func (*S3Driver) AddNodeServiceCapabilities

func (driver *S3Driver) AddNodeServiceCapabilities(nl []csi.NodeServiceCapability_RPC_Type) error

AddNodeServiceCapabilities ...

func (*S3Driver) AddVolumeCapabilityAccessModes

func (driver *S3Driver) AddVolumeCapabilityAccessModes(vc []csi.VolumeCapability_AccessMode_Mode) error

AddVolumeCapabilityAccessModes ...

func (*S3Driver) NewS3CosDriver

func (driver *S3Driver) NewS3CosDriver(nodeID string, endpoint string, s3cosSession s3client.ObjectStorageSessionFactory, mountObj mounter.NewMounterFactory, statsUtil pkgUtils.StatsUtils, mounterUtil mounterUtils.MounterUtils) (*S3Driver, error)

func (*S3Driver) Run

func (driver *S3Driver) Run()

Jump to

Keyboard shortcuts

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