fakes

package
v0.0.0-...-96ff825 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0, BSD-2-Clause-Views, BSD-3-Clause, + 1 more Imports: 4 Imported by: 0

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) HandleErrorCalls

func (fake *ErrorHandler) HandleErrorCalls(stub func(utils.ProxyResponseWriter, error))

func (*ErrorHandler) Invocations

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

type FakeProxyRoundTripper

type FakeProxyRoundTripper struct {
	CancelRequestStub func(*http.Request)

	RoundTripStub func(*http.Request) (*http.Response, error)
	// 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) CancelRequestCalls

func (fake *FakeProxyRoundTripper) CancelRequestCalls(stub func(*http.Request))

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) RoundTripCalls

func (fake *FakeProxyRoundTripper) RoundTripCalls(stub func(*http.Request) (*http.Response, error))

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