fakes

package
v0.0.0-...-e20ad14 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 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

type MetricsSender

type MetricsSender struct {
	SendDurationStub func(string, time.Duration)

	IncrementCounterStub func(string)
	// 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) 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

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) 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