httpclientfakes

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAuthenticatedClient

type FakeAuthenticatedClient struct {
	DoAuthenticatedGetStub func(url string, accessToken string) (io.ReadCloser, int, error)

	DoAuthenticatedDeleteStub func(url string, accessToken string) (int, error)

	DoAuthenticatedPostStub func(url string, bodyType string, body string, accessToken string) (io.ReadCloser, int, error)

	DoAuthenticatedPutStub func(url string, accessToken string) (int, error)
	// contains filtered or unexported fields
}

func (*FakeAuthenticatedClient) DoAuthenticatedDelete

func (fake *FakeAuthenticatedClient) DoAuthenticatedDelete(url string, accessToken string) (int, error)

func (*FakeAuthenticatedClient) DoAuthenticatedDeleteArgsForCall

func (fake *FakeAuthenticatedClient) DoAuthenticatedDeleteArgsForCall(i int) (string, string)

func (*FakeAuthenticatedClient) DoAuthenticatedDeleteCallCount

func (fake *FakeAuthenticatedClient) DoAuthenticatedDeleteCallCount() int

func (*FakeAuthenticatedClient) DoAuthenticatedDeleteReturns

func (fake *FakeAuthenticatedClient) DoAuthenticatedDeleteReturns(result1 int, result2 error)

func (*FakeAuthenticatedClient) DoAuthenticatedDeleteReturnsOnCall

func (fake *FakeAuthenticatedClient) DoAuthenticatedDeleteReturnsOnCall(i int, result1 int, result2 error)

func (*FakeAuthenticatedClient) DoAuthenticatedGet

func (fake *FakeAuthenticatedClient) DoAuthenticatedGet(url string, accessToken string) (io.ReadCloser, int, error)

func (*FakeAuthenticatedClient) DoAuthenticatedGetArgsForCall

func (fake *FakeAuthenticatedClient) DoAuthenticatedGetArgsForCall(i int) (string, string)

func (*FakeAuthenticatedClient) DoAuthenticatedGetCallCount

func (fake *FakeAuthenticatedClient) DoAuthenticatedGetCallCount() int

func (*FakeAuthenticatedClient) DoAuthenticatedGetReturns

func (fake *FakeAuthenticatedClient) DoAuthenticatedGetReturns(result1 io.ReadCloser, result2 int, result3 error)

func (*FakeAuthenticatedClient) DoAuthenticatedGetReturnsOnCall

func (fake *FakeAuthenticatedClient) DoAuthenticatedGetReturnsOnCall(i int, result1 io.ReadCloser, result2 int, result3 error)

func (*FakeAuthenticatedClient) DoAuthenticatedPost

func (fake *FakeAuthenticatedClient) DoAuthenticatedPost(url string, bodyType string, body string, accessToken string) (io.ReadCloser, int, error)

func (*FakeAuthenticatedClient) DoAuthenticatedPostArgsForCall

func (fake *FakeAuthenticatedClient) DoAuthenticatedPostArgsForCall(i int) (string, string, string, string)

func (*FakeAuthenticatedClient) DoAuthenticatedPostCallCount

func (fake *FakeAuthenticatedClient) DoAuthenticatedPostCallCount() int

func (*FakeAuthenticatedClient) DoAuthenticatedPostReturns

func (fake *FakeAuthenticatedClient) DoAuthenticatedPostReturns(result1 io.ReadCloser, result2 int, result3 error)

func (*FakeAuthenticatedClient) DoAuthenticatedPostReturnsOnCall

func (fake *FakeAuthenticatedClient) DoAuthenticatedPostReturnsOnCall(i int, result1 io.ReadCloser, result2 int, result3 error)

func (*FakeAuthenticatedClient) DoAuthenticatedPut

func (fake *FakeAuthenticatedClient) DoAuthenticatedPut(url string, accessToken string) (int, error)

func (*FakeAuthenticatedClient) DoAuthenticatedPutArgsForCall

func (fake *FakeAuthenticatedClient) DoAuthenticatedPutArgsForCall(i int) (string, string)

func (*FakeAuthenticatedClient) DoAuthenticatedPutCallCount

func (fake *FakeAuthenticatedClient) DoAuthenticatedPutCallCount() int

func (*FakeAuthenticatedClient) DoAuthenticatedPutReturns

func (fake *FakeAuthenticatedClient) DoAuthenticatedPutReturns(result1 int, result2 error)

func (*FakeAuthenticatedClient) DoAuthenticatedPutReturnsOnCall

func (fake *FakeAuthenticatedClient) DoAuthenticatedPutReturnsOnCall(i int, result1 int, result2 error)

func (*FakeAuthenticatedClient) Invocations

func (fake *FakeAuthenticatedClient) Invocations() map[string][][]interface{}

type FakeClient

type FakeClient struct {
	DoStub func(req *http.Request) (*http.Response, error)
	// contains filtered or unexported fields
}

func (*FakeClient) Do

func (fake *FakeClient) Do(req *http.Request) (*http.Response, error)

func (*FakeClient) DoArgsForCall

func (fake *FakeClient) DoArgsForCall(i int) *http.Request

func (*FakeClient) DoCallCount

func (fake *FakeClient) DoCallCount() int

func (*FakeClient) DoReturns

func (fake *FakeClient) DoReturns(result1 *http.Response, result2 error)

func (*FakeClient) DoReturnsOnCall

func (fake *FakeClient) DoReturnsOnCall(i int, result1 *http.Response, result2 error)

func (*FakeClient) Invocations

func (fake *FakeClient) Invocations() map[string][][]interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL