netfakes

package
v8.7.8-mod Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 FakeHTTPClientInterface

type FakeHTTPClientInterface struct {
	DoStub func(*http.Request) (*http.Response, error)

	DumpRequestStub func(*http.Request)

	DumpResponseStub func(*http.Response)

	ExecuteCheckRedirectStub func(*http.Request, []*http.Request) error
	// contains filtered or unexported fields
}

func (*FakeHTTPClientInterface) Do

func (fake *FakeHTTPClientInterface) Do(arg1 *http.Request) (*http.Response, error)

func (*FakeHTTPClientInterface) DoArgsForCall

func (fake *FakeHTTPClientInterface) DoArgsForCall(i int) *http.Request

func (*FakeHTTPClientInterface) DoCallCount

func (fake *FakeHTTPClientInterface) DoCallCount() int

func (*FakeHTTPClientInterface) DoCalls

func (fake *FakeHTTPClientInterface) DoCalls(stub func(*http.Request) (*http.Response, error))

func (*FakeHTTPClientInterface) DoReturns

func (fake *FakeHTTPClientInterface) DoReturns(result1 *http.Response, result2 error)

func (*FakeHTTPClientInterface) DoReturnsOnCall

func (fake *FakeHTTPClientInterface) DoReturnsOnCall(i int, result1 *http.Response, result2 error)

func (*FakeHTTPClientInterface) DumpRequest

func (fake *FakeHTTPClientInterface) DumpRequest(arg1 *http.Request)

func (*FakeHTTPClientInterface) DumpRequestArgsForCall

func (fake *FakeHTTPClientInterface) DumpRequestArgsForCall(i int) *http.Request

func (*FakeHTTPClientInterface) DumpRequestCallCount

func (fake *FakeHTTPClientInterface) DumpRequestCallCount() int

func (*FakeHTTPClientInterface) DumpRequestCalls

func (fake *FakeHTTPClientInterface) DumpRequestCalls(stub func(*http.Request))

func (*FakeHTTPClientInterface) DumpResponse

func (fake *FakeHTTPClientInterface) DumpResponse(arg1 *http.Response)

func (*FakeHTTPClientInterface) DumpResponseArgsForCall

func (fake *FakeHTTPClientInterface) DumpResponseArgsForCall(i int) *http.Response

func (*FakeHTTPClientInterface) DumpResponseCallCount

func (fake *FakeHTTPClientInterface) DumpResponseCallCount() int

func (*FakeHTTPClientInterface) DumpResponseCalls

func (fake *FakeHTTPClientInterface) DumpResponseCalls(stub func(*http.Response))

func (*FakeHTTPClientInterface) ExecuteCheckRedirect

func (fake *FakeHTTPClientInterface) ExecuteCheckRedirect(arg1 *http.Request, arg2 []*http.Request) error

func (*FakeHTTPClientInterface) ExecuteCheckRedirectArgsForCall

func (fake *FakeHTTPClientInterface) ExecuteCheckRedirectArgsForCall(i int) (*http.Request, []*http.Request)

func (*FakeHTTPClientInterface) ExecuteCheckRedirectCallCount

func (fake *FakeHTTPClientInterface) ExecuteCheckRedirectCallCount() int

func (*FakeHTTPClientInterface) ExecuteCheckRedirectCalls

func (fake *FakeHTTPClientInterface) ExecuteCheckRedirectCalls(stub func(*http.Request, []*http.Request) error)

func (*FakeHTTPClientInterface) ExecuteCheckRedirectReturns

func (fake *FakeHTTPClientInterface) ExecuteCheckRedirectReturns(result1 error)

func (*FakeHTTPClientInterface) ExecuteCheckRedirectReturnsOnCall

func (fake *FakeHTTPClientInterface) ExecuteCheckRedirectReturnsOnCall(i int, result1 error)

func (*FakeHTTPClientInterface) Invocations

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

type FakeRequestDumperInterface

type FakeRequestDumperInterface struct {
	DumpRequestStub func(*http.Request)

	DumpResponseStub func(*http.Response)
	// contains filtered or unexported fields
}

func (*FakeRequestDumperInterface) DumpRequest

func (fake *FakeRequestDumperInterface) DumpRequest(arg1 *http.Request)

func (*FakeRequestDumperInterface) DumpRequestArgsForCall

func (fake *FakeRequestDumperInterface) DumpRequestArgsForCall(i int) *http.Request

func (*FakeRequestDumperInterface) DumpRequestCallCount

func (fake *FakeRequestDumperInterface) DumpRequestCallCount() int

func (*FakeRequestDumperInterface) DumpRequestCalls

func (fake *FakeRequestDumperInterface) DumpRequestCalls(stub func(*http.Request))

func (*FakeRequestDumperInterface) DumpResponse

func (fake *FakeRequestDumperInterface) DumpResponse(arg1 *http.Response)

func (*FakeRequestDumperInterface) DumpResponseArgsForCall

func (fake *FakeRequestDumperInterface) DumpResponseArgsForCall(i int) *http.Response

func (*FakeRequestDumperInterface) DumpResponseCallCount

func (fake *FakeRequestDumperInterface) DumpResponseCallCount() int

func (*FakeRequestDumperInterface) DumpResponseCalls

func (fake *FakeRequestDumperInterface) DumpResponseCalls(stub func(*http.Response))

func (*FakeRequestDumperInterface) Invocations

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

type FakeWarningProducer

type FakeWarningProducer struct {
	WarningsStub func() []string
	// contains filtered or unexported fields
}

func (*FakeWarningProducer) Invocations

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

func (*FakeWarningProducer) Warnings

func (fake *FakeWarningProducer) Warnings() []string

func (*FakeWarningProducer) WarningsCallCount

func (fake *FakeWarningProducer) WarningsCallCount() int

func (*FakeWarningProducer) WarningsCalls

func (fake *FakeWarningProducer) WarningsCalls(stub func() []string)

func (*FakeWarningProducer) WarningsReturns

func (fake *FakeWarningProducer) WarningsReturns(result1 []string)

func (*FakeWarningProducer) WarningsReturnsOnCall

func (fake *FakeWarningProducer) WarningsReturnsOnCall(i int, result1 []string)

Jump to

Keyboard shortcuts

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