fakes

package
v0.0.0-...-9b2d5d1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 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 FakeProxyReporter

type FakeProxyReporter 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 (*FakeProxyReporter) CaptureBadGateway

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

func (*FakeProxyReporter) CaptureBadGatewayArgsForCall

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

func (*FakeProxyReporter) CaptureBadGatewayCallCount

func (fake *FakeProxyReporter) CaptureBadGatewayCallCount() int

func (*FakeProxyReporter) CaptureBadRequest

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

func (*FakeProxyReporter) CaptureBadRequestArgsForCall

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

func (*FakeProxyReporter) CaptureBadRequestCallCount

func (fake *FakeProxyReporter) CaptureBadRequestCallCount() int

func (*FakeProxyReporter) CaptureRoutingRequest

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

func (*FakeProxyReporter) CaptureRoutingRequestArgsForCall

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

func (*FakeProxyReporter) CaptureRoutingRequestCallCount

func (fake *FakeProxyReporter) CaptureRoutingRequestCallCount() int

func (*FakeProxyReporter) CaptureRoutingResponse

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

func (*FakeProxyReporter) CaptureRoutingResponseArgsForCall

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

func (*FakeProxyReporter) CaptureRoutingResponseCallCount

func (fake *FakeProxyReporter) CaptureRoutingResponseCallCount() int

type FakeRouteRegistryReporter

type FakeRouteRegistryReporter struct {
	CaptureRouteStatsStub func(totalRoutes int, msSinceLastUpdate uint64)

	CaptureLookupTimeStub func(t time.Duration)

	CaptureRegistryMessageStub func(msg reporter.ComponentTagged)
	// contains filtered or unexported fields
}

func (*FakeRouteRegistryReporter) CaptureLookupTime

func (fake *FakeRouteRegistryReporter) CaptureLookupTime(t time.Duration)

func (*FakeRouteRegistryReporter) CaptureLookupTimeArgsForCall

func (fake *FakeRouteRegistryReporter) CaptureLookupTimeArgsForCall(i int) time.Duration

func (*FakeRouteRegistryReporter) CaptureLookupTimeCallCount

func (fake *FakeRouteRegistryReporter) CaptureLookupTimeCallCount() int

func (*FakeRouteRegistryReporter) CaptureRegistryMessage

func (fake *FakeRouteRegistryReporter) CaptureRegistryMessage(msg reporter.ComponentTagged)

func (*FakeRouteRegistryReporter) CaptureRegistryMessageArgsForCall

func (fake *FakeRouteRegistryReporter) CaptureRegistryMessageArgsForCall(i int) reporter.ComponentTagged

func (*FakeRouteRegistryReporter) CaptureRegistryMessageCallCount

func (fake *FakeRouteRegistryReporter) CaptureRegistryMessageCallCount() int

func (*FakeRouteRegistryReporter) CaptureRouteStats

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

func (*FakeRouteRegistryReporter) CaptureRouteStatsArgsForCall

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

func (*FakeRouteRegistryReporter) CaptureRouteStatsCallCount

func (fake *FakeRouteRegistryReporter) CaptureRouteStatsCallCount() int

Jump to

Keyboard shortcuts

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