RESTClient provides a fake RESTClient interface.
| 43 | |
| 44 | // RESTClient provides a fake RESTClient interface. |
| 45 | type 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 | |
| 56 | func (c *RESTClient) Get() *restclient.Request { |
| 57 | return c.request("GET") |
nothing calls this directly
no outgoing calls
no test coverage detected