Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FabricProbe ¶
type FabricProbe struct { graph.DefaultGraphListener Graph *graph.Graph // contains filtered or unexported fields }
FabricProbe describes a topology probe
func NewFabricProbe ¶
func NewFabricProbe(g *graph.Graph) *FabricProbe
NewFabricProbe creates a new probe to enhance the graph
func (*FabricProbe) LinkNodes ¶
func (fb *FabricProbe) LinkNodes(parent *graph.Node, child *graph.Node, linkMetadata *graph.Metadata)
LinkNodes link the parent and child (layer 2) if there not linked already
func (*FabricProbe) OnEdgeAdded ¶
func (fb *FabricProbe) OnEdgeAdded(e *graph.Edge)
OnEdgeAdded event
func (*FabricProbe) OnNodeDeleted ¶
func (fb *FabricProbe) OnNodeDeleted(n *graph.Node)
OnNodeDeleted event
Click to show internal directories.
Click to hide internal directories.