app

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 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
	ContainerdSockPath       string
	HostCgroupsDir           string
	MetricsHTTPListenPort    int
	State                    state.Config
	EBPFEventsPerCPUBuffer   int `validate:"required"`
	EBPFEventsOutputChanSize int `validate:"required"`
	MutedNamespaces          []string
	SignatureEngineConfig    signature.SignatureEngineConfig
	CastaiEnv                castai.Config
	EnricherConfig           EnricherConfig
}

func (Config) Proto added in v1.4.0

func (c Config) Proto() *castaipb.AgentConfig

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