Documentation ¶
Overview ¶
Package driver provides the implementation of the CSI plugin.
It contains the gRPC server implementation of CSI specification.
Index ¶
Constants ¶
View Source
const ( ZoneKey = "topology." + DriverName + "/zone" HostKey = "topology." + DriverName + "/host" )
Topology keys
View Source
const (
DiskOfferingKey = DriverName + "/disk-offering-id"
)
Volume parameters keys
View Source
const DriverName = "csi.cloudstack.apache.org"
DriverName is the name of the CSI plugin
Variables ¶
This section is empty.
Functions ¶
func NewControllerServer ¶
func NewControllerServer(connector cloud.Interface) csi.ControllerServer
NewControllerServer creates a new Controller gRPC server.
func NewIdentityServer ¶
func NewIdentityServer(version string) csi.IdentityServer
NewIdentityServer creates a new Identity gRPC server.
func NewNodeServer ¶
func NewNodeServer(connector cloud.Interface, mounter mount.Interface, nodeName string) csi.NodeServer
NewNodeServer creates a new Node gRPC server.
Types ¶
type Interface ¶
type Interface interface { // Run the CSI driver gRPC server Run() error }
Interface is the CloudStack CSI driver interface.
type Topology ¶
Topology represents CloudStack storage topology.
func NewTopology ¶
NewTopology converts a *csi.Topology to Topology.
Click to show internal directories.
Click to hide internal directories.