Documentation ¶
Index ¶
- func NewProbe(ctx probes.Context, bundle *probe.Bundle) (probes.FlowProbeHandler, error)
- type Probe
- type ProbeHandler
- func (p *ProbeHandler) CaptureTypes() []string
- func (p *ProbeHandler) RegisterProbe(n *graph.Node, capture *types.Capture, e probes.ProbeEventHandler) (probes.Probe, error)
- func (p *ProbeHandler) Start() error
- func (p *ProbeHandler) Stop()
- func (p *ProbeHandler) UnregisterProbe(n *graph.Node, e probes.ProbeEventHandler, fp probes.Probe) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ProbeHandler ¶
ProbeHandler describes a Pcap socket probe in the graph
func (*ProbeHandler) CaptureTypes ¶
func (p *ProbeHandler) CaptureTypes() []string
CaptureTypes supported
func (*ProbeHandler) RegisterProbe ¶
func (p *ProbeHandler) RegisterProbe(n *graph.Node, capture *types.Capture, e probes.ProbeEventHandler) (probes.Probe, error)
RegisterProbe registers a new probe in the graph
func (*ProbeHandler) UnregisterProbe ¶
func (p *ProbeHandler) UnregisterProbe(n *graph.Node, e probes.ProbeEventHandler, fp probes.Probe) error
UnregisterProbe a probe
Click to show internal directories.
Click to hide internal directories.