Documentation ¶
Index ¶
- type Fake
- func (this *Fake) BandwidthAccounting(vm *lobster.VirtualMachine) int64
- func (this *Fake) CanVnc() bool
- func (this *Fake) ImageDelete(imageIdentification string) error
- func (this *Fake) ImageFetch(url string, format string) (string, error)
- func (this *Fake) ImageInfo(imageIdentification string) (*lobster.ImageInfo, error)
- func (this *Fake) ImageList() ([]*lobster.Image, error)
- func (this *Fake) VmAction(vm *lobster.VirtualMachine, action string, value string) error
- func (this *Fake) VmAddAddress(vm *lobster.VirtualMachine) error
- func (this *Fake) VmAddresses(vm *lobster.VirtualMachine) ([]*lobster.IpAddress, error)
- func (this *Fake) VmCreate(vm *lobster.VirtualMachine, options *lobster.VMIVmCreateOptions) (string, error)
- func (this *Fake) VmDelete(vm *lobster.VirtualMachine) error
- func (this *Fake) VmInfo(vm *lobster.VirtualMachine) (*lobster.VmInfo, error)
- func (this *Fake) VmReboot(vm *lobster.VirtualMachine) error
- func (this *Fake) VmReimage(vm *lobster.VirtualMachine, imageIdentification string) error
- func (this *Fake) VmRemoveAddress(vm *lobster.VirtualMachine, ip string, privateip string) error
- func (this *Fake) VmRename(vm *lobster.VirtualMachine, name string) error
- func (this *Fake) VmResize(vm *lobster.VirtualMachine, plan *lobster.Plan) error
- func (this *Fake) VmSetRdns(vm *lobster.VirtualMachine, ip string, hostname string) error
- func (this *Fake) VmSnapshot(vm *lobster.VirtualMachine) (string, error)
- func (this *Fake) VmStart(vm *lobster.VirtualMachine) error
- func (this *Fake) VmStop(vm *lobster.VirtualMachine) error
- func (this *Fake) VmVnc(vm *lobster.VirtualMachine) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fake ¶
type Fake struct { Bandwidth int64 // returned on BandwidthAccounting CountCreate int CountDelete int CountInfo int CountStart int CountStop int CountReboot int CountVnc int }
func (*Fake) BandwidthAccounting ¶
func (this *Fake) BandwidthAccounting(vm *lobster.VirtualMachine) int64
func (*Fake) ImageDelete ¶
func (*Fake) VmAddAddress ¶
func (this *Fake) VmAddAddress(vm *lobster.VirtualMachine) error
func (*Fake) VmAddresses ¶
func (*Fake) VmCreate ¶
func (this *Fake) VmCreate(vm *lobster.VirtualMachine, options *lobster.VMIVmCreateOptions) (string, error)
func (*Fake) VmReimage ¶
func (this *Fake) VmReimage(vm *lobster.VirtualMachine, imageIdentification string) error
func (*Fake) VmRemoveAddress ¶
func (*Fake) VmSnapshot ¶
func (this *Fake) VmSnapshot(vm *lobster.VirtualMachine) (string, error)
Click to show internal directories.
Click to hide internal directories.