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

Method GetRawBytes

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

Source from the content-addressed store, hash-verified

811}
812
813func (m *PrometheusQueryResult) GetRawBytes() []byte {
814 if x, ok := m.GetResult().(*PrometheusQueryResult_RawBytes); ok {
815 return x.RawBytes
816 }
817 return nil
818}
819
820func (m *PrometheusQueryResult) GetMatrix() *Matrix {
821 if x, ok := m.GetResult().(*PrometheusQueryResult_Matrix); ok {

Callers 2

MarshalJSONMethod · 0.80
DecodeMethod · 0.80

Calls 1

GetResultMethod · 0.95

Tested by

no test coverage detected