fakes

package
v2.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 30, 2018 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 AddressTable

type AddressTable struct {
	LookupStub func(hostname string) []string

	GetAllAddressesStub func() map[string][]string

	IsWarmStub func() bool
	// contains filtered or unexported fields
}

func (*AddressTable) GetAllAddresses

func (fake *AddressTable) GetAllAddresses() map[string][]string

func (*AddressTable) GetAllAddressesCallCount

func (fake *AddressTable) GetAllAddressesCallCount() int

func (*AddressTable) GetAllAddressesReturns

func (fake *AddressTable) GetAllAddressesReturns(result1 map[string][]string)

func (*AddressTable) GetAllAddressesReturnsOnCall

func (fake *AddressTable) GetAllAddressesReturnsOnCall(i int, result1 map[string][]string)

func (*AddressTable) Invocations

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

func (*AddressTable) IsWarm

func (fake *AddressTable) IsWarm() bool

func (*AddressTable) IsWarmCallCount

func (fake *AddressTable) IsWarmCallCount() int

func (*AddressTable) IsWarmReturns

func (fake *AddressTable) IsWarmReturns(result1 bool)

func (*AddressTable) IsWarmReturnsOnCall

func (fake *AddressTable) IsWarmReturnsOnCall(i int, result1 bool)

func (*AddressTable) Lookup

func (fake *AddressTable) Lookup(hostname string) []string

func (*AddressTable) LookupArgsForCall

func (fake *AddressTable) LookupArgsForCall(i int) string

func (*AddressTable) LookupCallCount

func (fake *AddressTable) LookupCallCount() int

func (*AddressTable) LookupReturns

func (fake *AddressTable) LookupReturns(result1 []string)

func (*AddressTable) LookupReturnsOnCall

func (fake *AddressTable) LookupReturnsOnCall(i int, result1 []string)

type DNSRequestRecorder

type DNSRequestRecorder struct {
	RecordRequestStub func()
	// contains filtered or unexported fields
}

func (*DNSRequestRecorder) Invocations

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

func (*DNSRequestRecorder) RecordRequest

func (fake *DNSRequestRecorder) RecordRequest()

func (*DNSRequestRecorder) RecordRequestCallCount

func (fake *DNSRequestRecorder) RecordRequestCallCount() int

type MetricsSender

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

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

Jump to

Keyboard shortcuts

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