Documentation ¶
Index ¶
- type API
- func (this *API) VmAddAddress(vmIdentification int) error
- func (this *API) VmConsole(vmIdentification int) (*APIVmConsoleResponse, error)
- func (this *API) VmCreate(virtType string, nodeGroup string, hostname string, imageIdentification string, ...) (int, string, error)
- func (this *API) VmDelete(vmIdentification int) error
- func (this *API) VmDiskSwap(vmIdentification int) error
- func (this *API) VmHostname(vmIdentification int, hostname string) error
- func (this *API) VmInfo(vmIdentification int) (*APIVmInfoResponse, error)
- func (this *API) VmReboot(vmIdentification int) error
- func (this *API) VmReimage(vmIdentification int, imageIdentification string) error
- func (this *API) VmRemoveAddress(vmIdentification int, ip string) error
- func (this *API) VmResizeCpu(vmIdentification int, cpu int) error
- func (this *API) VmResizeDisk(vmIdentification int, hdd int) error
- func (this *API) VmResizeMemory(vmIdentification int, memory int) error
- func (this *API) VmStart(vmIdentification int) error
- func (this *API) VmStop(vmIdentification int) error
- func (this *API) VmTunTap(vmIdentification int, enable bool) error
- func (this *API) VmVnc(vmIdentification int) (*APIVmVncResponse, error)
- type APIGenericResponse
- type APIVmConsoleResponse
- type APIVmCreateResponse
- type APIVmInfoResponse
- type APIVmVncResponse
- type ConsoleParams
- type SolusVM
- func (this *SolusVM) BandwidthAccounting(vm *lobster.VirtualMachine) int64
- func (this *SolusVM) ImageList() ([]*lobster.Image, error)
- func (this *SolusVM) VmAction(vm *lobster.VirtualMachine, action string, value string) error
- func (this *SolusVM) VmAddAddress(vm *lobster.VirtualMachine) error
- func (this *SolusVM) VmAddresses(vm *lobster.VirtualMachine) ([]*lobster.IpAddress, error)
- func (this *SolusVM) VmCreate(vm *lobster.VirtualMachine, options *lobster.VMIVmCreateOptions) (string, error)
- func (this *SolusVM) VmDelete(vm *lobster.VirtualMachine) error
- func (this *SolusVM) VmInfo(vm *lobster.VirtualMachine) (*lobster.VmInfo, error)
- func (this *SolusVM) VmReboot(vm *lobster.VirtualMachine) error
- func (this *SolusVM) VmReimage(vm *lobster.VirtualMachine, imageIdentification string) error
- func (this *SolusVM) VmRemoveAddress(vm *lobster.VirtualMachine, ip string, privateip string) error
- func (this *SolusVM) VmRename(vm *lobster.VirtualMachine, name string) error
- func (this *SolusVM) VmResize(vm *lobster.VirtualMachine, plan *lobster.Plan) error
- func (this *SolusVM) VmSetRdns(vm *lobster.VirtualMachine, ip string, hostname string) error
- func (this *SolusVM) VmStart(vm *lobster.VirtualMachine) error
- func (this *SolusVM) VmStop(vm *lobster.VirtualMachine) error
- func (this *SolusVM) VmVnc(vm *lobster.VirtualMachine) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { Url string ApiId string ApiKey string Insecure bool // InsecureSkipVerify true in tls.Config }
func (*API) VmAddAddress ¶
func (*API) VmConsole ¶
func (this *API) VmConsole(vmIdentification int) (*APIVmConsoleResponse, error)
func (*API) VmDiskSwap ¶
func (*API) VmRemoveAddress ¶
func (*API) VmResizeMemory ¶
type APIGenericResponse ¶
type APIVmConsoleResponse ¶
type APIVmCreateResponse ¶
type APIVmInfoResponse ¶
type APIVmVncResponse ¶
type ConsoleParams ¶
type SolusVM ¶
type SolusVM struct { VirtType string NodeGroup string Api *API // contains filtered or unexported fields }
func (*SolusVM) BandwidthAccounting ¶
func (this *SolusVM) BandwidthAccounting(vm *lobster.VirtualMachine) int64
func (*SolusVM) VmAddAddress ¶
func (this *SolusVM) VmAddAddress(vm *lobster.VirtualMachine) error
func (*SolusVM) VmAddresses ¶
func (*SolusVM) VmCreate ¶
func (this *SolusVM) VmCreate(vm *lobster.VirtualMachine, options *lobster.VMIVmCreateOptions) (string, error)
func (*SolusVM) VmReimage ¶
func (this *SolusVM) VmReimage(vm *lobster.VirtualMachine, imageIdentification string) error
func (*SolusVM) VmRemoveAddress ¶
func (*SolusVM) VmRename ¶
func (this *SolusVM) VmRename(vm *lobster.VirtualMachine, name string) error
Click to show internal directories.
Click to hide internal directories.