linode

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 Linode

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

func MakeLinode

func MakeLinode(apiKey string, datacenterID int) *Linode

func (*Linode) BandwidthAccounting

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

func (*Linode) ImageDelete

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

func (*Linode) ImageFetch

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

func (*Linode) ImageInfo

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

func (*Linode) ImageList

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

func (*Linode) PlanList

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

func (*Linode) VmAction

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

func (*Linode) VmCreate

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

func (*Linode) VmDelete

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

func (*Linode) VmInfo

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

func (*Linode) VmReboot

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

func (*Linode) VmSnapshot

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

func (*Linode) VmStart

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

func (*Linode) VmStop

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

Jump to

Keyboard shortcuts

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