Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetLinkProbe ¶
type NetLinkProbe struct { sync.RWMutex Graph *graph.Graph // contains filtered or unexported fields }
NetLinkProbe describes a list NetLink NameSpace probe to enhance the graph
func NewNetLinkProbe ¶
NewNetLinkProbe creates a new netlink probe
func (*NetLinkProbe) Register ¶
func (u *NetLinkProbe) Register(nsPath string, root *graph.Node) (*NetNsNetLinkProbe, error)
Register a new network netlink/namespace probe in the graph
func (*NetLinkProbe) Unregister ¶
func (u *NetLinkProbe) Unregister(nsPath string) error
Unregister a probe from a network namespace
type NetNsNetLinkProbe ¶
type NetNsNetLinkProbe struct { sync.RWMutex Graph *graph.Graph Root *graph.Node NsPath string // contains filtered or unexported fields }
NetNsNetLinkProbe describes a topology probe based on netlink in a network namespace
type NextHop ¶
type NextHop struct { Priority int64 `json:"Priority,omitempty"` IP net.IP `json:"Src,omitempty"` IfIndex int64 `json:"IfIndex,omitempty"` }
NextHop describes a next hop
Click to show internal directories.
Click to hide internal directories.