net

package
v0.0.1-beta.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller implements to Net interface and is the main/only way in which the driver should interact with the network-subsystem.

func NewController

func NewController(logger hclog.Logger, conn libvirt.ConnectShim) *Controller

NewController returns a Controller which implements the net.Net interface and has a named logger, to ensure log messages can be easily tied to the network system.

func (*Controller) Fingerprint

func (c *Controller) Fingerprint(attr map[string]*structs.Attribute)

func (*Controller) Init

func (c *Controller) Init() error

func (*Controller) VMStartedBuild

func (*Controller) VMTerminatedTeardown

Jump to

Keyboard shortcuts

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