libvirt

package
v0.0.0-...-54690b2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLibvirt

func NewLibvirt(URI string) (driver.Driver, error)

NewLibvirt return a driver implementing the driver interface

Types

type Domain

type Domain struct {
	// contains filtered or unexported fields
}

func (Domain) Name

func (d Domain) Name() (string, error)

func (Domain) XML

func (d Domain) XML() (string, error)

type Libvirt

type Libvirt struct {
	// contains filtered or unexported fields
}

func (Libvirt) Close

func (l Libvirt) Close() error

func (Libvirt) GetDomain

func (l Libvirt) GetDomain(name string) (driver.Domain, error)

func (Libvirt) ListDomain

func (l Libvirt) ListDomain(opts driver.Options) ([]driver.Domain, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL