Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(configVarResolver *providerconfig.ConfigVarResolver) cloud.Provider
New returns a VSphere provider
Types ¶
type RawConfig ¶
type RawConfig struct {
TemplateVMName providerconfig.ConfigVarString `json:"templateVMName"`
TemplateNetName providerconfig.ConfigVarString `json:"templateNetName"`
VMNetName providerconfig.ConfigVarString `json:"vmNetName"`
Username providerconfig.ConfigVarString `json:"username"`
Password providerconfig.ConfigVarString `json:"password"`
VSphereURL providerconfig.ConfigVarString `json:"vsphereURL"`
Datacenter providerconfig.ConfigVarString `json:"datacenter"`
Cluster providerconfig.ConfigVarString `json:"cluster"`
Folder providerconfig.ConfigVarString `json:"folder"`
Datastore providerconfig.ConfigVarString `json:"datastore"`
CPUs int32 `json:"cpus"`
MemoryMB int64 `json:"memoryMB"`
AllowInsecure providerconfig.ConfigVarBool `json:"allowInsecure"`
}
type VSphereServer ¶
type VSphereServer struct {
// contains filtered or unexported fields
}
func (VSphereServer) Addresses ¶
func (vsphereServer VSphereServer) Addresses() []string
func (VSphereServer) ID ¶
func (vsphereServer VSphereServer) ID() string
func (VSphereServer) Name ¶
func (vsphereServer VSphereServer) Name() string
func (VSphereServer) Status ¶
func (vsphereServer VSphereServer) Status() instance.Status
Click to show internal directories.
Click to hide internal directories.