Documentation
¶
Index ¶
- Constants
- func DeleteVm(host string, vmId string) error
- func DeleteVmNamed(host string, vmName string) error
- func GetIpAddressOfVmNamed(host string, vmName string) (string, error)
- func ListVms(host string) (*[]string, error)
- func PowerOffVm(host string, vmId string) error
- func PowerOffVmNamed(host string, vmName string) error
- func PowerOnVm(host string, vmId string) error
- func PowerOnVmNamed(host string, vmName string) error
- func PowerStateOfVm(host string, vmId string) (string, error)
- func PowerStateOfVmNamed(host string, vmName string) (string, error)
- func VimCmdParseOutput(input string) string
Constants ¶
View Source
const VmStatePoweredOff string = "Powered off"
View Source
const VmStatePoweredOn string = "Powered on"
Variables ¶
This section is empty.
Functions ¶
func DeleteVmNamed ¶ added in v0.15.2
func PowerOffVm ¶
func PowerOffVmNamed ¶
func PowerOnVmNamed ¶
func PowerStateOfVm ¶ added in v0.15.2
func PowerStateOfVmNamed ¶ added in v0.15.2
func VimCmdParseOutput ¶ added in v0.19.0
Super sketchy function that attempts to convert the vim-cmd structured output into a JSON-looking string. From there, it can be fed into json.Unmarshal.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.