package
7.6.0+incompatible
Repository: https://github.com/axw/beats.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# 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.
IsInCluster takes a kubeconfig file path as input and deduces if Beats is running in cluster or not, taking into consideration the existence of KUBECONFIG variable.
NewInformer creates an informer for a given resource.
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.
NoOpEventHandlerFuncs ensures that watcher reconciliation can happen even without the required funcs.
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

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.
Namespace data.
Node data.
ObjectMeta data.
Pod data.
PodContainerStatus data.
PodSpec data.
PodStatus data.
ReplicaSet data.
Resource data.
Service data.
StatefulSet data.