MCPcopy Create free account
hub / github.com/prometheus/common / Value

Interface Value

model/value_type.go:22–25  ·  view source on GitHub ↗

Value is a generic interface for values resulting from a query evaluation.

Source from the content-addressed store, hash-verified

20
21// Value is a generic interface for values resulting from a query evaluation.
22type Value interface {
23 Type() ValueType
24 String() string
25}
26
27func (Matrix) Type() ValueType { return ValMatrix }
28func (Vector) Type() ValueType { return ValVector }

Callers 8

TestDefaultConfigFunction · 0.65
TestDurationValuesFunction · 0.65
TestDynamicLevelsFunction · 0.65
TestReservedKeysFunction · 0.65
defaultReplaceAttrFunction · 0.65

Implementers 2

Scalarmodel/value.go
Stringmodel/value.go

Calls

no outgoing calls

Tested by

no test coverage detected