fakes

package
v0.0.0-...-b61aaf9 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2016 License: Apache-2.0, BSD-2-Clause-Views, BSD-3-Clause, + 1 more Imports: 5 Imported by: 0

Documentation

Overview

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 FakeProxyResponseWriter

type FakeProxyResponseWriter struct {
	HeaderStub func() http.Header

	HijackStub func() (net.Conn, *bufio.ReadWriter, error)

	WriteStub func(b []byte) (int, error)

	WriteHeaderStub func(s int)

	DoneStub func()

	FlushStub func()

	StatusStub func() int

	SizeStub func() int
	// contains filtered or unexported fields
}

func (*FakeProxyResponseWriter) Done

func (fake *FakeProxyResponseWriter) Done()

func (*FakeProxyResponseWriter) DoneCallCount

func (fake *FakeProxyResponseWriter) DoneCallCount() int

func (*FakeProxyResponseWriter) Flush

func (fake *FakeProxyResponseWriter) Flush()

func (*FakeProxyResponseWriter) FlushCallCount

func (fake *FakeProxyResponseWriter) FlushCallCount() int

func (*FakeProxyResponseWriter) Header

func (fake *FakeProxyResponseWriter) Header() http.Header

func (*FakeProxyResponseWriter) HeaderCallCount

func (fake *FakeProxyResponseWriter) HeaderCallCount() int

func (*FakeProxyResponseWriter) HeaderReturns

func (fake *FakeProxyResponseWriter) HeaderReturns(result1 http.Header)

func (*FakeProxyResponseWriter) Hijack

func (fake *FakeProxyResponseWriter) Hijack() (net.Conn, *bufio.ReadWriter, error)

func (*FakeProxyResponseWriter) HijackCallCount

func (fake *FakeProxyResponseWriter) HijackCallCount() int

func (*FakeProxyResponseWriter) HijackReturns

func (fake *FakeProxyResponseWriter) HijackReturns(result1 net.Conn, result2 *bufio.ReadWriter, result3 error)

func (*FakeProxyResponseWriter) Size

func (fake *FakeProxyResponseWriter) Size() int

func (*FakeProxyResponseWriter) SizeCallCount

func (fake *FakeProxyResponseWriter) SizeCallCount() int

func (*FakeProxyResponseWriter) SizeReturns

func (fake *FakeProxyResponseWriter) SizeReturns(result1 int)

func (*FakeProxyResponseWriter) Status

func (fake *FakeProxyResponseWriter) Status() int

func (*FakeProxyResponseWriter) StatusCallCount

func (fake *FakeProxyResponseWriter) StatusCallCount() int

func (*FakeProxyResponseWriter) StatusReturns

func (fake *FakeProxyResponseWriter) StatusReturns(result1 int)

func (*FakeProxyResponseWriter) Write

func (fake *FakeProxyResponseWriter) Write(b []byte) (int, error)

func (*FakeProxyResponseWriter) WriteArgsForCall

func (fake *FakeProxyResponseWriter) WriteArgsForCall(i int) []byte

func (*FakeProxyResponseWriter) WriteCallCount

func (fake *FakeProxyResponseWriter) WriteCallCount() int

func (*FakeProxyResponseWriter) WriteHeader

func (fake *FakeProxyResponseWriter) WriteHeader(s int)

func (*FakeProxyResponseWriter) WriteHeaderArgsForCall

func (fake *FakeProxyResponseWriter) WriteHeaderArgsForCall(i int) int

func (*FakeProxyResponseWriter) WriteHeaderCallCount

func (fake *FakeProxyResponseWriter) WriteHeaderCallCount() int

func (*FakeProxyResponseWriter) WriteReturns

func (fake *FakeProxyResponseWriter) WriteReturns(result1 int, result2 error)

type FakeRoundTripper

type FakeRoundTripper struct {
	RoundTripStub func(*http.Request) (*http.Response, error)
	// contains filtered or unexported fields
}

func (*FakeRoundTripper) RoundTrip

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

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)

Jump to

Keyboard shortcuts

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