transportfakes

package
v0.0.0-...-e99be67 Latest Latest
Warning

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

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

Documentation

Overview

This file was generated by counterfeiter

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 FakeReadCloser

type FakeReadCloser struct {
	ReadStub func(p []byte) (n int, err error)

	CloseStub func() error
	// contains filtered or unexported fields
}

func (*FakeReadCloser) Close

func (fake *FakeReadCloser) Close() error

func (*FakeReadCloser) CloseCallCount

func (fake *FakeReadCloser) CloseCallCount() int

func (*FakeReadCloser) CloseReturns

func (fake *FakeReadCloser) CloseReturns(result1 error)

func (*FakeReadCloser) CloseReturnsOnCall

func (fake *FakeReadCloser) CloseReturnsOnCall(i int, result1 error)

func (*FakeReadCloser) Invocations

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

func (*FakeReadCloser) Read

func (fake *FakeReadCloser) Read(p []byte) (n int, err error)

func (*FakeReadCloser) ReadArgsForCall

func (fake *FakeReadCloser) ReadArgsForCall(i int) []byte

func (*FakeReadCloser) ReadCallCount

func (fake *FakeReadCloser) ReadCallCount() int

func (*FakeReadCloser) ReadReturns

func (fake *FakeReadCloser) ReadReturns(result1 int, result2 error)

func (*FakeReadCloser) ReadReturnsOnCall

func (fake *FakeReadCloser) ReadReturnsOnCall(i int, result1 int, result2 error)

type FakeRequestGenerator

type FakeRequestGenerator struct {
	CreateRequestStub func(name string, params rata.Params, body io.Reader) (*http.Request, error)
	// contains filtered or unexported fields
}

func (*FakeRequestGenerator) CreateRequest

func (fake *FakeRequestGenerator) CreateRequest(name string, params rata.Params, body io.Reader) (*http.Request, error)

func (*FakeRequestGenerator) CreateRequestArgsForCall

func (fake *FakeRequestGenerator) CreateRequestArgsForCall(i int) (string, rata.Params, io.Reader)

func (*FakeRequestGenerator) CreateRequestCallCount

func (fake *FakeRequestGenerator) CreateRequestCallCount() int

func (*FakeRequestGenerator) CreateRequestReturns

func (fake *FakeRequestGenerator) CreateRequestReturns(result1 *http.Request, result2 error)

func (*FakeRequestGenerator) CreateRequestReturnsOnCall

func (fake *FakeRequestGenerator) CreateRequestReturnsOnCall(i int, result1 *http.Request, result2 error)

func (*FakeRequestGenerator) Invocations

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

type FakeRoundTripper

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

func (*FakeRoundTripper) Invocations

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

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)

func (*FakeRoundTripper) RoundTripReturnsOnCall

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

type FakeTransportDB

type FakeTransportDB struct {
	GetWorkerStub func(name string) (dbng.Worker, bool, error)
	// contains filtered or unexported fields
}

func (*FakeTransportDB) GetWorker

func (fake *FakeTransportDB) GetWorker(name string) (dbng.Worker, bool, error)

func (*FakeTransportDB) GetWorkerArgsForCall

func (fake *FakeTransportDB) GetWorkerArgsForCall(i int) string

func (*FakeTransportDB) GetWorkerCallCount

func (fake *FakeTransportDB) GetWorkerCallCount() int

func (*FakeTransportDB) GetWorkerReturns

func (fake *FakeTransportDB) GetWorkerReturns(result1 dbng.Worker, result2 bool, result3 error)

func (*FakeTransportDB) GetWorkerReturnsOnCall

func (fake *FakeTransportDB) GetWorkerReturnsOnCall(i int, result1 dbng.Worker, result2 bool, result3 error)

func (*FakeTransportDB) Invocations

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

Jump to

Keyboard shortcuts

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