Documentation ¶
Index ¶
Constants ¶
View Source
const ( //CloudConf file name CloudConf = "vsphere.conf" //CloudConfTemplate use to create CloudConf CloudConfTemplate = `` /* 398-byte string literal not displayed */ // EnvClusterVCenter URL EnvClusterVCenter = "GODOG_VSPHERE_CLUSTER_VCENTER" //EnvClusterPrefix used to create cluster uniqueness EnvClusterPrefix = "GODOG_VSPHERE_CLUSTER_PREFIX" //EnvClusterFolder name in vCenter where virtual machine should be in EnvClusterFolder = "GODOG_VSPHERE_CLUSTER_FOLDER" //EnvClusterDataCenter name in vCenter where virtual machine should be in EnvClusterDataCenter = "GODOG_VSPHERE_CLUSTER_DATACENTER" // EnvClusterDataStore name in vCenter to use by cluster EnvClusterDataStore = "GODOG_VSPHERE_CLUSTER_DATASTORE" // EnvClusterResourcePool path in vCenter EnvClusterResourcePool = "GODOG_VSPHERE_CLUSTER_RESOURCEPOOL" // EnvClusterRegion name in vCenter EnvClusterRegion = "GODOG_VSPHERE_CLUSTER_REGION" // EnvClusterZone name in vCenter EnvClusterZone = "GODOG_VSPHERE_CLUSTER_ZONE" // EnvUser name use to login vCenter EnvUser = "GODOG_VSPHERE_USER" // EnvPassword use to login vCenter EnvPassword = "GODOG_VSPHERE_PASSWORD" )
Variables ¶
This section is empty.
Functions ¶
func InitializeScenario ¶
func InitializeScenario(ctx *godog.ScenarioContext)
InitializeScenario initialize feature object and steps
Types ¶
type Config ¶
type Config struct { VCenter string // vCenter URL ClusterFolder string // vCenter virtual machines cluster folder name User string // vCenter login username Password string // vCenter login password DataCenter string // vCenter datacenter name DataStore string // vCenter datastore name ResourcePool string // vCenter resource pool path Region string // vCenter region Zone string // vCenter zone }
Config is the configuration object
Click to show internal directories.
Click to hide internal directories.