app

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func New

func New(cfg *Config, clientset kubernetes.Interface) *App

func (*App) Run

func (a *App) Run(ctx context.Context) error

type Config

type Config struct {
	LogLevel                          string
	LogRateInterval                   time.Duration
	LogRateBurst                      int
	SendLogsLevel                     string
	Version                           string
	BTFPath                           string
	PyroscopeAddr                     string
	IngestorAddr                      string
	ContainerdSockPath                string
	HostCgroupsDir                    string
	TCPSampleOutputMinDurationSeconds int
	MetricsHTTPListenPort             int
	State                             state.Config
	EBPFEventsPerCPUBuffer            int `validate:"required"`
	EBPFEventsOutputChanSize          int `validate:"required"`
	MutedNamespaces                   []string
	SignatureEngineConfig             signature.SignatureEngineConfig
	CastaiEnv                         castai.Config
	EnricherConfig                    EnricherConfig
}

type EnricherConfig added in v1.1.0

type EnricherConfig struct {
	EnableFileHashEnricher bool
}

Jump to

Keyboard shortcuts

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