Documentation ¶
Index ¶
Constants ¶
View Source
const ( CinderDriverType = "cinder" CephDriverType = "ceph" LVMDriverType = "lvm" HuaweiDoradoDriverType = "huawei_dorado" HuaweiFusionStorageDriverType = "huawei_fusionstorage" DRBDDriverType = "drbd" )
These constants below represent the vendor name of all storage drivers which can be supported by now.
View Source
const ( ISCSIProtocol = "iscsi" DSWARE = "DSWARE" RBDProtocol = "rbd" FCProtocol = "fibre_channel" )
These constants below represent the access protocol type of all storage drivers which can be supported by now. Please NOTICE that currently these constants can NOT be used by all methods except InitializeConnection().
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PoolProperties ¶
type PoolProperties struct { // The storage type of the storage pool. // One of: "block", "file" or "object". StorageType string `yaml:"storageType,omitempty"` // The locality that pool belongs to. AvailabilityZone string `yaml:"availabilityZone,omitempty"` // Map of keys and StoragePoolExtraSpec object that represents the properties // of the pool, such as supported capabilities. // +optional Extras model.StoragePoolExtraSpec `yaml:"extras,omitempty"` // The volumes belong to the pool can be attached more than once. MultiAttach bool `yaml:"multiAttach,omitempty"` }
Click to show internal directories.
Click to hide internal directories.