Documentation ¶
Index ¶
Constants ¶
View Source
const ( StoragePolicyName = "storagepolicyname" // hostfailurestotolerate parameter is deprecated as of Kubernetes v1.19.0 HostFailuresToTolerateCapability = "hostfailurestotolerate" // forceprovisioning parameter is deprecated as of Kubernetes v1.19.0 ForceProvisioningCapability = "forceprovisioning" // cachereservation parameter is deprecated as of Kubernetes v1.19.0 CacheReservationCapability = "cachereservation" // diskstripes parameter is deprecated as of Kubernetes v1.19.0 DiskStripesCapability = "diskstripes" // objectspacereservation parameter is deprecated as of Kubernetes v1.19.0 ObjectSpaceReservationCapability = "objectspacereservation" // iopslimit parameter is deprecated as of Kubernetes v1.19.0 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, selectedNode *v1.Node, 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.