blob: 5623cde29eb39e351713f2877eb5a5caca7d1a6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package libvirt
import "github.com/libvirt/libvirt-go"
// Domain Interface used to expose a libvirt.Domain
// Used to allow testing
type Domain interface {
QemuAgentCommand(command string, timeout libvirt.DomainQemuAgentCommandTimeout, flags uint32) (string, error)
}
// Network interface used to expose a libvirt.Network
type Network interface {
GetXMLDesc(flags libvirt.NetworkXMLFlags) (string, error)
}
|