Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudConfig ¶
type CloudConfig struct { Global GlobalOpts Disk DiskOpts Workspace WorkspaceOpts VirtualCenter map[string]*VirtualCenterConfig }
CloudConfig is used to read and store information from the cloud configuration file
func (*CloudConfig) ToString ¶
func (cc *CloudConfig) ToString() (string, error)
ToString renders the cloud configuration as string.
type GlobalOpts ¶
type RawConfig ¶
type RawConfig struct { TemplateVMName types.ConfigVarString `json:"templateVMName"` VMNetName types.ConfigVarString `json:"vmNetName"` Username types.ConfigVarString `json:"username"` Password types.ConfigVarString `json:"password"` VSphereURL types.ConfigVarString `json:"vsphereURL"` Datacenter types.ConfigVarString `json:"datacenter"` Cluster types.ConfigVarString `json:"cluster"` Folder types.ConfigVarString `json:"folder"` // Either Datastore or DatastoreCluster have to be provided. DatastoreCluster types.ConfigVarString `json:"datastoreCluster"` Datastore types.ConfigVarString `json:"datastore"` AllowInsecure types.ConfigVarBool `json:"allowInsecure"` }
type VirtualCenterConfig ¶
Click to show internal directories.
Click to hide internal directories.