vultr

package
v0.0.0-...-dd062b7 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vultr

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

func MakeVultr

func MakeVultr(apiKey string, regionId int) *Vultr

func (*Vultr) BandwidthAccounting

func (this *Vultr) BandwidthAccounting(vm *lobster.VirtualMachine) int64

func (*Vultr) ImageDelete

func (this *Vultr) ImageDelete(imageIdentification string) error

func (*Vultr) ImageFetch

func (this *Vultr) ImageFetch(url string, format string) (string, error)

func (*Vultr) ImageInfo

func (this *Vultr) ImageInfo(imageIdentification string) (*lobster.ImageInfo, error)

func (*Vultr) ImageList

func (this *Vultr) ImageList() ([]*lobster.Image, error)

func (*Vultr) PlanList

func (this *Vultr) PlanList() ([]*lobster.Plan, error)

func (*Vultr) VmAction

func (this *Vultr) VmAction(vm *lobster.VirtualMachine, action string, value string) error

func (*Vultr) VmCreate

func (this *Vultr) VmCreate(vm *lobster.VirtualMachine, options *lobster.VMIVmCreateOptions) (string, error)

func (*Vultr) VmDelete

func (this *Vultr) VmDelete(vm *lobster.VirtualMachine) error

func (*Vultr) VmInfo

func (this *Vultr) VmInfo(vm *lobster.VirtualMachine) (*lobster.VmInfo, error)

func (*Vultr) VmReboot

func (this *Vultr) VmReboot(vm *lobster.VirtualMachine) error

func (*Vultr) VmSnapshot

func (this *Vultr) VmSnapshot(vm *lobster.VirtualMachine) (string, error)

func (*Vultr) VmStart

func (this *Vultr) VmStart(vm *lobster.VirtualMachine) error

func (*Vultr) VmStop

func (this *Vultr) VmStop(vm *lobster.VirtualMachine) error

func (*Vultr) VmVnc

func (this *Vultr) VmVnc(vm *lobster.VirtualMachine) (string, error)

Jump to

Keyboard shortcuts

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