package
6.8.19+incompatible
Repository: https://github.com/build-security/beats.git
Documentation: pkg.go.dev
# Functions
ContainerID parses the container ID to get the actual ID string.
ContainerIDWithRuntime parses the container ID to get the actual ID string.
DiscoverKubernetesNode figures out the Kubernetes node to use.
GetKubernetesClient returns a kubernetes client.
NewMetaGenerator initializes and returns a new kubernetes metadata generator.
NewMetaGeneratorFromConfig initializes and returns a new kubernetes metadata generator.
NewWatcher initializes the watcher client to provide a events handler for resource from the cluster (filtered to the given node).
Time extracts time from k8s.Time type.
# Structs
FilteringResourceEventHandler applies the provided filter to all events coming in, ensuring the appropriate nested handler method is invoked.
MetaGeneratorConfig settings.
ResourceEventHandlerFuncs is an adaptor to let you easily specify as many or as few of the notification functions as you want while still implementing ResourceEventHandler.
WatchOptions controls watch behaviors.
# Interfaces
MetaGenerator builds metadata objects for pods and containers.
ResourceEventHandler can handle notifications for events that happen to a resource.
Watcher watches Kubernetes resources events.
# Type aliases
Container data.
ContainerPort data.
Deployment data.
Event data.
Node data.
ObjectMeta data.
Pod data.
PodContainerStatus data.
PodSpec data.
PodStatus data.
ReplicaSet data.
Resource data.
StatefulSet data.