vsphere

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2018 License: Apache-2.0 Imports: 28 Imported by: 0

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
	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"`
	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

Jump to

Keyboard shortcuts

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