helpersfakes

package
v0.0.0-...-63e03b2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeRequestMetrics

type FakeRequestMetrics struct {
	IncrementRequestsStartedCounterStub func(requestType string, delta int)

	IncrementRequestsSucceededCounterStub func(requestType string, delta int)

	IncrementRequestsFailedCounterStub func(requestType string, delta int)

	IncrementRequestsInFlightCounterStub func(requestType string, delta int)

	DecrementRequestsInFlightCounterStub func(requestType string, delta int)

	IncrementRequestsCancelledCounterStub func(requestType string, delta int)

	UpdateLatencyStub func(requestType string, dur time.Duration)
	// contains filtered or unexported fields
}

func (*FakeRequestMetrics) DecrementRequestsInFlightCounter

func (fake *FakeRequestMetrics) DecrementRequestsInFlightCounter(requestType string, delta int)

func (*FakeRequestMetrics) DecrementRequestsInFlightCounterArgsForCall

func (fake *FakeRequestMetrics) DecrementRequestsInFlightCounterArgsForCall(i int) (string, int)

func (*FakeRequestMetrics) DecrementRequestsInFlightCounterCallCount

func (fake *FakeRequestMetrics) DecrementRequestsInFlightCounterCallCount() int

func (*FakeRequestMetrics) IncrementRequestsCancelledCounter

func (fake *FakeRequestMetrics) IncrementRequestsCancelledCounter(requestType string, delta int)

func (*FakeRequestMetrics) IncrementRequestsCancelledCounterArgsForCall

func (fake *FakeRequestMetrics) IncrementRequestsCancelledCounterArgsForCall(i int) (string, int)

func (*FakeRequestMetrics) IncrementRequestsCancelledCounterCallCount

func (fake *FakeRequestMetrics) IncrementRequestsCancelledCounterCallCount() int

func (*FakeRequestMetrics) IncrementRequestsFailedCounter

func (fake *FakeRequestMetrics) IncrementRequestsFailedCounter(requestType string, delta int)

func (*FakeRequestMetrics) IncrementRequestsFailedCounterArgsForCall

func (fake *FakeRequestMetrics) IncrementRequestsFailedCounterArgsForCall(i int) (string, int)

func (*FakeRequestMetrics) IncrementRequestsFailedCounterCallCount

func (fake *FakeRequestMetrics) IncrementRequestsFailedCounterCallCount() int

func (*FakeRequestMetrics) IncrementRequestsInFlightCounter

func (fake *FakeRequestMetrics) IncrementRequestsInFlightCounter(requestType string, delta int)

func (*FakeRequestMetrics) IncrementRequestsInFlightCounterArgsForCall

func (fake *FakeRequestMetrics) IncrementRequestsInFlightCounterArgsForCall(i int) (string, int)

func (*FakeRequestMetrics) IncrementRequestsInFlightCounterCallCount

func (fake *FakeRequestMetrics) IncrementRequestsInFlightCounterCallCount() int

func (*FakeRequestMetrics) IncrementRequestsStartedCounter

func (fake *FakeRequestMetrics) IncrementRequestsStartedCounter(requestType string, delta int)

func (*FakeRequestMetrics) IncrementRequestsStartedCounterArgsForCall

func (fake *FakeRequestMetrics) IncrementRequestsStartedCounterArgsForCall(i int) (string, int)

func (*FakeRequestMetrics) IncrementRequestsStartedCounterCallCount

func (fake *FakeRequestMetrics) IncrementRequestsStartedCounterCallCount() int

func (*FakeRequestMetrics) IncrementRequestsSucceededCounter

func (fake *FakeRequestMetrics) IncrementRequestsSucceededCounter(requestType string, delta int)

func (*FakeRequestMetrics) IncrementRequestsSucceededCounterArgsForCall

func (fake *FakeRequestMetrics) IncrementRequestsSucceededCounterArgsForCall(i int) (string, int)

func (*FakeRequestMetrics) IncrementRequestsSucceededCounterCallCount

func (fake *FakeRequestMetrics) IncrementRequestsSucceededCounterCallCount() int

func (*FakeRequestMetrics) Invocations

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

func (*FakeRequestMetrics) UpdateLatency

func (fake *FakeRequestMetrics) UpdateLatency(requestType string, dur time.Duration)

func (*FakeRequestMetrics) UpdateLatencyArgsForCall

func (fake *FakeRequestMetrics) UpdateLatencyArgsForCall(i int) (string, time.Duration)

func (*FakeRequestMetrics) UpdateLatencyCallCount

func (fake *FakeRequestMetrics) UpdateLatencyCallCount() int

Jump to

Keyboard shortcuts

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