MCPcopy
hub / github.com/kubernetes/client-go / Raw

Method Raw

rest/request.go:1058–1060  ·  rest/request.go::Result.Raw

Raw returns the raw result.

()

Source from the content-addressed store, hash-verified

1056
1057// Raw returns the raw result.
1058func (r Result) Raw() ([]byte, error) {
1059 return r.body, r.err
1060}
1061
1062// Get returns the result as an object, which means it passes through the decoder.
1063// If the returned object is of type Status and has .Status != StatusSuccess, the

Callers 15

GetMethod · 0.80
UpdateMethod · 0.80
ServerVersionMethod · 0.80
OpenAPISchemaMethod · 0.80
TestDoRequestSuccessFunction · 0.80
TestDoRawRequestFailedFunction · 0.80
TestDoRequestCreatedFunction · 0.80
TestDoRequestNotCreatedFunction · 0.80
TestBadRequestFunction · 0.80
TestRequestDoFunction · 0.80

Calls

no outgoing calls

Tested by 9

TestDoRequestSuccessFunction · 0.64
TestDoRawRequestFailedFunction · 0.64
TestDoRequestCreatedFunction · 0.64
TestDoRequestNotCreatedFunction · 0.64
TestBadRequestFunction · 0.64
TestRequestDoFunction · 0.64