Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sInventoryCache ¶
type K8sInventoryCache interface { Start() Stop() GetPods() []*v1.Pod GetPodByName(namespace string, name string) *v1.Pod GetPodByIp(ip string) *v1.Pod GetSvcs() []*v1.Service GetSvcByName(namespace string, name string) *v1.Service GetSvcByIp(ip string) *v1.Service }
K8sInventoryCache is a cache of Kubernetes resources such as pods and services that can be used by operators to enrich events.
func GetK8sInventoryCache ¶
func GetK8sInventoryCache() (K8sInventoryCache, error)
Click to show internal directories.
Click to hide internal directories.