Versions in this module Expand all Collapse all v1 v1.16.3 Nov 9, 2022 Changes in this version + const AttachOp + const BronzeStoragePolicy + const CacheReservationCapabilityVal + const ClusterComputeResourceType + const CreateOp + const DatacenterType + const Datastore + const DatastoreSCName + const DefaultDiskCapacityKB + const DefaultDiskFormat + const DefaultSCSIControllerType + const DeleteOp + const DetachOp + const DiskFormat + const DiskSizeSCName + const DiskStripesCapabilityInvalidVal + const DiskStripesCapabilityMaxVal + const DiskStripesCapabilityVal + const DummyDiskName + const DummyVMPrefixName + const ExecCommand + const Ext3FSType + const Ext4FSType + const HostFailuresToTolerateCapabilityInvalidVal + const HostFailuresToTolerateCapabilityVal + const HostSystemType + const InvalidDatastore + const InvalidFSType + const IopsLimitCapabilityVal + const KubernetesClusterName + const NodeLabelKey + const ObjectSpaceReservationCapabilityVal + const Policy_CacheReservation + const Policy_DiskStripes + const Policy_HostFailuresToTolerate + const Policy_IopsLimit + const Policy_ObjectSpaceReservation + const ProviderPrefix + const SCSIUnitsAvailablePerNode + const SPBMPolicyDataStoreCluster + const SPBMPolicyName + const SPBMTagPolicy + const SecondSharedDatastore + const SpbmStoragePolicy + const StorageClassDatastoreName + const StripeWidthCapabilityVal + const ThinDisk + const VCPClusterDatastore + const VCPPerfIterations + const VCPPerfVolumeCount + const VCPPerfVolumesPerPod + const VCPScaleInstances + const VCPScaleVolumeCount + const VCPScaleVolumesPerPod + const VCPStressInstances + const VCPStressIterations + const VCPZoneA + const VCPZoneB + const VCPZoneC + const VCPZoneCompatPolicyName + const VCPZoneD + const VCPZoneNonCompatPolicyName + const VCPZoneVsanDatastore1 + const VCPZoneVsanDatastore2 + const VirtualMachineType + const VmfsDatastore + const VolDir + const VsanDatastore + func Bootstrap(fw *framework.Framework) + func Connect(ctx context.Context, vs *VSphere) error + func GetAndExpectIntEnvVar(varName string) int + func GetAndExpectStringEnvVar(varName string) string + func GetVSphereInstances() (map[string]*VSphere, error) + func NewClient(ctx context.Context, vs *VSphere) (*govmomi.Client, error) + func PerformVolumeLifeCycleInParallel(f *framework.Framework, client clientset.Interface, namespace string, ...) + func VolumeCreateAndAttach(client clientset.Interface, namespace string, sc []*storagev1.StorageClass, ...) + type Config struct + Datacenters string + DefaultDatastore string + Folder string + Hostname string + Password string + Port string + RoundTripperCount uint + Username string + type ConfigFile struct + Disk struct{ ... } + Global struct{ ... } + Network struct{ ... } + VirtualCenter map[string]*Config + Workspace struct{ ... } + type NodeInfo struct + DataCenterRef types.ManagedObjectReference + HostSystemRef types.ManagedObjectReference + Name string + VSphere *VSphere + VirtualMachineRef types.ManagedObjectReference + Zones []string + func GetReadySchedulableNodeInfos() []*NodeInfo + func GetReadySchedulableRandomNodeInfo() *NodeInfo + type NodeMapper struct + func (nm *NodeMapper) GenerateNodeMap(vSphereInstances map[string]*VSphere, nodeList v1.NodeList) error + func (nm *NodeMapper) GenerateZoneToDatastoreMap() error + func (nm *NodeMapper) GetDatastoresInZone(vc string, zone string) []string + func (nm *NodeMapper) GetNodeInfo(nodeName string) *NodeInfo + func (nm *NodeMapper) SetNodeInfo(nodeName string, nodeInfo *NodeInfo) + type NodeSelector struct + type VSphere struct + Client *govmomi.Client + Config *Config + func (vs *VSphere) CreateVolume(volumeOptions *VolumeOptions, dataCenterRef types.ManagedObjectReference) (string, error) + func (vs *VSphere) DeleteVolume(volumePath string, dataCenterRef types.ManagedObjectReference) error + func (vs *VSphere) GetAllDatacenter(ctx context.Context) ([]*object.Datacenter, error) + func (vs *VSphere) GetDatacenter(ctx context.Context, datacenterPath string) (*object.Datacenter, error) + func (vs *VSphere) GetDatacenterFromObjectReference(ctx context.Context, dc object.Reference) *object.Datacenter + func (vs *VSphere) GetDatastoreRefFromName(ctx context.Context, dc object.Reference, datastoreName string) (types.ManagedObjectReference, error) + func (vs *VSphere) GetDatastoresMountedOnHost(ctx context.Context, host types.ManagedObjectReference) []types.ManagedObjectReference + func (vs *VSphere) GetFolderByPath(ctx context.Context, dc object.Reference, folderPath string) (vmFolderMor types.ManagedObjectReference, err error) + func (vs *VSphere) GetHostFromVMReference(ctx context.Context, vm types.ManagedObjectReference) types.ManagedObjectReference + func (vs *VSphere) GetVMByUUID(ctx context.Context, vmUUID string, dc object.Reference) (object.Reference, error) + func (vs *VSphere) IsVMPresent(vmName string, dataCenterRef types.ManagedObjectReference) (isVMPresent bool, err error) + type VSphereContext struct + NodeMapper *NodeMapper + VSphereInstances map[string]*VSphere + var TestContext VSphereContext + type VolumeOptions struct + CapacityKB int + Datastore string + DiskFormat string + Name string + SCSIControllerType string