Versions in this module Expand all Collapse all v0 v0.2.0 Jan 15, 2019 Changes in this version + var ErrDomainNotFound = errors.New("Domain not found") + var ErrLibVirtConIsNil = errors.New("the libvirt connection was nil") + var ErrVolumeNotFound = errors.New("Domain not found") + func HasDHCP(net libvirtxml.Network) bool + type Client interface + Close func() error + CreateDomain func(CreateDomainInput) error + CreateVolume func(CreateVolumeInput) error + DeleteDomain func(name string) error + DeleteVolume func(name string) error + DomainExists func(name string) (bool, error) + LookupDomainByName func(name string) (*libvirt.Domain, error) + VolumeExists func(name string) (bool, error) + func NewClient(URI string) (Client, error) + type Config struct + URI string + type CreateDomainInput struct + AddressRange int + Autostart bool + CloudInit *providerconfigv1.CloudInit + CloudInitVolumeName string + DomainMemory int + DomainName string + DomainVcpu int + HostName string + IgnKey string + Ignition *providerconfigv1.Ignition + IgnitionVolumeName string + KubeClient kubernetes.Interface + MachineNamespace string + NetworkInterfaceAddress string + NetworkInterfaceName string + VolumeName string + VolumePoolName string + type CreateVolumeInput struct + BaseVolumeID string + PoolName string + Source string + VolumeFormat string + VolumeName string + type LibvirtClientBuilderFuncType func(URI string) (Client, error) + type Network interface + GetXMLDesc func(flags libvirt.NetworkXMLFlags) (string, error)