kubernetes/vendor/github.com/prometheus/common/model/labels.go

const AlertNameLabel

const ExportedLabelPrefix

const MetricNameLabel

const SchemeLabel

const AddressLabel

const MetricsPathLabel

const ScrapeIntervalLabel

const ScrapeTimeoutLabel

const ReservedLabelPrefix

const MetaLabelPrefix

const TmpLabelPrefix

const ParamLabelPrefix

const JobLabel

const InstanceLabel

const BucketLabel

const QuantileLabel

var LabelNameRE

type LabelName

// IsValid returns true iff name matches the pattern of LabelNameRE for legacy
// names, and iff it's valid UTF-8 if NameValidationScheme is set to
// UTF8Validation. For the legacy matching, it does not use LabelNameRE for the
// check but a much faster hardcoded implementation.
func (ln LabelName) IsValid() bool {}

// UnmarshalYAML implements the yaml.Unmarshaler interface.
func (ln *LabelName) UnmarshalYAML(unmarshal func(interface{}

// UnmarshalJSON implements the json.Unmarshaler interface.
func (ln *LabelName) UnmarshalJSON(b []byte) error {}

type LabelNames

func (l LabelNames) Len() int {}

func (l LabelNames) Less(i, j int) bool {}

func (l LabelNames) Swap(i, j int) {}

func (l LabelNames) String() string {}

type LabelValue

// IsValid returns true iff the string is a valid UTF-8.
func (lv LabelValue) IsValid() bool {}

type LabelValues

func (l LabelValues) Len() int {}

func (l LabelValues) Less(i, j int) bool {}

func (l LabelValues) Swap(i, j int) {}

type LabelPair

type LabelPairs

func (l LabelPairs) Len() int {}

func (l LabelPairs) Less(i, j int) bool {}

func (l LabelPairs) Swap(i, j int) {}