Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExecuteCommand ¶
type ExecuteCommand struct {
Execute string `json:"execute"`
}
ExecuteCommand represents QMP's execute command
type Node ¶
type Node interface { // Prepare initializes node volumes Prepare(context.Context, *util.Cache) error // Setup creates volumes and taps, and then run a virtual machine as a QEMU process Setup(context.Context, *Runtime, int, chan<- BMCInfo) (VM, string, error) // Taps returns Tap information Taps() map[string]string // Cleanup removes taps placemat added Cleanup() // CleanupGarbage cleanups all garbage CleanupGarbage(*Runtime) }
Node represents a virtual machine.
type QueryStatusResponse ¶
type QueryStatusResponse struct {
Return QueryStatusReturn `json:"return"`
}
QueryStatusResponse represents QMP's query-status command response
type QueryStatusReturn ¶
type QueryStatusReturn struct { Status string `json:"status"` Singlestep bool `json:"singlestep"` Running bool `json:"running"` }
QueryStatusReturn represents QMP's Return field
Click to show internal directories.
Click to hide internal directories.