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

Method Bytes

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

Source from the content-addressed store, hash-verified

443// This allows to avoid reading the body multiple times from the `http.Response.Body`.
444type Buffer interface {
445 Bytes() []byte
446}
447
448func BodyBytes(res *http.Response, logger log.Logger) ([]byte, error) {

Callers 15

writeToMethod · 0.95
EncodeMethod · 0.95
EncodeMethod · 0.95
LocalStateMethod · 0.95
WriteIndexFunction · 0.95
UploadMethod · 0.95
WriteUserIndexFunction · 0.95
testCompressFunction · 0.95
BenchmarkDecompressFunction · 0.95

Implementers 1

bufferpkg/frontend/transport/roundtripper.go

Calls

no outgoing calls

Tested by 15

EncodeMethod · 0.76
EncodeMethod · 0.76
UploadMethod · 0.76
testCompressFunction · 0.76
BenchmarkDecompressFunction · 0.76
decompressFunction · 0.76
getOTLPHttpRequestFunction · 0.76
getMethod · 0.52