tarian_detector

command
v0.0.0-...-7dcb666 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package main provides the Tarian detector application.

The application sets up the necessary components such as the Kubernetes watcher, the eBPF module, and the event detectors, and starts the main event loop. It listens for interrupt signals (Ctrl+C or SIGTERM) and gracefully shuts down when one is received. It also continuously reads events from the detectors and retrieves the Kubernetes context based on the host process ID.

The package uses the Kubernetes client-go library to interact with the Kubernetes API server. It retrieves the Kubernetes context for a given process by finding the pod associated with the container ID of the process. The Kubernetes context includes information about the pod, the container, and the namespace.

Jump to

Keyboard shortcuts

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