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