func NewPodMetadataGenerator()

in kubernetes/metadata/pod.go [40:59]


func NewPodMetadataGenerator(
	cfg *config.C,
	pods cache.Store,
	client k8s.Interface,
	node MetaGen,
	namespace MetaGen,
	replicaset MetaGen,
	job MetaGen,
	addResourceMetadata *AddResourceMetadataConfig) MetaGen {

	return &pod{
		resource:            NewNamespaceAwareResourceMetadataGenerator(cfg, client, namespace),
		store:               pods,
		node:                node,
		replicaset:          replicaset,
		job:                 job,
		client:              client,
		addResourceMetadata: addResourceMetadata,
	}
}