Documentation
¶
Index ¶
- type NodeServerConfig
- type NonBlockingGRPCServer
- type S3Driver
- func (driver *S3Driver) AddControllerServiceCapabilities(cl []csi.ControllerServiceCapability_RPC_Type) error
- func (driver *S3Driver) AddNodeServiceCapabilities(nl []csi.NodeServiceCapability_RPC_Type) error
- func (driver *S3Driver) AddVolumeCapabilityAccessModes(vc []csi.VolumeCapability_AccessMode_Mode) error
- func (driver *S3Driver) NewS3CosDriver(nodeID string, endpoint string, ...) (*S3Driver, error)
- func (driver *S3Driver) Run()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeServerConfig ¶ added in v0.5.5
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 (*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)
Click to show internal directories.
Click to hide internal directories.