Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeAuthenticatedClient
- func (fake *FakeAuthenticatedClient) DoAuthenticatedDelete(url string, accessToken string) (int, error)
- func (fake *FakeAuthenticatedClient) DoAuthenticatedDeleteArgsForCall(i int) (string, string)
- func (fake *FakeAuthenticatedClient) DoAuthenticatedDeleteCallCount() int
- func (fake *FakeAuthenticatedClient) DoAuthenticatedDeleteReturns(result1 int, result2 error)
- func (fake *FakeAuthenticatedClient) DoAuthenticatedDeleteReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeAuthenticatedClient) DoAuthenticatedGet(url string, accessToken string) (io.ReadCloser, int, error)
- func (fake *FakeAuthenticatedClient) DoAuthenticatedGetArgsForCall(i int) (string, string)
- func (fake *FakeAuthenticatedClient) DoAuthenticatedGetCallCount() int
- func (fake *FakeAuthenticatedClient) DoAuthenticatedGetReturns(result1 io.ReadCloser, result2 int, result3 error)
- func (fake *FakeAuthenticatedClient) DoAuthenticatedGetReturnsOnCall(i int, result1 io.ReadCloser, result2 int, result3 error)
- func (fake *FakeAuthenticatedClient) DoAuthenticatedPost(url string, bodyType string, body string, accessToken string) (io.ReadCloser, int, error)
- func (fake *FakeAuthenticatedClient) DoAuthenticatedPostArgsForCall(i int) (string, string, string, string)
- func (fake *FakeAuthenticatedClient) DoAuthenticatedPostCallCount() int
- func (fake *FakeAuthenticatedClient) DoAuthenticatedPostReturns(result1 io.ReadCloser, result2 int, result3 error)
- func (fake *FakeAuthenticatedClient) DoAuthenticatedPostReturnsOnCall(i int, result1 io.ReadCloser, result2 int, result3 error)
- func (fake *FakeAuthenticatedClient) DoAuthenticatedPut(url string, accessToken string) (int, error)
- func (fake *FakeAuthenticatedClient) DoAuthenticatedPutArgsForCall(i int) (string, string)
- func (fake *FakeAuthenticatedClient) DoAuthenticatedPutCallCount() int
- func (fake *FakeAuthenticatedClient) DoAuthenticatedPutReturns(result1 int, result2 error)
- func (fake *FakeAuthenticatedClient) DoAuthenticatedPutReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeAuthenticatedClient) Invocations() map[string][][]interface{}
- type FakeClient
- func (fake *FakeClient) Do(req *http.Request) (*http.Response, error)
- func (fake *FakeClient) DoArgsForCall(i int) *http.Request
- func (fake *FakeClient) DoCallCount() int
- func (fake *FakeClient) DoReturns(result1 *http.Response, result2 error)
- func (fake *FakeClient) DoReturnsOnCall(i int, result1 *http.Response, result2 error)
- func (fake *FakeClient) Invocations() map[string][][]interface{}
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 (*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) 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{}
Click to show internal directories.
Click to hide internal directories.