# Functions

No description provided by the author
No description provided by the author
GetKubernetesClusterIdentifier returns ClusterInfo for k8s if available.
GetPodMetaGen is a wrapper function that creates a metaGen for pod resource and has embeeded nodeMetaGen and namespaceMetaGen.
NewJobMetadataGenerator creates a metagen for job resources.
NewNamespaceAwareResourceMetadataGenerator creates a metadata generator with informatuon about namespace.
NewNamespaceMetadataGenerator creates a metagen for namespace resources.
NewNodeMetadataGenerator creates a metagen for service resources.
NewPodMetadataGenerator creates a metagen for pod resources.
NewReplicasetMetadataGenerator creates a metagen for replicaset resources.
NewResourceMetadataGenerator creates a metadata generator for a generic resource.
NewServiceMetadataGenerator creates a metagen for service resources.
RemoveUnnecessaryReplicaSetData removes all data from a ReplicaSet resource, except what we need to compute Pod metadata.
WithFields FieldOption allows adding specific fields into the generated metadata.
WithMetadata FieldOption allows adding labels and annotations under sub-resource(kind) example if kind=namespace namespace.labels key will be added.

# Structs

AddResourceMetadataConfig allows adding config for enriching additional resources.
No description provided by the author
No description provided by the author
Config declares supported configuration for metadata generation.
Resource generates metadata for any kubernetes resource.

# Interfaces

MetaGen allows creation of metadata from either Kubernetes resources or their Resource names.

# Type aliases

FieldOptions allows additional enrichment to be done on top of existing metadata.