Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MetaData = make(meta) DeletedPodsCacheSize = 1024 MaintenanceInterval = 15 * time.Second MetaExpireDuration = 5 * time.Minute MetaWaitTimeout = 120 * time.Second // some debugging shit DisableMetaUpdates = false CriType = "docker" NodeLabels = make(map[string]string) SelfNodeName string )
Functions ¶
func DisableGatherer ¶ added in v0.40.0
func DisableGatherer()
func EnableGatherer ¶ added in v0.40.0
func EnableGatherer(l *zap.SugaredLogger)
func GetPodMeta ¶ added in v0.40.0
func GetPodMeta(ns Namespace, pod PodName, cid ContainerID) (bool, *podMeta)
Types ¶
type ContainerID ¶ added in v0.40.0
type ContainerID string
type ContainerName ¶ added in v0.40.0
type ContainerName string
type K8sMetaInformation ¶
type K8sMetaInformation struct { Namespace string PodName string ContainerName string ContainerID string Pod *podMeta }
func NewK8sMetaInformation ¶
func NewK8sMetaInformation(fullFilename string) (K8sMetaInformation, error)
func (K8sMetaInformation) GetData ¶
func (m K8sMetaInformation) GetData() map[string]any
type MetaItem ¶ added in v0.40.0
type MetaItem struct { Namespace Namespace PodName PodName ContainerName ContainerName ContainerID ContainerID }
Click to show internal directories.
Click to hide internal directories.