neutron

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2018 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Probe added in v0.21.0

type Probe struct {
	graph.DefaultGraphListener
	// contains filtered or unexported fields
}

Probe describes a topology probe that maps neutron attributes in the graph

func NewProbe added in v0.21.0

func NewProbe(g *graph.Graph, authURL, username, password, tenantName, regionName, domainName string, availability gophercloud.Availability) (*Probe, error)

NewProbe creates a neutron probe that will enhance the graph

func NewProbeFromConfig added in v0.21.0

func NewProbeFromConfig(g *graph.Graph) (*Probe, error)

NewProbeFromConfig creates a new neutron probe based on configuration

func (*Probe) OnNodeAdded added in v0.21.0

func (mapper *Probe) OnNodeAdded(n *graph.Node)

OnNodeAdded event

func (*Probe) OnNodeDeleted added in v0.21.0

func (mapper *Probe) OnNodeDeleted(n *graph.Node)

OnNodeDeleted event

func (*Probe) OnNodeUpdated added in v0.21.0

func (mapper *Probe) OnNodeUpdated(n *graph.Node)

OnNodeUpdated event

func (*Probe) Start added in v0.21.0

func (mapper *Probe) Start()

Start the probe

func (*Probe) Stop added in v0.21.0

func (mapper *Probe) Stop()

Stop the probe

Source Files

  • neutron.go

Jump to

Keyboard shortcuts

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