cloug

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: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cloug

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

func MakeCloug

func MakeCloug(jsonData []byte, region string) (*Cloug, error)

func (*Cloug) BandwidthAccounting

func (cloug *Cloug) BandwidthAccounting(vm *lobster.VirtualMachine) int64

func (*Cloug) CanRename

func (cloug *Cloug) CanRename() bool

func (*Cloug) ImageDelete

func (cloug *Cloug) ImageDelete(imageIdentification string) error

func (*Cloug) ImageFetch

func (cloug *Cloug) ImageFetch(url string, format string) (string, error)

func (*Cloug) ImageInfo

func (cloug *Cloug) ImageInfo(imageIdentification string) (*lobster.ImageInfo, error)

func (*Cloug) ImageList

func (cloug *Cloug) ImageList() ([]*lobster.Image, error)

func (*Cloug) PlanList

func (cloug *Cloug) PlanList() ([]*lobster.Plan, error)

func (*Cloug) VmAction

func (cloug *Cloug) VmAction(vm *lobster.VirtualMachine, actionStr string, value string) error

func (*Cloug) VmAddAddress

func (cloug *Cloug) VmAddAddress(vm *lobster.VirtualMachine) error

func (*Cloug) VmAddresses

func (cloug *Cloug) VmAddresses(vm *lobster.VirtualMachine) ([]*lobster.IpAddress, error)

func (*Cloug) VmCreate

func (cloug *Cloug) VmCreate(vm *lobster.VirtualMachine, options *lobster.VMIVmCreateOptions) (string, error)

func (*Cloug) VmDelete

func (cloug *Cloug) VmDelete(vm *lobster.VirtualMachine) error

func (*Cloug) VmInfo

func (cloug *Cloug) VmInfo(vm *lobster.VirtualMachine) (*lobster.VmInfo, error)

func (*Cloug) VmReboot

func (cloug *Cloug) VmReboot(vm *lobster.VirtualMachine) error

func (*Cloug) VmReimage

func (cloug *Cloug) VmReimage(vm *lobster.VirtualMachine, imageIdentification string) error

func (*Cloug) VmRemoveAddress

func (cloug *Cloug) VmRemoveAddress(vm *lobster.VirtualMachine, ip string, privateip string) error

func (*Cloug) VmRename

func (cloug *Cloug) VmRename(vm *lobster.VirtualMachine, name string) error

func (*Cloug) VmResize

func (cloug *Cloug) VmResize(vm *lobster.VirtualMachine, plan *lobster.Plan) error

func (*Cloug) VmSetRdns

func (cloug *Cloug) VmSetRdns(vm *lobster.VirtualMachine, ip string, hostname string) error

func (*Cloug) VmSnapshot

func (cloug *Cloug) VmSnapshot(vm *lobster.VirtualMachine) (string, error)

func (*Cloug) VmStart

func (cloug *Cloug) VmStart(vm *lobster.VirtualMachine) error

func (*Cloug) VmStop

func (cloug *Cloug) VmStop(vm *lobster.VirtualMachine) error

func (*Cloug) VmVnc

func (cloug *Cloug) VmVnc(vm *lobster.VirtualMachine) (string, error)

type Config

type Config struct {
	Region    string `json:"region"`
	NetworkID string `json:"network_id"`
}

Jump to

Keyboard shortcuts

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