Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeClient
- func (fake *FakeClient) APIGet(arg1 string, arg2 interface{}) error
- func (fake *FakeClient) APIGetArgsForCall(i int) (string, interface{})
- func (fake *FakeClient) APIGetCallCount() int
- func (fake *FakeClient) APIGetReturns(result1 error)
- func (fake *FakeClient) APIPost(arg1 string, arg2 interface{}, arg3 interface{}) error
- func (fake *FakeClient) APIPostArgsForCall(i int) (string, interface{}, interface{})
- func (fake *FakeClient) APIPostCallCount() int
- func (fake *FakeClient) APIPostReturns(result1 error)
- func (fake *FakeClient) Get(arg1 string) (*http.Response, error)
- func (fake *FakeClient) GetArgsForCall(i int) string
- func (fake *FakeClient) GetCallCount() int
- func (fake *FakeClient) GetReturns(result1 *http.Response, result2 error)
- func (fake *FakeClient) Invocations() map[string][][]interface{}
- func (fake *FakeClient) Post(arg1 string, arg2 string, arg3 io.Reader) (*http.Response, error)
- func (fake *FakeClient) PostArgsForCall(i int) (string, string, io.Reader)
- func (fake *FakeClient) PostCallCount() int
- func (fake *FakeClient) PostReturns(result1 *http.Response, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct { APIGetStub func(string, interface{}) error APIPostStub func(string, interface{}, interface{}) error GetStub func(string) (*http.Response, error) PostStub func(string, string, io.Reader) (*http.Response, error) // contains filtered or unexported fields }
func (*FakeClient) APIGet ¶
func (fake *FakeClient) APIGet(arg1 string, arg2 interface{}) error
func (*FakeClient) APIGetArgsForCall ¶
func (fake *FakeClient) APIGetArgsForCall(i int) (string, interface{})
func (*FakeClient) APIGetCallCount ¶
func (fake *FakeClient) APIGetCallCount() int
func (*FakeClient) APIGetReturns ¶
func (fake *FakeClient) APIGetReturns(result1 error)
func (*FakeClient) APIPost ¶
func (fake *FakeClient) APIPost(arg1 string, arg2 interface{}, arg3 interface{}) error
func (*FakeClient) APIPostArgsForCall ¶
func (fake *FakeClient) APIPostArgsForCall(i int) (string, interface{}, interface{})
func (*FakeClient) APIPostCallCount ¶
func (fake *FakeClient) APIPostCallCount() int
func (*FakeClient) APIPostReturns ¶
func (fake *FakeClient) APIPostReturns(result1 error)
func (*FakeClient) GetArgsForCall ¶
func (fake *FakeClient) GetArgsForCall(i int) string
func (*FakeClient) GetCallCount ¶
func (fake *FakeClient) GetCallCount() int
func (*FakeClient) GetReturns ¶
func (fake *FakeClient) GetReturns(result1 *http.Response, result2 error)
func (*FakeClient) Invocations ¶
func (fake *FakeClient) Invocations() map[string][][]interface{}
func (*FakeClient) PostArgsForCall ¶
func (*FakeClient) PostCallCount ¶
func (fake *FakeClient) PostCallCount() int
func (*FakeClient) PostReturns ¶
func (fake *FakeClient) PostReturns(result1 *http.Response, result2 error)
Click to show internal directories.
Click to hide internal directories.