Documentation ¶
Index ¶
- Constants
- Variables
- func Init()
- type Auto
- func (a *Auto) CreateVM(req *util.VMCreateRequest, vmid uuid.UUID) (err error)
- func (a *Auto) DeleteVM(vmid string) error
- func (a *Auto) GetHVSpecs() (hv models.HV, err error)
- func (a *Auto) GetLibvirtVM(vmid string) (vm models.VM, err error)
- func (a *Auto) GetLibvirtVMs() (vms []models.VM, err error)
- func (a *Auto) GetVMState(vmid string) (state models.VMState, err error)
- func (a *Auto) SetVMState(vmid string, state uint8) (respState models.VMState, err error)
- func (a *Auto) WSProxy(wsUrl *url.URL, w http.ResponseWriter, r *http.Request)
- func (a *Auto) WsReq(w http.ResponseWriter, r *http.Request, domid string)
Constants ¶
View Source
const ( Start uint8 = iota Reboot Poweroff Stop Reset )
Variables ¶
View Source
var TLSClient http.Client
The TLS client that we will use to talk to auto
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.