Documentation
¶
Index ¶
- func CheckFileType(filePath string) (models.DiskType, error)
- func CreateVm(vmInfo models.PostApiV1VmsJSONRequestBody, socksPath string) (models.Vm, error)
- func DeleteVm(id uuid.UUID, sockPath string) error
- func GetAllVmInfo() ([]models.Vm, error)
- func GetVmPower(id uuid.UUID, path string) (models.VmPowerInfo, error)
- func HandleChangeVmPower(id uuid.UUID, reqBody models.PostChangeVMsPowerStatusByVMIdRequest, ...) error
- type ErrorWithStatus
- type InstallOpts
- type StartOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllVmInfo ¶
func GetVmPower ¶
func HandleChangeVmPower ¶
Types ¶
type ErrorWithStatus ¶
type ErrorWithStatus struct {
Code int //http status code
// contains filtered or unexported fields
}
type InstallOpts ¶
Click to show internal directories.
Click to hide internal directories.