manager

package
v2.30.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func NewManager

func NewManager(nginxAppProtectMonitoringConfig *NginxAppProtectMonitoringConfig, commonDims *metrics.CommonDim) (*Manager, error)

func (*Manager) Name

func (s *Manager) Name() string

func (*Manager) OutChannel

func (m *Manager) OutChannel() chan *models.Event

OutChannel returns processorChan channel which will publish events

func (*Manager) Run

func (s *Manager) Run(ctx context.Context)

type NginxAppProtectMonitoringConfig added in v2.24.0

type NginxAppProtectMonitoringConfig struct {
	CollectorBufferSize int           `mapstructure:"collector_buffer_size" yaml:"-"`
	ProcessorBufferSize int           `mapstructure:"processor_buffer_size" yaml:"-"`
	SyslogIP            string        `mapstructure:"syslog_ip" yaml:"-"`
	SyslogPort          int           `mapstructure:"syslog_port" yaml:"-"`
	ReportInterval      time.Duration `mapstructure:"report_interval" yaml:"-"`
	ReportCount         int           `mapstructure:"report_count" yaml:"-"`
}

Jump to

Keyboard shortcuts

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