Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeConn
- func (fake *FakeConn) Close() error
- func (fake *FakeConn) CloseCallCount() int
- func (fake *FakeConn) CloseReturns(result1 error)
- func (fake *FakeConn) Invocations() map[string][][]interface{}
- func (fake *FakeConn) LocalAddr() net.Addr
- func (fake *FakeConn) LocalAddrCallCount() int
- func (fake *FakeConn) LocalAddrReturns(result1 net.Addr)
- func (fake *FakeConn) Read(b []byte) (n int, err error)
- func (fake *FakeConn) ReadArgsForCall(i int) []byte
- func (fake *FakeConn) ReadCallCount() int
- func (fake *FakeConn) ReadReturns(result1 int, result2 error)
- func (fake *FakeConn) RemoteAddr() net.Addr
- func (fake *FakeConn) RemoteAddrCallCount() int
- func (fake *FakeConn) RemoteAddrReturns(result1 net.Addr)
- func (fake *FakeConn) SetDeadline(t time.Time) error
- func (fake *FakeConn) SetDeadlineArgsForCall(i int) time.Time
- func (fake *FakeConn) SetDeadlineCallCount() int
- func (fake *FakeConn) SetDeadlineReturns(result1 error)
- func (fake *FakeConn) SetReadDeadline(t time.Time) error
- func (fake *FakeConn) SetReadDeadlineArgsForCall(i int) time.Time
- func (fake *FakeConn) SetReadDeadlineCallCount() int
- func (fake *FakeConn) SetReadDeadlineReturns(result1 error)
- func (fake *FakeConn) SetWriteDeadline(t time.Time) error
- func (fake *FakeConn) SetWriteDeadlineArgsForCall(i int) time.Time
- func (fake *FakeConn) SetWriteDeadlineCallCount() int
- func (fake *FakeConn) SetWriteDeadlineReturns(result1 error)
- func (fake *FakeConn) Write(b []byte) (n int, err error)
- func (fake *FakeConn) WriteArgsForCall(i int) []byte
- func (fake *FakeConn) WriteCallCount() int
- func (fake *FakeConn) WriteReturns(result1 int, result2 error)
- type FakeDoHijackCloser
- func (fake *FakeDoHijackCloser) Close() error
- func (fake *FakeDoHijackCloser) CloseCallCount() int
- func (fake *FakeDoHijackCloser) CloseReturns(result1 error)
- func (fake *FakeDoHijackCloser) Do(req *http.Request) (resp *http.Response, err error)
- func (fake *FakeDoHijackCloser) DoArgsForCall(i int) *http.Request
- func (fake *FakeDoHijackCloser) DoCallCount() int
- func (fake *FakeDoHijackCloser) DoReturns(result1 *http.Response, result2 error)
- func (fake *FakeDoHijackCloser) Hijack() (c net.Conn, r *bufio.Reader)
- func (fake *FakeDoHijackCloser) HijackCallCount() int
- func (fake *FakeDoHijackCloser) HijackReturns(result1 net.Conn, result2 *bufio.Reader)
- func (fake *FakeDoHijackCloser) Invocations() map[string][][]interface{}
- type FakeDoHijackCloserFactory
- func (fake *FakeDoHijackCloserFactory) Invocations() map[string][][]interface{}
- func (fake *FakeDoHijackCloserFactory) NewDoHijackCloser(c net.Conn, r *bufio.Reader) retryhttp.DoHijackCloser
- func (fake *FakeDoHijackCloserFactory) NewDoHijackCloserArgsForCall(i int) (net.Conn, *bufio.Reader)
- func (fake *FakeDoHijackCloserFactory) NewDoHijackCloserCallCount() int
- func (fake *FakeDoHijackCloserFactory) NewDoHijackCloserReturns(result1 retryhttp.DoHijackCloser)
- type FakeHijackCloser
- func (fake *FakeHijackCloser) Close() error
- func (fake *FakeHijackCloser) CloseCallCount() int
- func (fake *FakeHijackCloser) CloseReturns(result1 error)
- func (fake *FakeHijackCloser) Hijack() (c net.Conn, r *bufio.Reader)
- func (fake *FakeHijackCloser) HijackCallCount() int
- func (fake *FakeHijackCloser) HijackReturns(result1 net.Conn, result2 *bufio.Reader)
- func (fake *FakeHijackCloser) Invocations() map[string][][]interface{}
- type FakeHijackableClient
- func (fake *FakeHijackableClient) Do(req *http.Request) (*http.Response, retryhttp.HijackCloser, error)
- func (fake *FakeHijackableClient) DoArgsForCall(i int) *http.Request
- func (fake *FakeHijackableClient) DoCallCount() int
- func (fake *FakeHijackableClient) DoReturns(result1 *http.Response, result2 retryhttp.HijackCloser, result3 error)
- func (fake *FakeHijackableClient) Invocations() map[string][][]interface{}
- type FakeRetryPolicy
- func (fake *FakeRetryPolicy) DelayFor(arg1 uint) (time.Duration, bool)
- func (fake *FakeRetryPolicy) DelayForArgsForCall(i int) uint
- func (fake *FakeRetryPolicy) DelayForCallCount() int
- func (fake *FakeRetryPolicy) DelayForReturns(result1 time.Duration, result2 bool)
- func (fake *FakeRetryPolicy) Invocations() map[string][][]interface{}
- type FakeRoundTripper
- func (fake *FakeRoundTripper) Invocations() map[string][][]interface{}
- func (fake *FakeRoundTripper) RoundTrip(request *http.Request) (*http.Response, error)
- func (fake *FakeRoundTripper) RoundTripArgsForCall(i int) *http.Request
- func (fake *FakeRoundTripper) RoundTripCallCount() int
- func (fake *FakeRoundTripper) RoundTripReturns(result1 *http.Response, result2 error)
- type FakeSleeper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConn ¶
type FakeConn struct { ReadStub func(b []byte) (n int, err error) WriteStub func(b []byte) (n int, err error) CloseStub func() error LocalAddrStub func() net.Addr RemoteAddrStub func() net.Addr SetDeadlineStub func(t time.Time) error SetReadDeadlineStub func(t time.Time) error SetWriteDeadlineStub func(t time.Time) error // contains filtered or unexported fields }
func (*FakeConn) CloseCallCount ¶
func (*FakeConn) CloseReturns ¶
func (*FakeConn) Invocations ¶
func (*FakeConn) LocalAddrCallCount ¶
func (*FakeConn) LocalAddrReturns ¶
func (*FakeConn) ReadArgsForCall ¶
func (*FakeConn) ReadCallCount ¶
func (*FakeConn) ReadReturns ¶
func (*FakeConn) RemoteAddr ¶
func (*FakeConn) RemoteAddrCallCount ¶
func (*FakeConn) RemoteAddrReturns ¶
func (*FakeConn) SetDeadlineArgsForCall ¶
func (*FakeConn) SetDeadlineCallCount ¶
func (*FakeConn) SetDeadlineReturns ¶
func (*FakeConn) SetReadDeadlineArgsForCall ¶
func (*FakeConn) SetReadDeadlineCallCount ¶
func (*FakeConn) SetReadDeadlineReturns ¶
func (*FakeConn) SetWriteDeadlineArgsForCall ¶
func (*FakeConn) SetWriteDeadlineCallCount ¶
func (*FakeConn) SetWriteDeadlineReturns ¶
func (*FakeConn) WriteArgsForCall ¶
func (*FakeConn) WriteCallCount ¶
func (*FakeConn) WriteReturns ¶
type FakeDoHijackCloser ¶
type FakeDoHijackCloser struct { DoStub func(req *http.Request) (resp *http.Response, err error) HijackStub func() (c net.Conn, r *bufio.Reader) CloseStub func() error // contains filtered or unexported fields }
func (*FakeDoHijackCloser) Close ¶
func (fake *FakeDoHijackCloser) Close() error
func (*FakeDoHijackCloser) CloseCallCount ¶
func (fake *FakeDoHijackCloser) CloseCallCount() int
func (*FakeDoHijackCloser) CloseReturns ¶
func (fake *FakeDoHijackCloser) CloseReturns(result1 error)
func (*FakeDoHijackCloser) DoArgsForCall ¶
func (fake *FakeDoHijackCloser) DoArgsForCall(i int) *http.Request
func (*FakeDoHijackCloser) DoCallCount ¶
func (fake *FakeDoHijackCloser) DoCallCount() int
func (*FakeDoHijackCloser) DoReturns ¶
func (fake *FakeDoHijackCloser) DoReturns(result1 *http.Response, result2 error)
func (*FakeDoHijackCloser) Hijack ¶
func (fake *FakeDoHijackCloser) Hijack() (c net.Conn, r *bufio.Reader)
func (*FakeDoHijackCloser) HijackCallCount ¶
func (fake *FakeDoHijackCloser) HijackCallCount() int
func (*FakeDoHijackCloser) HijackReturns ¶
func (fake *FakeDoHijackCloser) HijackReturns(result1 net.Conn, result2 *bufio.Reader)
func (*FakeDoHijackCloser) Invocations ¶
func (fake *FakeDoHijackCloser) Invocations() map[string][][]interface{}
type FakeDoHijackCloserFactory ¶
type FakeDoHijackCloserFactory struct { NewDoHijackCloserStub func(c net.Conn, r *bufio.Reader) retryhttp.DoHijackCloser // contains filtered or unexported fields }
func (*FakeDoHijackCloserFactory) Invocations ¶
func (fake *FakeDoHijackCloserFactory) Invocations() map[string][][]interface{}
func (*FakeDoHijackCloserFactory) NewDoHijackCloser ¶
func (fake *FakeDoHijackCloserFactory) NewDoHijackCloser(c net.Conn, r *bufio.Reader) retryhttp.DoHijackCloser
func (*FakeDoHijackCloserFactory) NewDoHijackCloserArgsForCall ¶
func (*FakeDoHijackCloserFactory) NewDoHijackCloserCallCount ¶
func (fake *FakeDoHijackCloserFactory) NewDoHijackCloserCallCount() int
func (*FakeDoHijackCloserFactory) NewDoHijackCloserReturns ¶
func (fake *FakeDoHijackCloserFactory) NewDoHijackCloserReturns(result1 retryhttp.DoHijackCloser)
type FakeHijackCloser ¶
type FakeHijackCloser struct { HijackStub func() (c net.Conn, r *bufio.Reader) CloseStub func() error // contains filtered or unexported fields }
func (*FakeHijackCloser) Close ¶
func (fake *FakeHijackCloser) Close() error
func (*FakeHijackCloser) CloseCallCount ¶
func (fake *FakeHijackCloser) CloseCallCount() int
func (*FakeHijackCloser) CloseReturns ¶
func (fake *FakeHijackCloser) CloseReturns(result1 error)
func (*FakeHijackCloser) Hijack ¶
func (fake *FakeHijackCloser) Hijack() (c net.Conn, r *bufio.Reader)
func (*FakeHijackCloser) HijackCallCount ¶
func (fake *FakeHijackCloser) HijackCallCount() int
func (*FakeHijackCloser) HijackReturns ¶
func (fake *FakeHijackCloser) HijackReturns(result1 net.Conn, result2 *bufio.Reader)
func (*FakeHijackCloser) Invocations ¶
func (fake *FakeHijackCloser) Invocations() map[string][][]interface{}
type FakeHijackableClient ¶
type FakeHijackableClient struct { DoStub func(req *http.Request) (*http.Response, retryhttp.HijackCloser, error) // contains filtered or unexported fields }
func (*FakeHijackableClient) Do ¶
func (fake *FakeHijackableClient) Do(req *http.Request) (*http.Response, retryhttp.HijackCloser, error)
func (*FakeHijackableClient) DoArgsForCall ¶
func (fake *FakeHijackableClient) DoArgsForCall(i int) *http.Request
func (*FakeHijackableClient) DoCallCount ¶
func (fake *FakeHijackableClient) DoCallCount() int
func (*FakeHijackableClient) DoReturns ¶
func (fake *FakeHijackableClient) DoReturns(result1 *http.Response, result2 retryhttp.HijackCloser, result3 error)
func (*FakeHijackableClient) Invocations ¶
func (fake *FakeHijackableClient) Invocations() map[string][][]interface{}
type FakeRetryPolicy ¶
type FakeRetryPolicy struct { DelayForStub func(uint) (time.Duration, bool) // contains filtered or unexported fields }
func (*FakeRetryPolicy) DelayFor ¶
func (fake *FakeRetryPolicy) DelayFor(arg1 uint) (time.Duration, bool)
func (*FakeRetryPolicy) DelayForArgsForCall ¶
func (fake *FakeRetryPolicy) DelayForArgsForCall(i int) uint
func (*FakeRetryPolicy) DelayForCallCount ¶
func (fake *FakeRetryPolicy) DelayForCallCount() int
func (*FakeRetryPolicy) DelayForReturns ¶
func (fake *FakeRetryPolicy) DelayForReturns(result1 time.Duration, result2 bool)
func (*FakeRetryPolicy) Invocations ¶
func (fake *FakeRetryPolicy) Invocations() map[string][][]interface{}
type FakeRoundTripper ¶
type FakeRoundTripper struct { RoundTripStub func(request *http.Request) (*http.Response, error) // contains filtered or unexported fields }
func (*FakeRoundTripper) Invocations ¶
func (fake *FakeRoundTripper) Invocations() map[string][][]interface{}
func (*FakeRoundTripper) RoundTripArgsForCall ¶
func (fake *FakeRoundTripper) RoundTripArgsForCall(i int) *http.Request
func (*FakeRoundTripper) RoundTripCallCount ¶
func (fake *FakeRoundTripper) RoundTripCallCount() int
func (*FakeRoundTripper) RoundTripReturns ¶
func (fake *FakeRoundTripper) RoundTripReturns(result1 *http.Response, result2 error)
type FakeSleeper ¶
func (*FakeSleeper) Invocations ¶
func (fake *FakeSleeper) Invocations() map[string][][]interface{}
func (*FakeSleeper) Sleep ¶
func (fake *FakeSleeper) Sleep(arg1 time.Duration)
func (*FakeSleeper) SleepArgsForCall ¶
func (fake *FakeSleeper) SleepArgsForCall(i int) time.Duration
func (*FakeSleeper) SleepCallCount ¶
func (fake *FakeSleeper) SleepCallCount() int
Click to show internal directories.
Click to hide internal directories.