MCPcopy Index your code
hub / github.com/cortexproject/cortex / GetVector

Method GetVector

pkg/querier/tripperware/query.pb.go:806–811  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

804}
805
806func (m *PrometheusQueryResult) GetVector() *Vector {
807 if x, ok := m.GetResult().(*PrometheusQueryResult_Vector); ok {
808 return x.Vector
809 }
810 return nil
811}
812
813func (m *PrometheusQueryResult) GetRawBytes() []byte {
814 if x, ok := m.GetResult().(*PrometheusQueryResult_RawBytes); ok {

Callers 5

MarshalJSONMethod · 0.80
vectorMergeFunction · 0.80
SetQueryResponseStatsFunction · 0.80
DecodeResponseMethod · 0.80
DecodeMethod · 0.80

Calls 1

GetResultMethod · 0.95

Tested by

no test coverage detected