# README
⚠️ Note: This is a WIP project
Basic testing:
kind create cluster --config=kind-config.yaml
docker build -t dev/runtime-detector:test .
kind load docker-image dev/runtime-detector:test
kubectl apply -f daemonset.yaml
Add some apps to the cluster
kubectl port-forward <runtime-detector pod> 8080:8080
Register to get notification for a pod, container tuple:
curl -X POST http://localhost:8080/<podUID>/<containerName>
Inspect the logs of the runtime-detector
pod
# Packages
No description provided by the author
# Functions
NewDetector creates a new [Detector] instance, which can be used to detect process creation and exit events.
WithEnvironments returns a [DetectorOption] that configures a [Detector] to include the specified environment variables in the output (in case they are set for the process).
No description provided by the author
WithMinDuration returns a [DetectorOption] that configures a [Detector] to use the specified minimum duration for a process to be considered active, the default is 1 second.
# Constants
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
DetectorOption applies a configuration option to [Detector].
# Type aliases
No description provided by the author