common

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type K8sInventoryCache

type K8sInventoryCache struct {
	// contains filtered or unexported fields
}

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)

func (*K8sInventoryCache) Close

func (cache *K8sInventoryCache) Close()

func (*K8sInventoryCache) GetPods

func (cache *K8sInventoryCache) GetPods() *v1.PodList

func (*K8sInventoryCache) GetSvcs

func (cache *K8sInventoryCache) GetSvcs() *v1.ServiceList

func (*K8sInventoryCache) Start

func (cache *K8sInventoryCache) Start()

func (*K8sInventoryCache) Stop

func (cache *K8sInventoryCache) Stop()

Jump to

Keyboard shortcuts

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