falco

package
v1.3.14 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FalcoPort is the port for the Falco HTTP server.
	FalcoPort = ":5000"
)

Variables

This section is empty.

Functions

func StartServer

func StartServer(ctx context.Context, logger *zap.Logger, falcoEventChan chan string) *http.Server

StartServer starts the Falco HTTP server for receiving Falco events. Returns the server so it can be shutdown when the caller is done.

Types

type Factory

type Factory struct {
	Logger   *zap.Logger
	FlowSink collector.FlowSink
}

Factory creates Falco flow collector clients.

func (*Factory) NewCollector

func (f *Factory) NewCollector(_ context.Context) (flowCollector, error)

NewCollector creates a new Falco flow collector.

Jump to

Keyboard shortcuts

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