Documentation ¶
Index ¶
- type Controller
- func (c *Controller) Fingerprint(attr map[string]*structs.Attribute)
- func (c *Controller) Init() error
- func (c *Controller) VMStartedBuild(req *net.VMStartedBuildRequest) (*net.VMStartedBuildResponse, error)
- func (c *Controller) VMTerminatedTeardown(req *net.VMTerminatedTeardownRequest) (*net.VMTerminatedTeardownResponse, error)
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 (c *Controller) VMStartedBuild(req *net.VMStartedBuildRequest) (*net.VMStartedBuildResponse, error)
func (*Controller) VMTerminatedTeardown ¶
func (c *Controller) VMTerminatedTeardown(req *net.VMTerminatedTeardownRequest) (*net.VMTerminatedTeardownResponse, error)
Click to show internal directories.
Click to hide internal directories.