kubernetes/staging/src/k8s.io/client-go/rest/fake/fake.go

// CreateHTTPClient creates an http.Client that will invoke the provided roundTripper func
// when a request is made.
func CreateHTTPClient(roundTripper func(*http.Request) (*http.Response, error)) *http.Client {}

type roundTripperFunc

func (f roundTripperFunc) RoundTrip(req *http.Request) (*http.Response, error) {}

type RESTClient

func (c *RESTClient) Get() *restclient.Request {}

func (c *RESTClient) Put() *restclient.Request {}

func (c *RESTClient) Patch(pt types.PatchType) *restclient.Request {}

func (c *RESTClient) Post() *restclient.Request {}

func (c *RESTClient) Delete() *restclient.Request {}

func (c *RESTClient) Verb(verb string) *restclient.Request {}

func (c *RESTClient) APIVersion() schema.GroupVersion {}

func (c *RESTClient) GetRateLimiter() flowcontrol.RateLimiter {}

func (c *RESTClient) Request() *restclient.Request {}

// do is invoked when a Request() created by this client is executed.
func (c *RESTClient) do(req *http.Request) (*http.Response, error) {}