fakes

package
v0.0.0-...-c13e492 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: Apache-2.0, BSD-2-Clause-Views, BSD-3-Clause, + 1 more Imports: 9 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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 FakeCombinedReporter

type FakeCombinedReporter struct {
	CaptureBackendExhaustedConnsStub func()

	CaptureBackendInvalidIDStub func()

	CaptureBackendInvalidTLSCertStub func()

	CaptureBackendTLSHandshakeFailedStub func()

	CaptureBadRequestStub func()

	CaptureBadGatewayStub func()

	CaptureRoutingRequestStub func(b *route.Endpoint)

	CaptureRoutingResponseStub func(statusCode int)

	CaptureRoutingResponseLatencyStub func(b *route.Endpoint, statusCode int, t time.Time, d time.Duration)

	CaptureRouteServiceResponseStub func(res *http.Response)

	CaptureWebSocketUpdateStub func()

	CaptureWebSocketFailureStub func()
	// contains filtered or unexported fields
}

func (*FakeCombinedReporter) CaptureBackendExhaustedConns

func (fake *FakeCombinedReporter) CaptureBackendExhaustedConns()

func (*FakeCombinedReporter) CaptureBackendExhaustedConnsCallCount

func (fake *FakeCombinedReporter) CaptureBackendExhaustedConnsCallCount() int

func (*FakeCombinedReporter) CaptureBackendInvalidID

func (fake *FakeCombinedReporter) CaptureBackendInvalidID()

func (*FakeCombinedReporter) CaptureBackendInvalidIDCallCount

func (fake *FakeCombinedReporter) CaptureBackendInvalidIDCallCount() int

func (*FakeCombinedReporter) CaptureBackendInvalidTLSCert

func (fake *FakeCombinedReporter) CaptureBackendInvalidTLSCert()

func (*FakeCombinedReporter) CaptureBackendInvalidTLSCertCallCount

func (fake *FakeCombinedReporter) CaptureBackendInvalidTLSCertCallCount() int

func (*FakeCombinedReporter) CaptureBackendTLSHandshakeFailed

func (fake *FakeCombinedReporter) CaptureBackendTLSHandshakeFailed()

func (*FakeCombinedReporter) CaptureBackendTLSHandshakeFailedCallCount

func (fake *FakeCombinedReporter) CaptureBackendTLSHandshakeFailedCallCount() int

func (*FakeCombinedReporter) CaptureBadGateway

func (fake *FakeCombinedReporter) CaptureBadGateway()

func (*FakeCombinedReporter) CaptureBadGatewayCallCount

func (fake *FakeCombinedReporter) CaptureBadGatewayCallCount() int

func (*FakeCombinedReporter) CaptureBadRequest

func (fake *FakeCombinedReporter) CaptureBadRequest()

func (*FakeCombinedReporter) CaptureBadRequestCallCount

func (fake *FakeCombinedReporter) CaptureBadRequestCallCount() int

func (*FakeCombinedReporter) CaptureRouteServiceResponse

func (fake *FakeCombinedReporter) CaptureRouteServiceResponse(res *http.Response)

func (*FakeCombinedReporter) CaptureRouteServiceResponseArgsForCall

func (fake *FakeCombinedReporter) CaptureRouteServiceResponseArgsForCall(i int) *http.Response

func (*FakeCombinedReporter) CaptureRouteServiceResponseCallCount

func (fake *FakeCombinedReporter) CaptureRouteServiceResponseCallCount() int

func (*FakeCombinedReporter) CaptureRoutingRequest

func (fake *FakeCombinedReporter) CaptureRoutingRequest(b *route.Endpoint)

func (*FakeCombinedReporter) CaptureRoutingRequestArgsForCall

func (fake *FakeCombinedReporter) CaptureRoutingRequestArgsForCall(i int) *route.Endpoint

func (*FakeCombinedReporter) CaptureRoutingRequestCallCount

func (fake *FakeCombinedReporter) CaptureRoutingRequestCallCount() int

func (*FakeCombinedReporter) CaptureRoutingResponse

func (fake *FakeCombinedReporter) CaptureRoutingResponse(statusCode int)

func (*FakeCombinedReporter) CaptureRoutingResponseArgsForCall

func (fake *FakeCombinedReporter) CaptureRoutingResponseArgsForCall(i int) int

func (*FakeCombinedReporter) CaptureRoutingResponseCallCount

func (fake *FakeCombinedReporter) CaptureRoutingResponseCallCount() int

func (*FakeCombinedReporter) CaptureRoutingResponseLatency

func (fake *FakeCombinedReporter) CaptureRoutingResponseLatency(b *route.Endpoint, statusCode int, t time.Time, d time.Duration)

func (*FakeCombinedReporter) CaptureRoutingResponseLatencyArgsForCall

func (fake *FakeCombinedReporter) CaptureRoutingResponseLatencyArgsForCall(i int) (*route.Endpoint, int, time.Time, time.Duration)

func (*FakeCombinedReporter) CaptureRoutingResponseLatencyCallCount

func (fake *FakeCombinedReporter) CaptureRoutingResponseLatencyCallCount() int

func (*FakeCombinedReporter) CaptureWebSocketFailure

func (fake *FakeCombinedReporter) CaptureWebSocketFailure()

func (*FakeCombinedReporter) CaptureWebSocketFailureCallCount

func (fake *FakeCombinedReporter) CaptureWebSocketFailureCallCount() int

func (*FakeCombinedReporter) CaptureWebSocketUpdate

func (fake *FakeCombinedReporter) CaptureWebSocketUpdate()

func (*FakeCombinedReporter) CaptureWebSocketUpdateCallCount

func (fake *FakeCombinedReporter) CaptureWebSocketUpdateCallCount() int

func (*FakeCombinedReporter) Invocations

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

type FakeProxyReporter

type FakeProxyReporter struct {
	CaptureBackendExhaustedConnsStub func()

	CaptureBackendInvalidIDStub func()

	CaptureBackendInvalidTLSCertStub func()

	CaptureBackendTLSHandshakeFailedStub func()

	CaptureBadGatewayStub func()

	CaptureBadRequestStub func()

	CaptureRouteServiceResponseStub func(*http.Response)

	CaptureRoutingRequestStub func(*route.Endpoint)

	CaptureRoutingResponseStub func(int)

	CaptureRoutingResponseLatencyStub func(*route.Endpoint, int, time.Time, time.Duration)

	CaptureWebSocketFailureStub func()

	CaptureWebSocketUpdateStub func()
	// contains filtered or unexported fields
}

func (*FakeProxyReporter) CaptureBackendExhaustedConns

func (fake *FakeProxyReporter) CaptureBackendExhaustedConns()

func (*FakeProxyReporter) CaptureBackendExhaustedConnsCallCount

func (fake *FakeProxyReporter) CaptureBackendExhaustedConnsCallCount() int

func (*FakeProxyReporter) CaptureBackendExhaustedConnsCalls

func (fake *FakeProxyReporter) CaptureBackendExhaustedConnsCalls(stub func())

func (*FakeProxyReporter) CaptureBackendInvalidID

func (fake *FakeProxyReporter) CaptureBackendInvalidID()

func (*FakeProxyReporter) CaptureBackendInvalidIDCallCount

func (fake *FakeProxyReporter) CaptureBackendInvalidIDCallCount() int

func (*FakeProxyReporter) CaptureBackendInvalidIDCalls

func (fake *FakeProxyReporter) CaptureBackendInvalidIDCalls(stub func())

func (*FakeProxyReporter) CaptureBackendInvalidTLSCert

func (fake *FakeProxyReporter) CaptureBackendInvalidTLSCert()

func (*FakeProxyReporter) CaptureBackendInvalidTLSCertCallCount

func (fake *FakeProxyReporter) CaptureBackendInvalidTLSCertCallCount() int

func (*FakeProxyReporter) CaptureBackendInvalidTLSCertCalls

func (fake *FakeProxyReporter) CaptureBackendInvalidTLSCertCalls(stub func())

func (*FakeProxyReporter) CaptureBackendTLSHandshakeFailed

func (fake *FakeProxyReporter) CaptureBackendTLSHandshakeFailed()

func (*FakeProxyReporter) CaptureBackendTLSHandshakeFailedCallCount

func (fake *FakeProxyReporter) CaptureBackendTLSHandshakeFailedCallCount() int

func (*FakeProxyReporter) CaptureBackendTLSHandshakeFailedCalls

func (fake *FakeProxyReporter) CaptureBackendTLSHandshakeFailedCalls(stub func())

func (*FakeProxyReporter) CaptureBadGateway

func (fake *FakeProxyReporter) CaptureBadGateway()

func (*FakeProxyReporter) CaptureBadGatewayCallCount

func (fake *FakeProxyReporter) CaptureBadGatewayCallCount() int

func (*FakeProxyReporter) CaptureBadGatewayCalls

func (fake *FakeProxyReporter) CaptureBadGatewayCalls(stub func())

func (*FakeProxyReporter) CaptureBadRequest

func (fake *FakeProxyReporter) CaptureBadRequest()

func (*FakeProxyReporter) CaptureBadRequestCallCount

func (fake *FakeProxyReporter) CaptureBadRequestCallCount() int

func (*FakeProxyReporter) CaptureBadRequestCalls

func (fake *FakeProxyReporter) CaptureBadRequestCalls(stub func())

func (*FakeProxyReporter) CaptureRouteServiceResponse

func (fake *FakeProxyReporter) CaptureRouteServiceResponse(arg1 *http.Response)

func (*FakeProxyReporter) CaptureRouteServiceResponseArgsForCall

func (fake *FakeProxyReporter) CaptureRouteServiceResponseArgsForCall(i int) *http.Response

func (*FakeProxyReporter) CaptureRouteServiceResponseCallCount

func (fake *FakeProxyReporter) CaptureRouteServiceResponseCallCount() int

func (*FakeProxyReporter) CaptureRouteServiceResponseCalls

func (fake *FakeProxyReporter) CaptureRouteServiceResponseCalls(stub func(*http.Response))

func (*FakeProxyReporter) CaptureRoutingRequest

func (fake *FakeProxyReporter) CaptureRoutingRequest(arg1 *route.Endpoint)

func (*FakeProxyReporter) CaptureRoutingRequestArgsForCall

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

func (*FakeProxyReporter) CaptureRoutingRequestCallCount

func (fake *FakeProxyReporter) CaptureRoutingRequestCallCount() int

func (*FakeProxyReporter) CaptureRoutingRequestCalls

func (fake *FakeProxyReporter) CaptureRoutingRequestCalls(stub func(*route.Endpoint))

func (*FakeProxyReporter) CaptureRoutingResponse

func (fake *FakeProxyReporter) CaptureRoutingResponse(arg1 int)

func (*FakeProxyReporter) CaptureRoutingResponseArgsForCall

func (fake *FakeProxyReporter) CaptureRoutingResponseArgsForCall(i int) int

func (*FakeProxyReporter) CaptureRoutingResponseCallCount

func (fake *FakeProxyReporter) CaptureRoutingResponseCallCount() int

func (*FakeProxyReporter) CaptureRoutingResponseCalls

func (fake *FakeProxyReporter) CaptureRoutingResponseCalls(stub func(int))

func (*FakeProxyReporter) CaptureRoutingResponseLatency

func (fake *FakeProxyReporter) CaptureRoutingResponseLatency(arg1 *route.Endpoint, arg2 int, arg3 time.Time, arg4 time.Duration)

func (*FakeProxyReporter) CaptureRoutingResponseLatencyArgsForCall

func (fake *FakeProxyReporter) CaptureRoutingResponseLatencyArgsForCall(i int) (*route.Endpoint, int, time.Time, time.Duration)

func (*FakeProxyReporter) CaptureRoutingResponseLatencyCallCount

func (fake *FakeProxyReporter) CaptureRoutingResponseLatencyCallCount() int

func (*FakeProxyReporter) CaptureRoutingResponseLatencyCalls

func (fake *FakeProxyReporter) CaptureRoutingResponseLatencyCalls(stub func(*route.Endpoint, int, time.Time, time.Duration))

func (*FakeProxyReporter) CaptureWebSocketFailure

func (fake *FakeProxyReporter) CaptureWebSocketFailure()

func (*FakeProxyReporter) CaptureWebSocketFailureCallCount

func (fake *FakeProxyReporter) CaptureWebSocketFailureCallCount() int

func (*FakeProxyReporter) CaptureWebSocketFailureCalls

func (fake *FakeProxyReporter) CaptureWebSocketFailureCalls(stub func())

func (*FakeProxyReporter) CaptureWebSocketUpdate

func (fake *FakeProxyReporter) CaptureWebSocketUpdate()

func (*FakeProxyReporter) CaptureWebSocketUpdateCallCount

func (fake *FakeProxyReporter) CaptureWebSocketUpdateCallCount() int

func (*FakeProxyReporter) CaptureWebSocketUpdateCalls

func (fake *FakeProxyReporter) CaptureWebSocketUpdateCalls(stub func())

func (*FakeProxyReporter) Invocations

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

type FakeRouteRegistryReporter

type FakeRouteRegistryReporter struct {
	CaptureLookupTimeStub func(time.Duration)

	CaptureRegistryMessageStub func(metrics.ComponentTagged)

	CaptureRouteRegistrationLatencyStub func(time.Duration)

	CaptureRouteStatsStub func(int, int64)

	CaptureRoutesPrunedStub func(uint64)

	CaptureUnregistryMessageStub func(metrics.ComponentTagged)

	UnmuzzleRouteRegistrationLatencyStub func()
	// contains filtered or unexported fields
}

func (*FakeRouteRegistryReporter) CaptureLookupTime

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

func (*FakeRouteRegistryReporter) CaptureLookupTimeArgsForCall

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

func (*FakeRouteRegistryReporter) CaptureLookupTimeCallCount

func (fake *FakeRouteRegistryReporter) CaptureLookupTimeCallCount() int

func (*FakeRouteRegistryReporter) CaptureLookupTimeCalls

func (fake *FakeRouteRegistryReporter) CaptureLookupTimeCalls(stub func(time.Duration))

func (*FakeRouteRegistryReporter) CaptureRegistryMessage

func (fake *FakeRouteRegistryReporter) CaptureRegistryMessage(arg1 metrics.ComponentTagged)

func (*FakeRouteRegistryReporter) CaptureRegistryMessageArgsForCall

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

func (*FakeRouteRegistryReporter) CaptureRegistryMessageCallCount

func (fake *FakeRouteRegistryReporter) CaptureRegistryMessageCallCount() int

func (*FakeRouteRegistryReporter) CaptureRegistryMessageCalls

func (fake *FakeRouteRegistryReporter) CaptureRegistryMessageCalls(stub func(metrics.ComponentTagged))

func (*FakeRouteRegistryReporter) CaptureRouteRegistrationLatency

func (fake *FakeRouteRegistryReporter) CaptureRouteRegistrationLatency(arg1 time.Duration)

func (*FakeRouteRegistryReporter) CaptureRouteRegistrationLatencyArgsForCall

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

func (*FakeRouteRegistryReporter) CaptureRouteRegistrationLatencyCallCount

func (fake *FakeRouteRegistryReporter) CaptureRouteRegistrationLatencyCallCount() int

func (*FakeRouteRegistryReporter) CaptureRouteRegistrationLatencyCalls

func (fake *FakeRouteRegistryReporter) CaptureRouteRegistrationLatencyCalls(stub func(time.Duration))

func (*FakeRouteRegistryReporter) CaptureRouteStats

func (fake *FakeRouteRegistryReporter) CaptureRouteStats(arg1 int, arg2 int64)

func (*FakeRouteRegistryReporter) CaptureRouteStatsArgsForCall

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

func (*FakeRouteRegistryReporter) CaptureRouteStatsCallCount

func (fake *FakeRouteRegistryReporter) CaptureRouteStatsCallCount() int

func (*FakeRouteRegistryReporter) CaptureRouteStatsCalls

func (fake *FakeRouteRegistryReporter) CaptureRouteStatsCalls(stub func(int, int64))

func (*FakeRouteRegistryReporter) CaptureRoutesPruned

func (fake *FakeRouteRegistryReporter) CaptureRoutesPruned(arg1 uint64)

func (*FakeRouteRegistryReporter) CaptureRoutesPrunedArgsForCall

func (fake *FakeRouteRegistryReporter) CaptureRoutesPrunedArgsForCall(i int) uint64

func (*FakeRouteRegistryReporter) CaptureRoutesPrunedCallCount

func (fake *FakeRouteRegistryReporter) CaptureRoutesPrunedCallCount() int

func (*FakeRouteRegistryReporter) CaptureRoutesPrunedCalls

func (fake *FakeRouteRegistryReporter) CaptureRoutesPrunedCalls(stub func(uint64))

func (*FakeRouteRegistryReporter) CaptureUnregistryMessage

func (fake *FakeRouteRegistryReporter) CaptureUnregistryMessage(arg1 metrics.ComponentTagged)

func (*FakeRouteRegistryReporter) CaptureUnregistryMessageArgsForCall

func (fake *FakeRouteRegistryReporter) CaptureUnregistryMessageArgsForCall(i int) metrics.ComponentTagged

func (*FakeRouteRegistryReporter) CaptureUnregistryMessageCallCount

func (fake *FakeRouteRegistryReporter) CaptureUnregistryMessageCallCount() int

func (*FakeRouteRegistryReporter) CaptureUnregistryMessageCalls

func (fake *FakeRouteRegistryReporter) CaptureUnregistryMessageCalls(stub func(metrics.ComponentTagged))

func (*FakeRouteRegistryReporter) Invocations

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

func (*FakeRouteRegistryReporter) UnmuzzleRouteRegistrationLatency

func (fake *FakeRouteRegistryReporter) UnmuzzleRouteRegistrationLatency()

func (*FakeRouteRegistryReporter) UnmuzzleRouteRegistrationLatencyCallCount

func (fake *FakeRouteRegistryReporter) UnmuzzleRouteRegistrationLatencyCallCount() int

func (*FakeRouteRegistryReporter) UnmuzzleRouteRegistrationLatencyCalls

func (fake *FakeRouteRegistryReporter) UnmuzzleRouteRegistrationLatencyCalls(stub func())

type FakeSubscriber

type FakeSubscriber struct {
	DroppedStub func() (int, error)

	PendingStub func() (int, error)
	// contains filtered or unexported fields
}

func (*FakeSubscriber) Dropped

func (fake *FakeSubscriber) Dropped() (int, error)

func (*FakeSubscriber) DroppedCallCount

func (fake *FakeSubscriber) DroppedCallCount() int

func (*FakeSubscriber) DroppedCalls

func (fake *FakeSubscriber) DroppedCalls(stub func() (int, error))

func (*FakeSubscriber) DroppedReturns

func (fake *FakeSubscriber) DroppedReturns(result1 int, result2 error)

func (*FakeSubscriber) DroppedReturnsOnCall

func (fake *FakeSubscriber) DroppedReturnsOnCall(i int, result1 int, result2 error)

func (*FakeSubscriber) Invocations

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

func (*FakeSubscriber) Pending

func (fake *FakeSubscriber) Pending() (int, error)

func (*FakeSubscriber) PendingCallCount

func (fake *FakeSubscriber) PendingCallCount() int

func (*FakeSubscriber) PendingCalls

func (fake *FakeSubscriber) PendingCalls(stub func() (int, error))

func (*FakeSubscriber) PendingReturns

func (fake *FakeSubscriber) PendingReturns(result1 int, result2 error)

func (*FakeSubscriber) PendingReturnsOnCall

func (fake *FakeSubscriber) PendingReturnsOnCall(i int, result1 int, result2 error)

type FakeValueChainer

type FakeValueChainer struct {
	SetTagStub func(key, value string) metric_sender.ValueChainer

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

func (*FakeValueChainer) Invocations

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

func (*FakeValueChainer) Send

func (fake *FakeValueChainer) Send() error

func (*FakeValueChainer) SendCallCount

func (fake *FakeValueChainer) SendCallCount() int

func (*FakeValueChainer) SendReturns

func (fake *FakeValueChainer) SendReturns(result1 error)

func (*FakeValueChainer) SetTag

func (fake *FakeValueChainer) SetTag(key string, value string) metric_sender.ValueChainer

func (*FakeValueChainer) SetTagArgsForCall

func (fake *FakeValueChainer) SetTagArgsForCall(i int) (string, string)

func (*FakeValueChainer) SetTagCallCount

func (fake *FakeValueChainer) SetTagCallCount() int

func (*FakeValueChainer) SetTagReturns

func (fake *FakeValueChainer) SetTagReturns(result1 metric_sender.ValueChainer)

type FakeVarzReporter

type FakeVarzReporter struct {
	CaptureBadGatewayStub func()

	CaptureBadRequestStub func()

	CaptureRoutingRequestStub func(*route.Endpoint)

	CaptureRoutingResponseLatencyStub func(*route.Endpoint, int, time.Time, time.Duration)
	// contains filtered or unexported fields
}

func (*FakeVarzReporter) CaptureBadGateway

func (fake *FakeVarzReporter) CaptureBadGateway()

func (*FakeVarzReporter) CaptureBadGatewayCallCount

func (fake *FakeVarzReporter) CaptureBadGatewayCallCount() int

func (*FakeVarzReporter) CaptureBadGatewayCalls

func (fake *FakeVarzReporter) CaptureBadGatewayCalls(stub func())

func (*FakeVarzReporter) CaptureBadRequest

func (fake *FakeVarzReporter) CaptureBadRequest()

func (*FakeVarzReporter) CaptureBadRequestCallCount

func (fake *FakeVarzReporter) CaptureBadRequestCallCount() int

func (*FakeVarzReporter) CaptureBadRequestCalls

func (fake *FakeVarzReporter) CaptureBadRequestCalls(stub func())

func (*FakeVarzReporter) CaptureRoutingRequest

func (fake *FakeVarzReporter) CaptureRoutingRequest(arg1 *route.Endpoint)

func (*FakeVarzReporter) CaptureRoutingRequestArgsForCall

func (fake *FakeVarzReporter) CaptureRoutingRequestArgsForCall(i int) *route.Endpoint

func (*FakeVarzReporter) CaptureRoutingRequestCallCount

func (fake *FakeVarzReporter) CaptureRoutingRequestCallCount() int

func (*FakeVarzReporter) CaptureRoutingRequestCalls

func (fake *FakeVarzReporter) CaptureRoutingRequestCalls(stub func(*route.Endpoint))

func (*FakeVarzReporter) CaptureRoutingResponseLatency

func (fake *FakeVarzReporter) CaptureRoutingResponseLatency(arg1 *route.Endpoint, arg2 int, arg3 time.Time, arg4 time.Duration)

func (*FakeVarzReporter) CaptureRoutingResponseLatencyArgsForCall

func (fake *FakeVarzReporter) CaptureRoutingResponseLatencyArgsForCall(i int) (*route.Endpoint, int, time.Time, time.Duration)

func (*FakeVarzReporter) CaptureRoutingResponseLatencyCallCount

func (fake *FakeVarzReporter) CaptureRoutingResponseLatencyCallCount() int

func (*FakeVarzReporter) CaptureRoutingResponseLatencyCalls

func (fake *FakeVarzReporter) CaptureRoutingResponseLatencyCalls(stub func(*route.Endpoint, int, time.Time, time.Duration))

func (*FakeVarzReporter) Invocations

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

type MetricBatcher

type MetricBatcher struct {
	BatchIncrementCounterStub func(name string)

	BatchAddCounterStub func(name string, delta uint64)

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

func (*MetricBatcher) BatchAddCounter

func (fake *MetricBatcher) BatchAddCounter(name string, delta uint64)

func (*MetricBatcher) BatchAddCounterArgsForCall

func (fake *MetricBatcher) BatchAddCounterArgsForCall(i int) (string, uint64)

func (*MetricBatcher) BatchAddCounterCallCount

func (fake *MetricBatcher) BatchAddCounterCallCount() int

func (*MetricBatcher) BatchIncrementCounter

func (fake *MetricBatcher) BatchIncrementCounter(name string)

func (*MetricBatcher) BatchIncrementCounterArgsForCall

func (fake *MetricBatcher) BatchIncrementCounterArgsForCall(i int) string

func (*MetricBatcher) BatchIncrementCounterCallCount

func (fake *MetricBatcher) BatchIncrementCounterCallCount() int

func (*MetricBatcher) Close

func (fake *MetricBatcher) Close()

func (*MetricBatcher) CloseCallCount

func (fake *MetricBatcher) CloseCallCount() int

func (*MetricBatcher) Invocations

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

type MetricSender

type MetricSender struct {
	SendStub func(event events.Event) error

	ValueStub func(name string, value float64, unit string) metric_sender.ValueChainer

	ContainerMetricStub func(appID string, instance int32, cpu float64, mem, disk uint64) metric_sender.ContainerMetricChainer

	CounterStub func(name string) metric_sender.CounterChainer

	SendValueStub func(name string, value float64, unit string) error

	IncrementCounterStub func(name string) error

	AddToCounterStub func(name string, delta uint64) error

	SendContainerMetricStub func(applicationId string, instanceIndex int32, cpuPercentage float64, memoryBytes uint64, diskBytes uint64) error
	// contains filtered or unexported fields
}

func (*MetricSender) AddToCounter

func (fake *MetricSender) AddToCounter(name string, delta uint64) error

func (*MetricSender) AddToCounterArgsForCall

func (fake *MetricSender) AddToCounterArgsForCall(i int) (string, uint64)

func (*MetricSender) AddToCounterCallCount

func (fake *MetricSender) AddToCounterCallCount() int

func (*MetricSender) AddToCounterReturns

func (fake *MetricSender) AddToCounterReturns(result1 error)

func (*MetricSender) ContainerMetric

func (fake *MetricSender) ContainerMetric(appID string, instance int32, cpu float64, mem uint64, disk uint64) metric_sender.ContainerMetricChainer

func (*MetricSender) ContainerMetricArgsForCall

func (fake *MetricSender) ContainerMetricArgsForCall(i int) (string, int32, float64, uint64, uint64)

func (*MetricSender) ContainerMetricCallCount

func (fake *MetricSender) ContainerMetricCallCount() int

func (*MetricSender) ContainerMetricReturns

func (fake *MetricSender) ContainerMetricReturns(result1 metric_sender.ContainerMetricChainer)

func (*MetricSender) Counter

func (fake *MetricSender) Counter(name string) metric_sender.CounterChainer

func (*MetricSender) CounterArgsForCall

func (fake *MetricSender) CounterArgsForCall(i int) string

func (*MetricSender) CounterCallCount

func (fake *MetricSender) CounterCallCount() int

func (*MetricSender) CounterReturns

func (fake *MetricSender) CounterReturns(result1 metric_sender.CounterChainer)

func (*MetricSender) IncrementCounter

func (fake *MetricSender) IncrementCounter(name string) error

func (*MetricSender) IncrementCounterArgsForCall

func (fake *MetricSender) IncrementCounterArgsForCall(i int) string

func (*MetricSender) IncrementCounterCallCount

func (fake *MetricSender) IncrementCounterCallCount() int

func (*MetricSender) IncrementCounterReturns

func (fake *MetricSender) IncrementCounterReturns(result1 error)

func (*MetricSender) Invocations

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

func (*MetricSender) Send

func (fake *MetricSender) Send(event events.Event) error

func (*MetricSender) SendArgsForCall

func (fake *MetricSender) SendArgsForCall(i int) events.Event

func (*MetricSender) SendCallCount

func (fake *MetricSender) SendCallCount() int

func (*MetricSender) SendContainerMetric

func (fake *MetricSender) SendContainerMetric(applicationId string, instanceIndex int32, cpuPercentage float64, memoryBytes uint64, diskBytes uint64) error

func (*MetricSender) SendContainerMetricArgsForCall

func (fake *MetricSender) SendContainerMetricArgsForCall(i int) (string, int32, float64, uint64, uint64)

func (*MetricSender) SendContainerMetricCallCount

func (fake *MetricSender) SendContainerMetricCallCount() int

func (*MetricSender) SendContainerMetricReturns

func (fake *MetricSender) SendContainerMetricReturns(result1 error)

func (*MetricSender) SendReturns

func (fake *MetricSender) SendReturns(result1 error)

func (*MetricSender) SendValue

func (fake *MetricSender) SendValue(name string, value float64, unit string) error

func (*MetricSender) SendValueArgsForCall

func (fake *MetricSender) SendValueArgsForCall(i int) (string, float64, string)

func (*MetricSender) SendValueCallCount

func (fake *MetricSender) SendValueCallCount() int

func (*MetricSender) SendValueReturns

func (fake *MetricSender) SendValueReturns(result1 error)

func (*MetricSender) Value

func (fake *MetricSender) Value(name string, value float64, unit string) metric_sender.ValueChainer

func (*MetricSender) ValueArgsForCall

func (fake *MetricSender) ValueArgsForCall(i int) (string, float64, string)

func (*MetricSender) ValueCallCount

func (fake *MetricSender) ValueCallCount() int

func (*MetricSender) ValueReturns

func (fake *MetricSender) ValueReturns(result1 metric_sender.ValueChainer)

type ValueChainer

type ValueChainer interface {
	SetTag(key, value string) metric_sender.ValueChainer
	Send() error
}

Jump to

Keyboard shortcuts

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