Package httpfakes
Code generated by counterfeiter. DO NOT EDIT.
- type FakeAgentImplementation
- func (fake *FakeAgentImplementation) Invocations() map[string][][]interface{}
- func (fake *FakeAgentImplementation) SendGetRequest(arg1 *httpa.Client, arg2 string) (*httpa.Response, error)
- func (fake *FakeAgentImplementation) SendGetRequestArgsForCall(i int) (*httpa.Client, string)
- func (fake *FakeAgentImplementation) SendGetRequestCallCount() int
- func (fake *FakeAgentImplementation) SendGetRequestCalls(stub func(*httpa.Client, string) (*httpa.Response, error))
- func (fake *FakeAgentImplementation) SendGetRequestReturns(result1 *httpa.Response, result2 error)
- func (fake *FakeAgentImplementation) SendGetRequestReturnsOnCall(i int, result1 *httpa.Response, result2 error)
- func (fake *FakeAgentImplementation) SendPostRequest(arg1 *httpa.Client, arg2 string, arg3 []byte, arg4 string) (*httpa.Response, error)
- func (fake *FakeAgentImplementation) SendPostRequestArgsForCall(i int) (*httpa.Client, string, []byte, string)
- func (fake *FakeAgentImplementation) SendPostRequestCallCount() int
- func (fake *FakeAgentImplementation) SendPostRequestCalls(stub func(*httpa.Client, string, []byte, string) (*httpa.Response, error))
- func (fake *FakeAgentImplementation) SendPostRequestReturns(result1 *httpa.Response, result2 error)
- func (fake *FakeAgentImplementation) SendPostRequestReturnsOnCall(i int, result1 *httpa.Response, result2 error)
Package files
fake_agent_implementation.go
type FakeAgentImplementation struct {
SendGetRequestStub func(*httpa.Client, string) (*httpa.Response, error)
SendPostRequestStub func(*httpa.Client, string, []byte, string) (*httpa.Response, error)
}
func (*FakeAgentImplementation) Invocations
¶
func (fake *FakeAgentImplementation) Invocations() map[string][][]interface{}
func (*FakeAgentImplementation) SendGetRequest
¶
func (fake *FakeAgentImplementation) SendGetRequest(arg1 *httpa.Client, arg2 string) (*httpa.Response, error)
func (fake *FakeAgentImplementation) SendGetRequestArgsForCall(i int) (*httpa.Client, string)
func (fake *FakeAgentImplementation) SendGetRequestCallCount() int
func (fake *FakeAgentImplementation) SendGetRequestCalls(stub func(*httpa.Client, string) (*httpa.Response, error))
func (fake *FakeAgentImplementation) SendGetRequestReturns(result1 *httpa.Response, result2 error)
func (fake *FakeAgentImplementation) SendGetRequestReturnsOnCall(i int, result1 *httpa.Response, result2 error)
func (*FakeAgentImplementation) SendPostRequest
¶
func (fake *FakeAgentImplementation) SendPostRequest(arg1 *httpa.Client, arg2 string, arg3 []byte, arg4 string) (*httpa.Response, error)
func (fake *FakeAgentImplementation) SendPostRequestArgsForCall(i int) (*httpa.Client, string, []byte, string)
func (fake *FakeAgentImplementation) SendPostRequestCallCount() int
func (fake *FakeAgentImplementation) SendPostRequestCalls(stub func(*httpa.Client, string, []byte, string) (*httpa.Response, error))
func (fake *FakeAgentImplementation) SendPostRequestReturns(result1 *httpa.Response, result2 error)
func (fake *FakeAgentImplementation) SendPostRequestReturnsOnCall(i int, result1 *httpa.Response, result2 error)