Versions in this module Expand all Collapse all v1 v1.7.1 Jan 29, 2021 v1.7.0 Dec 8, 2020 Changes in this version + const EnvVarLabels + const EnvVarType + func DecodeLabels(s string) (map[string]string, error) + func EncodeLabels(labels map[string]string) string + type Detector func(context.Context) (*Resource, error) + func MultiDetector(detectors ...Detector) Detector + type Resource struct + Labels map[string]string + Type string + func FromEnv(context.Context) (*Resource, error)