Documentation ¶
Index ¶
- type OpenStack
- func (this *OpenStack) BandwidthAccounting(vm *lobster.VirtualMachine) int64
- func (this *OpenStack) ImageDelete(imageIdentification string) error
- func (this *OpenStack) ImageFetch(url string, format string) (string, error)
- func (this *OpenStack) ImageInfo(imageIdentification string) (*lobster.ImageInfo, error)
- func (this *OpenStack) ImageList() ([]*lobster.Image, error)
- func (this *OpenStack) PlanList() ([]*lobster.Plan, error)
- func (this *OpenStack) VmAction(vm *lobster.VirtualMachine, action string, value string) error
- func (this *OpenStack) VmCreate(vm *lobster.VirtualMachine, options *lobster.VMIVmCreateOptions) (string, error)
- func (this *OpenStack) VmDelete(vm *lobster.VirtualMachine) error
- func (this *OpenStack) VmInfo(vm *lobster.VirtualMachine) (*lobster.VmInfo, error)
- func (this *OpenStack) VmReboot(vm *lobster.VirtualMachine) error
- func (this *OpenStack) VmReimage(vm *lobster.VirtualMachine, imageIdentification string) error
- func (this *OpenStack) VmRename(vm *lobster.VirtualMachine, name string) error
- func (this *OpenStack) VmSnapshot(vm *lobster.VirtualMachine) (string, error)
- func (this *OpenStack) VmStart(vm *lobster.VirtualMachine) error
- func (this *OpenStack) VmStop(vm *lobster.VirtualMachine) error
- func (this *OpenStack) VmVnc(vm *lobster.VirtualMachine) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenStack ¶
type OpenStack struct { ComputeClient *gophercloud.ServiceClient ImageClient *gophercloud.ServiceClient // contains filtered or unexported fields }
func MakeOpenStack ¶
func (*OpenStack) BandwidthAccounting ¶
func (this *OpenStack) BandwidthAccounting(vm *lobster.VirtualMachine) int64
func (*OpenStack) ImageDelete ¶
func (*OpenStack) ImageFetch ¶
func (*OpenStack) VmCreate ¶
func (this *OpenStack) VmCreate(vm *lobster.VirtualMachine, options *lobster.VMIVmCreateOptions) (string, error)
func (*OpenStack) VmReimage ¶
func (this *OpenStack) VmReimage(vm *lobster.VirtualMachine, imageIdentification string) error
func (*OpenStack) VmRename ¶
func (this *OpenStack) VmRename(vm *lobster.VirtualMachine, name string) error
func (*OpenStack) VmSnapshot ¶
func (this *OpenStack) VmSnapshot(vm *lobster.VirtualMachine) (string, error)
Click to show internal directories.
Click to hide internal directories.