fakes

package
v0.0.0-...-51cf3e2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 3 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPHandler

type HTTPHandler struct {
	ServeHTTPStub func(http.ResponseWriter, *http.Request)
	// contains filtered or unexported fields
}

func (*HTTPHandler) Invocations

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

func (*HTTPHandler) ServeHTTP

func (fake *HTTPHandler) ServeHTTP(arg1 http.ResponseWriter, arg2 *http.Request)

func (*HTTPHandler) ServeHTTPArgsForCall

func (fake *HTTPHandler) ServeHTTPArgsForCall(i int) (http.ResponseWriter, *http.Request)

func (*HTTPHandler) ServeHTTPCallCount

func (fake *HTTPHandler) ServeHTTPCallCount() int

func (*HTTPHandler) ServeHTTPCalls

func (fake *HTTPHandler) ServeHTTPCalls(stub func(http.ResponseWriter, *http.Request))

type MetricsSender

type MetricsSender struct {
	IncrementCounterStub func(string)

	SendDurationStub func(string, time.Duration)
	// contains filtered or unexported fields
}

func (*MetricsSender) IncrementCounter

func (fake *MetricsSender) IncrementCounter(arg1 string)

func (*MetricsSender) IncrementCounterArgsForCall

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

func (*MetricsSender) IncrementCounterCallCount

func (fake *MetricsSender) IncrementCounterCallCount() int

func (*MetricsSender) IncrementCounterCalls

func (fake *MetricsSender) IncrementCounterCalls(stub func(string))

func (*MetricsSender) Invocations

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

func (*MetricsSender) SendDuration

func (fake *MetricsSender) SendDuration(arg1 string, arg2 time.Duration)

func (*MetricsSender) SendDurationArgsForCall

func (fake *MetricsSender) SendDurationArgsForCall(i int) (string, time.Duration)

func (*MetricsSender) SendDurationCallCount

func (fake *MetricsSender) SendDurationCallCount() int

func (*MetricsSender) SendDurationCalls

func (fake *MetricsSender) SendDurationCalls(stub func(string, time.Duration))

type UUIDGenerator

type UUIDGenerator struct {
	GenerateUUIDStub func() (string, error)
	// contains filtered or unexported fields
}

func (*UUIDGenerator) GenerateUUID

func (fake *UUIDGenerator) GenerateUUID() (string, error)

func (*UUIDGenerator) GenerateUUIDCallCount

func (fake *UUIDGenerator) GenerateUUIDCallCount() int

func (*UUIDGenerator) GenerateUUIDCalls

func (fake *UUIDGenerator) GenerateUUIDCalls(stub func() (string, error))

func (*UUIDGenerator) GenerateUUIDReturns

func (fake *UUIDGenerator) GenerateUUIDReturns(result1 string, result2 error)

func (*UUIDGenerator) GenerateUUIDReturnsOnCall

func (fake *UUIDGenerator) GenerateUUIDReturnsOnCall(i int, result1 string, result2 error)

func (*UUIDGenerator) Invocations

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

Jump to

Keyboard shortcuts

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