tcpconnectanalyzer

package
v0.0.0-...-51da36d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const Type analyzer.Type = "tcpconnectanalyzer"

Variables

This section is empty.

Functions

func New

func New(cfg interface{}, telemetry *component.TelemetryTools, consumers []consumer.Consumer) analyzer.Analyzer

Types

type Config

type Config struct {
	ChannelSize     int  `mapstructure:"channel_size"`
	WaitEventSecond int  `mapstructure:"wait_event_second"`
	NeedProcessInfo bool `mapstructure:"need_process_info"`
}

func NewDefaultConfig

func NewDefaultConfig() *Config

type TcpConnectAnalyzer

type TcpConnectAnalyzer struct {
	// contains filtered or unexported fields
}

func (*TcpConnectAnalyzer) ConsumableEvents

func (a *TcpConnectAnalyzer) ConsumableEvents() []string

func (*TcpConnectAnalyzer) ConsumeEvent

func (a *TcpConnectAnalyzer) ConsumeEvent(event *model.KindlingEvent) error

ConsumeEvent gets the event from the previous component

func (*TcpConnectAnalyzer) Shutdown

func (a *TcpConnectAnalyzer) Shutdown() error

Shutdown cleans all the resources used by the analyzer

func (*TcpConnectAnalyzer) Start

func (a *TcpConnectAnalyzer) Start() error

Start initializes the analyzer

func (*TcpConnectAnalyzer) Type

func (a *TcpConnectAnalyzer) Type() analyzer.Type

Type returns the type of the analyzer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL