package storage
import "k8s.io/kubernetes/test/e2e/storage"
Index ¶
- Constants
- func DeleteCinderVolume(name string) error
- func PerformVolumeLifeCycleInParallel(f *framework.Framework, client clientset.Interface, namespace string, instanceId string, sc *storageV1.StorageClass, iterations int, wg *sync.WaitGroup)
- func SIGDescribe(text string, body func()) bool
- type LocalVolumeType
Constants ¶
const ( InvalidDatastore = "invalidDatastore" DatastoreSCName = "datastoresc" )
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" )
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" )
const (
DiskSizeSCName = "disksizesc"
)
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
- Version
- v1.9.0-alpha.2
- Published
- Nov 1, 2017
- Platform
- js/wasm
- Imports
- 56 packages
- Last checked
- 12 minutes ago –
Tools for package owners.