Documentation ¶
Index ¶
Constants ¶
View Source
const ( StoragePolicyName = "storagepolicyname" HostFailuresToTolerateCapability = "hostfailurestotolerate" ForceProvisioningCapability = "forceprovisioning" CacheReservationCapability = "cachereservation" DiskStripesCapability = "diskstripes" ObjectSpaceReservationCapability = "objectspacereservation" IopsLimitCapability = "iopslimit" HostFailuresToTolerateCapabilityMin = 0 HostFailuresToTolerateCapabilityMax = 3 ForceProvisioningCapabilityMin = 0 ForceProvisioningCapabilityMax = 1 CacheReservationCapabilityMin = 0 CacheReservationCapabilityMax = 100 DiskStripesCapabilityMin = 1 DiskStripesCapabilityMax = 12 ObjectSpaceReservationCapabilityMin = 0 ObjectSpaceReservationCapabilityMax = 100 IopsLimitCapabilityMin = 0 )
Variables ¶
View Source
var ErrProbeVolume = errors.New("Error scanning attached volumes")
Functions ¶
func ProbeVolumePlugins ¶
func ProbeVolumePlugins() []volume.VolumePlugin
This is the primary entrypoint for volume plugins.
Types ¶
type VolumeSpec ¶ added in v1.7.0
type VsphereDiskUtil ¶
type VsphereDiskUtil struct{}
func (*VsphereDiskUtil) CreateVolume ¶
func (util *VsphereDiskUtil) CreateVolume(v *vsphereVolumeProvisioner, selectedZone []string) (volSpec *VolumeSpec, err error)
CreateVolume creates a vSphere volume.
func (*VsphereDiskUtil) DeleteVolume ¶
func (util *VsphereDiskUtil) DeleteVolume(vd *vsphereVolumeDeleter) error
DeleteVolume deletes a vSphere volume.
Click to show internal directories.
Click to hide internal directories.