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 FakeReporter

type FakeReporter struct {
	CaptureBadRequestStub func(req *http.Request)

	CaptureBadGatewayStub func(req *http.Request)

	CaptureRoutingRequestStub func(b *route.Endpoint, req *http.Request)

	CaptureRoutingResponseStub func(b *route.Endpoint, res *http.Response, t time.Time, d time.Duration)
	// contains filtered or unexported fields
}

func (*FakeReporter) CaptureBadGateway

func (fake *FakeReporter) CaptureBadGateway(req *http.Request)

func (*FakeReporter) CaptureBadGatewayArgsForCall

func (fake *FakeReporter) CaptureBadGatewayArgsForCall(i int) *http.Request

func (*FakeReporter) CaptureBadGatewayCallCount

func (fake *FakeReporter) CaptureBadGatewayCallCount() int

func (*FakeReporter) CaptureBadRequest

func (fake *FakeReporter) CaptureBadRequest(req *http.Request)

func (*FakeReporter) CaptureBadRequestArgsForCall

func (fake *FakeReporter) CaptureBadRequestArgsForCall(i int) *http.Request

func (*FakeReporter) CaptureBadRequestCallCount

func (fake *FakeReporter) CaptureBadRequestCallCount() int

func (*FakeReporter) CaptureRoutingRequest

func (fake *FakeReporter) CaptureRoutingRequest(b *route.Endpoint, req *http.Request)

func (*FakeReporter) CaptureRoutingRequestArgsForCall

func (fake *FakeReporter) CaptureRoutingRequestArgsForCall(i int) (*route.Endpoint, *http.Request)

func (*FakeReporter) CaptureRoutingRequestCallCount

func (fake *FakeReporter) CaptureRoutingRequestCallCount() int

func (*FakeReporter) CaptureRoutingResponse

func (fake *FakeReporter) CaptureRoutingResponse(b *route.Endpoint, res *http.Response, t time.Time, d time.Duration)

func (*FakeReporter) CaptureRoutingResponseArgsForCall

func (fake *FakeReporter) CaptureRoutingResponseArgsForCall(i int) (*route.Endpoint, *http.Response, time.Time, time.Duration)

func (*FakeReporter) CaptureRoutingResponseCallCount

func (fake *FakeReporter) CaptureRoutingResponseCallCount() int

type FakeRouteReporter

type FakeRouteReporter struct {
	CaptureRouteStatsStub func(totalRoutes int, msSinceLastUpdate uint64)
	// contains filtered or unexported fields
}

func (*FakeRouteReporter) CaptureRouteStats

func (fake *FakeRouteReporter) CaptureRouteStats(totalRoutes int, msSinceLastUpdate uint64)

func (*FakeRouteReporter) CaptureRouteStatsArgsForCall

func (fake *FakeRouteReporter) CaptureRouteStatsArgsForCall(i int) (int, uint64)

func (*FakeRouteReporter) CaptureRouteStatsCallCount

func (fake *FakeRouteReporter) CaptureRouteStatsCallCount() int

Jump to

Keyboard shortcuts

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