hypervisor

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hypervisors

type Hypervisors struct {
	Libvirts []*ZonedHypervisor
	Logger   *zap.Logger
}

func ProvideLibvirt

func ProvideLibvirt(lc fx.Lifecycle, log *zap.Logger, config *config.Config) *Hypervisors

func (*Hypervisors) Zone

func (h *Hypervisors) Zone(zone string) (*libvirt.Libvirt, error)

type ZonedDialer

type ZonedDialer struct {
	socket.Dialer
	Zone string
}

type ZonedHypervisor

type ZonedHypervisor struct {
	*libvirt.Libvirt
	Zone string
}

Jump to

Keyboard shortcuts

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