Documentation ¶
Index ¶
Constants ¶
View Source
const ( // GeneratedFailureDomainName is a placeholder name when one wasn't provided. GeneratedFailureDomainName string = "generated-failure-domain" // GeneratedFailureDomainRegion is a placeholder region when one wasn't provided. GeneratedFailureDomainRegion string = "generated-region" // GeneratedFailureDomainZone is a placeholder zone when one wasn't provided. GeneratedFailureDomainZone string = "generated-zone" )
Variables ¶
This section is empty.
Functions ¶
func ConvertInstallConfig ¶
func ConvertInstallConfig(config *types.InstallConfig) error
ConvertInstallConfig modifies a given platform spec for the new requirements.
func GetFinder ¶ added in v0.90.0
GetFinder connects to vCenter via SOAP and returns the Finder object if the SOAP connection is successful. If the connection fails it returns nil. Errors are mostly ignored to support AI and agent installers.
func SetObjectPath ¶ added in v0.90.0
SetObjectPath based on the pathType will either determine the path for the type via a simple join of the datacenter, pathType and objectPath if finder is nil or via a connection to vCenter find of all child objects under the datacenter and pathType. pathType must only be "host", "vm", or "datastore".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.