Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
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.