diff options
Diffstat (limited to 'libvirt/qemu_agent.go')
-rw-r--r-- | libvirt/qemu_agent.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libvirt/qemu_agent.go b/libvirt/qemu_agent.go index d89866a3..71fc6db1 100644 --- a/libvirt/qemu_agent.go +++ b/libvirt/qemu_agent.go @@ -7,16 +7,19 @@ import ( libvirt "github.com/libvirt/libvirt-go" ) + // QemuAgentInterfacesResponse type type QemuAgentInterfacesResponse struct { Interfaces []QemuAgentInterface `json:"return"` } + // QemuAgentInterface type type QemuAgentInterface struct { Name string `json:"name"` Hwaddr string `json:"hardware-address"` IPAddresses []QemuAgentInterfaceIPAddress `json:"ip-addresses"` } + // QemuAgentInterfaceIPAddress type type QemuAgentInterfaceIPAddress struct { Type string `json:"ip-address-type"` |