Documentation
¶
Overview ¶
Package libvirt composes the host's modular libvirt clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client constructs daemon-specific, independently bounded libvirt sessions. The returned clients own their connections; callers must close each one.
func NewWithConfig ¶
NewWithConfig constructs independent connectors for the configured daemons. No connection is made until Storage or Domain is called.
func (*Client) DomainConnector ¶
DomainConnector exposes the configured QEMU endpoint for long-lived lifecycle watches without changing the timeout of short-lived Domain sessions.
func (*Client) StorageVolumes ¶
StorageVolumes connects to the modular storage daemon with the budget volume work needs.
Creating or growing a volume is real filesystem work behind an RPC, unlike the pool metadata calls Storage is sized for.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package domain manages transient QEMU domains owned by this machine.
|
Package domain manages transient QEMU domains owned by this machine. |
|
Package storage manages host-local persistent directory pools.
|
Package storage manages host-local persistent directory pools. |
|
copyowner
Package copyowner keeps the on-disk ownership state of pool copies: hidden witnesses and markers, owner and binding records, in-flight stages, and the collection of private artifacts that no longer back a destination.
|
Package copyowner keeps the on-disk ownership state of pool copies: hidden witnesses and markers, owner and binding records, in-flight stages, and the collection of private artifacts that no longer back a destination. |