MCPcopy
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
45func bytesBody(bodyBytes []byte) io.ReadCloser {
46 return ioutil.NopCloser(bytes.NewReader(bodyBytes))
47}
48
49func defaultHeaders() http.Header {
50 header := http.Header{}

Callers 1

fakeScaleClientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected