netfakes

package
v6.31.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeHTTPClientInterface

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

	DumpResponseStub func(*http.Response)

	DoStub func(*http.Request) (*http.Response, error)

	ExecuteCheckRedirectStub func(req *http.Request, via []*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) DoReturns

func (fake *FakeHTTPClientInterface) DoReturns(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) 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) ExecuteCheckRedirect

func (fake *FakeHTTPClientInterface) ExecuteCheckRedirect(req *http.Request, via []*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) ExecuteCheckRedirectReturns

func (fake *FakeHTTPClientInterface) ExecuteCheckRedirectReturns(result1 error)

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

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

Jump to

Keyboard shortcuts

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