Versions in this module Expand all Collapse all v0 v0.5.3 Aug 13, 2025 v0.5.2 Aug 10, 2025 Changes in this version + func ConnectByUri(uri LibvirtUri) (*libvirt.Libvirt, error) + func ConnectByUriString(libvirtUri string) (*libvirt.Libvirt, error) + func DomainStateMeansStopped(state libvirt.DomainState) (res bool) + func NewDialerFromLibvirtUri(uri LibvirtUri) (dialer socket.Dialer, err error) + func NewTcpDialer(uri LibvirtUri) (*dialers.Remote, error) + func NewUnixDialer(uri LibvirtUri) *dialers.Local + func PollDomainState(ctx context.Context, period time.Duration, driver libvirt.Libvirt, ...) + type LibvirtUri struct + Driver string + ExtraParams map[string]string + Hostname string + Path string + Port string + Transport string + Username string + func (uri *LibvirtUri) GetExtra(p LibvirtUriExtraParam) (string, bool) + func (uri *LibvirtUri) Marshal() (result string) + func (uri *LibvirtUri) Name() (result string) + func (uri *LibvirtUri) Unmarshal(s string) error + type LibvirtUriExtraParam string + const LibvirtUriParam_Keyfile + const LibvirtUriParam_KnownHost + const LibvirtUriParam_Mode + const LibvirtUriParam_Name + const LibvirtUriParam_NoVerify + const LibvirtUriParam_PkiPath + const LibvirtUriParam_Socket + const LibvirtUriParam_TlsPriority + type SshDialer struct + func NewSshDialer(uri LibvirtUri) (dialer *SshDialer, err error) + func (dialer *SshDialer) Dial() (net.Conn, error) + type TlsDialer struct + func NewTlsDialer(uri LibvirtUri) (dialer *TlsDialer, err error) + func (dialer *TlsDialer) Dial() (net.Conn, error)