Documentation
¶
Index ¶
- type NetNs
- type ProbeHandler
- func (u *ProbeHandler) Exclude(paths ...string)
- func (u *ProbeHandler) Init(ctx tp.Context, bundle *probe.Bundle) (probe.Handler, error)
- func (u *ProbeHandler) Register(path string, name string) (*graph.Node, error)
- func (u *ProbeHandler) Start()
- func (u *ProbeHandler) Stop()
- func (u *ProbeHandler) Unregister(path string)
- func (u *ProbeHandler) Watch(path string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetNs ¶
type NetNs struct {
// contains filtered or unexported fields
}
NetNs describes a network namespace path associated with a device / inode
type ProbeHandler ¶ added in v0.25.0
type ProbeHandler struct {
common.RWMutex
Ctx tp.Context
// contains filtered or unexported fields
}
ProbeHandler describes a netlink probe in a network namespace
func (*ProbeHandler) Exclude ¶ added in v0.25.0
func (u *ProbeHandler) Exclude(paths ...string)
Exclude specify path to not process
func (*ProbeHandler) Init ¶ added in v0.25.0
Init initializes a new network namespace probe
func (*ProbeHandler) Register ¶ added in v0.25.0
Register a new network namespace path
func (*ProbeHandler) Unregister ¶ added in v0.25.0
func (u *ProbeHandler) Unregister(path string)
Unregister a network namespace path
func (*ProbeHandler) Watch ¶ added in v0.25.0
func (u *ProbeHandler) 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.