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

Method GetResult

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

Source from the content-addressed store, hash-verified

797func (*PrometheusQueryResult_Matrix) isPrometheusQueryResult_Result() {}
798
799func (m *PrometheusQueryResult) GetResult() isPrometheusQueryResult_Result {
800 if m != nil {
801 return m.Result
802 }
803 return nil
804}
805
806func (m *PrometheusQueryResult) GetVector() *Vector {
807 if x, ok := m.GetResult().(*PrometheusQueryResult_Vector); ok {

Callers 3

GetVectorMethod · 0.95
GetRawBytesMethod · 0.95
GetMatrixMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected