Documentation ¶
Overview ¶
Package tracer implements the functionality of the network tracer
Index ¶
- func IsTracerSupportedByOS(exclusionList []string) (bool, error)
- func NeedsEBPF() bool
- type DebugConntrackTable
- type Tracer
- func (t *Tracer) DebugCachedConntrack(_ context.Context) (*DebugConntrackTable, error)
- func (t *Tracer) DebugDumpProcessCache(context.Context) (interface{}, error)
- func (t *Tracer) DebugEBPFMaps(_ io.Writer, _ ...string) error
- func (t *Tracer) DebugHostConntrack(_ context.Context) (*DebugConntrackTable, error)
- func (t *Tracer) DebugNetworkMaps() (*network.Connections, error)
- func (t *Tracer) DebugNetworkState(_ string) (map[string]interface{}, error)
- func (t *Tracer) GetActiveConnections(_ string) (*network.Connections, error)
- func (t *Tracer) GetNetworkID(_ context.Context) (string, error)
- func (t *Tracer) GetStats() (map[string]interface{}, error)
- func (t *Tracer) RegisterClient(_ string) error
- func (t *Tracer) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTracerSupportedByOS ¶
IsTracerSupportedByOS returns whether the current kernel version supports tracer functionality along with some context on why it's not supported
Types ¶
type DebugConntrackTable ¶
type DebugConntrackTable struct{}
DebugConntrackTable is not implemented on this OS for Tracer
type Tracer ¶
type Tracer struct{}
Tracer is not implemented
func (*Tracer) DebugCachedConntrack ¶
func (t *Tracer) DebugCachedConntrack(_ context.Context) (*DebugConntrackTable, error)
DebugCachedConntrack is not implemented on this OS for Tracer
func (*Tracer) DebugDumpProcessCache ¶
DebugDumpProcessCache is not implemented on this OS for Tracer
func (*Tracer) DebugEBPFMaps ¶
DebugEBPFMaps is not implemented on this OS for Tracer
func (*Tracer) DebugHostConntrack ¶
func (t *Tracer) DebugHostConntrack(_ context.Context) (*DebugConntrackTable, error)
DebugHostConntrack is not implemented on this OS for Tracer
func (*Tracer) DebugNetworkMaps ¶
func (t *Tracer) DebugNetworkMaps() (*network.Connections, error)
DebugNetworkMaps is not implemented on this OS for Tracer
func (*Tracer) DebugNetworkState ¶
DebugNetworkState is not implemented on this OS for Tracer
func (*Tracer) GetActiveConnections ¶
func (t *Tracer) GetActiveConnections(_ string) (*network.Connections, error)
GetActiveConnections is not implemented on this OS for Tracer
func (*Tracer) GetNetworkID ¶
GetNetworkID is not implemented on this OS for Tracer
func (*Tracer) RegisterClient ¶
RegisterClient registers the client
Directories ¶
Path | Synopsis |
---|---|
connection
|
|
ebpfless
Package ebpfless contains supporting code for the ebpfless tracer
|
Package ebpfless contains supporting code for the ebpfless tracer |
proxy/external_unix_proxy_server
Package main provides a unix transparent proxy server that can be used for testing.
|
Package main provides a unix transparent proxy server that can be used for testing. |