Documentation ¶
Index ¶
Constants ¶
View Source
const ( MinNodes = 2 NodeStateTimeout = 1 * time.Minute )
View Source
const ( InvalidDatastore = "invalidDatastore" DatastoreSCName = "datastoresc" )
View Source
const ( Ext4FSType = "ext4" Ext3FSType = "ext3" InvalidFSType = "ext10" ExecCommand = "/bin/df -T /mnt/volume1 | /bin/awk 'FNR == 2 {print $2}' > /mnt/volume1/fstype && while true ; do sleep 2 ; done" )
View Source
const ( VmfsDatastore = "sharedVmfs-0" VsanDatastore = "vsanDatastore" Datastore = "datastore" Policy_DiskStripes = "diskStripes" Policy_HostFailuresToTolerate = "hostFailuresToTolerate" Policy_CacheReservation = "cacheReservation" Policy_ObjectSpaceReservation = "objectSpaceReservation" Policy_IopsLimit = "iopsLimit" DiskFormat = "diskformat" ThinDisk = "thin" SpbmStoragePolicy = "storagepolicyname" BronzeStoragePolicy = "bronze" HostFailuresToTolerateCapabilityVal = "0" CacheReservationCapabilityVal = "20" DiskStripesCapabilityVal = "1" ObjectSpaceReservationCapabilityVal = "30" IopsLimitCapabilityVal = "100" StripeWidthCapabilityVal = "2" DiskStripesCapabilityInvalidVal = "14" HostFailuresToTolerateCapabilityInvalidVal = "4" DummyVMPrefixName = "vsphere-k8s" DiskStripesCapabilityMaxVal = "11" )
View Source
const (
DiskSizeSCName = "disksizesc"
)
Variables ¶
This section is empty.
Functions ¶
func DeleteCinderVolume ¶
func PerformVolumeLifeCycleInParallel ¶
func PerformVolumeLifeCycleInParallel(f *framework.Framework, client clientset.Interface, namespace string, instanceId string, sc *storageV1.StorageClass, iterations int, wg *sync.WaitGroup)
goroutine to perform volume lifecycle operations in parallel
func SIGDescribe ¶
Types ¶
type LocalVolumeType ¶
type LocalVolumeType string
const ( // default local volume type, aka a directory DirectoryLocalVolumeType LocalVolumeType = "dir" // creates a tmpfs and mounts it TmpfsLocalVolumeType LocalVolumeType = "tmpfs" )
Source Files ¶
- empty_dir_wrapper.go
- flexvolume.go
- framework.go
- pd.go
- persistent_volumes-disruptive.go
- persistent_volumes-gce.go
- persistent_volumes-local.go
- persistent_volumes-vsphere.go
- persistent_volumes.go
- pv_reclaimpolicy.go
- pvc_label_selector.go
- volume_io.go
- volume_metrics.go
- volume_provisioning.go
- volumes.go
- vsphere_statefulsets.go
- vsphere_stress.go
- vsphere_utils.go
- vsphere_volume_cluster_ds.go
- vsphere_volume_datastore.go
- vsphere_volume_diskformat.go
- vsphere_volume_disksize.go
- vsphere_volume_fstype.go
- vsphere_volume_ops_storm.go
- vsphere_volume_placement.go
- vsphere_volume_vsan_policy.go
Click to show internal directories.
Click to hide internal directories.