Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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`.
444
type
Buffer
interface
{
445
Bytes() []byte
446
}
447
448
func
BodyBytes(res *http.Response, logger log.Logger) ([]byte, error) {
Callers
15
writeTo
Method · 0.95
Encode
Method · 0.95
Encode
Method · 0.95
TestTCPTransport_PacketDigestMismatch
Function · 0.95
TestTCPTransport_PacketReadTimeout
Function · 0.95
TestTCPTransport_MaxPacketSize
Function · 0.95
LocalState
Method · 0.95
WriteIndex
Function · 0.95
Upload
Method · 0.95
WriteUserIndex
Function · 0.95
testCompress
Function · 0.95
BenchmarkDecompress
Function · 0.95
Implementers
1
buffer
pkg/frontend/transport/roundtripper.go
Calls
no outgoing calls
Tested by
15
Encode
Method · 0.76
Encode
Method · 0.76
TestTCPTransport_PacketDigestMismatch
Function · 0.76
TestTCPTransport_PacketReadTimeout
Function · 0.76
TestTCPTransport_MaxPacketSize
Function · 0.76
Upload
Method · 0.76
testCompress
Function · 0.76
BenchmarkDecompress
Function · 0.76
decompress
Function · 0.76
getOTLPHttpRequest
Function · 0.76
get
Method · 0.52
Test_PostConfig_CreatesConfig
Function · 0.52