Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetNSProbe ¶
type NetNSProbe struct {
sync.RWMutex
Graph *graph.Graph
Root *graph.Node
NetLinkProbe *netlink.NetLinkProbe
// contains filtered or unexported fields
}
NetNSProbe describes a netlink probe in a network namespace
func NewNetNSProbe ¶
func NewNetNSProbe(g *graph.Graph, n *graph.Node, nlProbe *netlink.NetLinkProbe) (*NetNSProbe, error)
NewNetNSProbe creates a new network namespace probe
func (*NetNSProbe) Register ¶
func (u *NetNSProbe) Register(path string, name string) *graph.Node
Register a new network namespace path
func (*NetNSProbe) Unregister ¶
func (u *NetNSProbe) Unregister(path string)
Unregister a network namespace path
func (*NetNSProbe) Watch ¶
func (u *NetNSProbe) Watch(path string)
Watch add a path to the inotify watcher
Source Files
¶
- netns.go
Click to show internal directories.
Click to hide internal directories.