vsphere

package
v0.7.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2018 License: Apache-2.0 Imports: 28 Imported by: 1

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 Config

type Config struct {
	TemplateVMName  string
	TemplateNetName string
	VMNetName       string
	Username        string
	Password        string
	VSphereURL      string
	Datacenter      string
	Cluster         string
	Folder          string
	Datastore       string
	AllowInsecure   bool
	CPUs            int32
	MemoryMB        int64
}

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 Server added in v0.7.20

type Server struct {
	// contains filtered or unexported fields
}

func (Server) Addresses added in v0.7.20

func (vsphereServer Server) Addresses() []string

func (Server) ID added in v0.7.20

func (vsphereServer Server) ID() string

func (Server) Name added in v0.7.20

func (vsphereServer Server) Name() string

func (Server) Status added in v0.7.20

func (vsphereServer Server) Status() instance.Status

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL