fakes

package
v0.0.0-...-2fc2a81 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2018 License: Apache-2.0, BSD-2-Clause-Views, BSD-3-Clause, + 1 more Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorHandler

type ErrorHandler struct {
	HandleErrorStub func(utils.ProxyResponseWriter, error)
	// contains filtered or unexported fields
}

func (*ErrorHandler) HandleError

func (fake *ErrorHandler) HandleError(arg1 utils.ProxyResponseWriter, arg2 error)

func (*ErrorHandler) HandleErrorArgsForCall

func (fake *ErrorHandler) HandleErrorArgsForCall(i int) (utils.ProxyResponseWriter, error)

func (*ErrorHandler) HandleErrorCallCount

func (fake *ErrorHandler) HandleErrorCallCount() int

func (*ErrorHandler) Invocations

func (fake *ErrorHandler) Invocations() map[string][][]interface{}

type FakeProxyRoundTripper

type FakeProxyRoundTripper struct {
	RoundTripStub func(*http.Request) (*http.Response, error)

	CancelRequestStub func(*http.Request)
	// contains filtered or unexported fields
}

func (*FakeProxyRoundTripper) CancelRequest

func (fake *FakeProxyRoundTripper) CancelRequest(arg1 *http.Request)

func (*FakeProxyRoundTripper) CancelRequestArgsForCall

func (fake *FakeProxyRoundTripper) CancelRequestArgsForCall(i int) *http.Request

func (*FakeProxyRoundTripper) CancelRequestCallCount

func (fake *FakeProxyRoundTripper) CancelRequestCallCount() int

func (*FakeProxyRoundTripper) Invocations

func (fake *FakeProxyRoundTripper) Invocations() map[string][][]interface{}

func (*FakeProxyRoundTripper) RoundTrip

func (fake *FakeProxyRoundTripper) RoundTrip(arg1 *http.Request) (*http.Response, error)

func (*FakeProxyRoundTripper) RoundTripArgsForCall

func (fake *FakeProxyRoundTripper) RoundTripArgsForCall(i int) *http.Request

func (*FakeProxyRoundTripper) RoundTripCallCount

func (fake *FakeProxyRoundTripper) RoundTripCallCount() int

func (*FakeProxyRoundTripper) RoundTripReturns

func (fake *FakeProxyRoundTripper) RoundTripReturns(result1 *http.Response, result2 error)

func (*FakeProxyRoundTripper) RoundTripReturnsOnCall

func (fake *FakeProxyRoundTripper) RoundTripReturnsOnCall(i int, result1 *http.Response, result2 error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL