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

Method String

model/value_type.go:69–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67}
68
69func (e ValueType) String() string {
70 switch e {
71 case ValNone:
72 return "<ValNone>"
73 case ValScalar:
74 return "scalar"
75 case ValVector:
76 return "vector"
77 case ValMatrix:
78 return "matrix"
79 case ValString:
80 return "string"
81 }
82 panic("ValueType.String: unhandled value type")
83}

Callers 1

MarshalJSONMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected