Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/kubernetes/client-go
/ bytesBody
Function
bytesBody
scale/client_test.go:45–47 ·
view source on GitHub ↗
(bodyBytes []byte)
Source
from the content-addressed store, hash-verified
43
)
44
45
func
bytesBody(bodyBytes []byte) io.ReadCloser {
46
return
ioutil.NopCloser(bytes.NewReader(bodyBytes))
47
}
48
49
func
defaultHeaders() http.Header {
50
header := http.Header{}
Callers
1
fakeScaleClient
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected