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

NewSigV4RoundTripperFunction · 0.65
StringMethod · 0.65
StringMethod · 0.65
StringMethod · 0.65
TestParseDurationFunction · 0.65
TestVectorSortFunction · 0.65

Implementers 2

Scalarmodel/value.go
Stringmodel/value.go

Calls

no outgoing calls

Tested by

no test coverage detected