virtwrapper

package
v2.19.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connect

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

Connect wraps a libvirt connection.

func New

func New(conn *libvirt.Connect, networkName string) *Connect

New creates a new libvirt Connct wrapper.

func (*Connect) GetDHCPLeases

func (c *Connect) GetDHCPLeases() ([]dhcp.NetworkDHCPLease, error)

GetDHCPLeases returns the underlying DHCP leases.

Jump to

Keyboard shortcuts

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