gce

package
v0.0.0-...-b3a00ce Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2014 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCompute

func NewCompute() (*compute.Service, error)

Types

type VirtualMachineInfo

type VirtualMachineInfo struct {
	Name    string
	Address string
}

type VirtualMachineManager

type VirtualMachineManager interface {
	NewMachine(spec *VirtualMachineSpec) (*VirtualMachineInfo, error)
}

func NewGceManager

func NewGceManager() (VirtualMachineManager, error)

func NewGcutilManager

func NewGcutilManager(gcutilPath string) (VirtualMachineManager, error)

type VirtualMachineSpec

type VirtualMachineSpec struct {
	Name        string
	CpuLevel    int
	MemoryLevel int
	Image       string
}

func (*VirtualMachineSpec) GetName

func (self *VirtualMachineSpec) GetName() string

Jump to

Keyboard shortcuts

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