Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeConnection
- func (fake *FakeConnection) ConnectToEventStream(arg1 internal.Request) (*sse.EventSource, error)
- func (fake *FakeConnection) ConnectToEventStreamArgsForCall(i int) internal.Request
- func (fake *FakeConnection) ConnectToEventStreamCallCount() int
- func (fake *FakeConnection) ConnectToEventStreamCalls(stub func(internal.Request) (*sse.EventSource, error))
- func (fake *FakeConnection) ConnectToEventStreamReturns(result1 *sse.EventSource, result2 error)
- func (fake *FakeConnection) ConnectToEventStreamReturnsOnCall(i int, result1 *sse.EventSource, result2 error)
- func (fake *FakeConnection) HTTPClient() *http.Client
- func (fake *FakeConnection) HTTPClientCallCount() int
- func (fake *FakeConnection) HTTPClientCalls(stub func() *http.Client)
- func (fake *FakeConnection) HTTPClientReturns(result1 *http.Client)
- func (fake *FakeConnection) HTTPClientReturnsOnCall(i int, result1 *http.Client)
- func (fake *FakeConnection) Invocations() map[string][][]interface{}
- func (fake *FakeConnection) Send(arg1 internal.Request, arg2 *internal.Response) error
- func (fake *FakeConnection) SendArgsForCall(i int) (internal.Request, *internal.Response)
- func (fake *FakeConnection) SendCallCount() int
- func (fake *FakeConnection) SendCalls(stub func(internal.Request, *internal.Response) error)
- func (fake *FakeConnection) SendHTTPRequest(arg1 *http.Request, arg2 bool, arg3 *internal.Response) error
- func (fake *FakeConnection) SendHTTPRequestArgsForCall(i int) (*http.Request, bool, *internal.Response)
- func (fake *FakeConnection) SendHTTPRequestCallCount() int
- func (fake *FakeConnection) SendHTTPRequestCalls(stub func(*http.Request, bool, *internal.Response) error)
- func (fake *FakeConnection) SendHTTPRequestReturns(result1 error)
- func (fake *FakeConnection) SendHTTPRequestReturnsOnCall(i int, result1 error)
- func (fake *FakeConnection) SendReturns(result1 error)
- func (fake *FakeConnection) SendReturnsOnCall(i int, result1 error)
- func (fake *FakeConnection) URL() string
- func (fake *FakeConnection) URLCallCount() int
- func (fake *FakeConnection) URLCalls(stub func() string)
- func (fake *FakeConnection) URLReturns(result1 string)
- func (fake *FakeConnection) URLReturnsOnCall(i int, result1 string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConnection ¶
type FakeConnection struct { ConnectToEventStreamStub func(internal.Request) (*sse.EventSource, error) HTTPClientStub func() *http.Client SendStub func(internal.Request, *internal.Response) error SendHTTPRequestStub func(*http.Request, bool, *internal.Response) error URLStub func() string // contains filtered or unexported fields }
func (*FakeConnection) ConnectToEventStream ¶
func (fake *FakeConnection) ConnectToEventStream(arg1 internal.Request) (*sse.EventSource, error)
func (*FakeConnection) ConnectToEventStreamArgsForCall ¶
func (fake *FakeConnection) ConnectToEventStreamArgsForCall(i int) internal.Request
func (*FakeConnection) ConnectToEventStreamCallCount ¶
func (fake *FakeConnection) ConnectToEventStreamCallCount() int
func (*FakeConnection) ConnectToEventStreamCalls ¶
func (fake *FakeConnection) ConnectToEventStreamCalls(stub func(internal.Request) (*sse.EventSource, error))
func (*FakeConnection) ConnectToEventStreamReturns ¶
func (fake *FakeConnection) ConnectToEventStreamReturns(result1 *sse.EventSource, result2 error)
func (*FakeConnection) ConnectToEventStreamReturnsOnCall ¶
func (fake *FakeConnection) ConnectToEventStreamReturnsOnCall(i int, result1 *sse.EventSource, result2 error)
func (*FakeConnection) HTTPClient ¶
func (fake *FakeConnection) HTTPClient() *http.Client
func (*FakeConnection) HTTPClientCallCount ¶
func (fake *FakeConnection) HTTPClientCallCount() int
func (*FakeConnection) HTTPClientCalls ¶
func (fake *FakeConnection) HTTPClientCalls(stub func() *http.Client)
func (*FakeConnection) HTTPClientReturns ¶
func (fake *FakeConnection) HTTPClientReturns(result1 *http.Client)
func (*FakeConnection) HTTPClientReturnsOnCall ¶
func (fake *FakeConnection) HTTPClientReturnsOnCall(i int, result1 *http.Client)
func (*FakeConnection) Invocations ¶
func (fake *FakeConnection) Invocations() map[string][][]interface{}
func (*FakeConnection) SendArgsForCall ¶
func (*FakeConnection) SendCallCount ¶
func (fake *FakeConnection) SendCallCount() int
func (*FakeConnection) SendHTTPRequest ¶
func (*FakeConnection) SendHTTPRequestArgsForCall ¶
func (*FakeConnection) SendHTTPRequestCallCount ¶
func (fake *FakeConnection) SendHTTPRequestCallCount() int
func (*FakeConnection) SendHTTPRequestCalls ¶
func (*FakeConnection) SendHTTPRequestReturns ¶
func (fake *FakeConnection) SendHTTPRequestReturns(result1 error)
func (*FakeConnection) SendHTTPRequestReturnsOnCall ¶
func (fake *FakeConnection) SendHTTPRequestReturnsOnCall(i int, result1 error)
func (*FakeConnection) SendReturns ¶
func (fake *FakeConnection) SendReturns(result1 error)
func (*FakeConnection) SendReturnsOnCall ¶
func (fake *FakeConnection) SendReturnsOnCall(i int, result1 error)
func (*FakeConnection) URL ¶
func (fake *FakeConnection) URL() string
func (*FakeConnection) URLCallCount ¶
func (fake *FakeConnection) URLCallCount() int
func (*FakeConnection) URLCalls ¶
func (fake *FakeConnection) URLCalls(stub func() string)
func (*FakeConnection) URLReturns ¶
func (fake *FakeConnection) URLReturns(result1 string)
func (*FakeConnection) URLReturnsOnCall ¶
func (fake *FakeConnection) URLReturnsOnCall(i int, result1 string)
Click to show internal directories.
Click to hide internal directories.