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

Struct RESTClient

rest/fake/fake.go:45–54  ·  view source on GitHub ↗

RESTClient provides a fake RESTClient interface.

Source from the content-addressed store, hash-verified

43
44// RESTClient provides a fake RESTClient interface.
45type RESTClient struct {
46 Client *http.Client
47 NegotiatedSerializer runtime.NegotiatedSerializer
48 GroupVersion schema.GroupVersion
49 VersionedAPIPath string
50
51 Req *http.Request
52 Resp *http.Response
53 Err error
54}
55
56func (c *RESTClient) Get() *restclient.Request {
57 return c.request("GET")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected