# Packages

Package resourcekeys contains well known type and label keys for resources.

# Functions

DecodeLabels decodes a serialized label map as used in the OC_RESOURCE_LABELS variable.
EncodeLabels encodes a labels map to a string as provided via the OC_RESOURCE_LABELS environment variable.
FromEnv is a detector that loads resource information from the OC_RESOURCE_TYPE and OC_RESOURCE_labelS environment variables.
MultiDetector returns a Detector that calls all input detectors in order and merges each result with the previous one.

# Constants

Environment variables used by FromEnv to decode a resource.
Environment variables used by FromEnv to decode a resource.

# Structs

Resource describes an entity about which identifying information and metadata is exposed.

# Type aliases

Detector attempts to detect resource information.