fakes

package
v0.0.0-...-edeeda6 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2018 License: Apache-2.0 Imports: 6 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeDNSClient

type FakeDNSClient struct {
	ExchangeStub func(m *dns.Msg, address string) (r *dns.Msg, rtt time.Duration, err error)
	// contains filtered or unexported fields
}

func (*FakeDNSClient) Exchange

func (fake *FakeDNSClient) Exchange(m *dns.Msg, address string) (r *dns.Msg, rtt time.Duration, err error)

func (*FakeDNSClient) ExchangeArgsForCall

func (fake *FakeDNSClient) ExchangeArgsForCall(i int) (*dns.Msg, string)

func (*FakeDNSClient) ExchangeCallCount

func (fake *FakeDNSClient) ExchangeCallCount() int

func (*FakeDNSClient) ExchangeReturns

func (fake *FakeDNSClient) ExchangeReturns(result1 *dns.Msg, result2 time.Duration, result3 error)

func (*FakeDNSClient) ExchangeReturnsOnCall

func (fake *FakeDNSClient) ExchangeReturnsOnCall(i int, result1 *dns.Msg, result2 time.Duration, result3 error)

func (*FakeDNSClient) Invocations

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

type FakeHealthCheck

type FakeHealthCheck struct {
	StartStub func()

	ReceiveStub func() []gtm.IP
	// contains filtered or unexported fields
}

func (*FakeHealthCheck) Invocations

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

func (*FakeHealthCheck) Receive

func (fake *FakeHealthCheck) Receive() []gtm.IP

func (*FakeHealthCheck) ReceiveCallCount

func (fake *FakeHealthCheck) ReceiveCallCount() int

func (*FakeHealthCheck) ReceiveReturns

func (fake *FakeHealthCheck) ReceiveReturns(result1 []gtm.IP)

func (*FakeHealthCheck) ReceiveReturnsOnCall

func (fake *FakeHealthCheck) ReceiveReturnsOnCall(i int, result1 []gtm.IP)

func (*FakeHealthCheck) Start

func (fake *FakeHealthCheck) Start()

func (*FakeHealthCheck) StartCallCount

func (fake *FakeHealthCheck) StartCallCount() int

type FakeHttpCheckClient

type FakeHttpCheckClient struct {
	GetStub func(string) (*http.Response, error)
	// contains filtered or unexported fields
}

func (*FakeHttpCheckClient) Get

func (fake *FakeHttpCheckClient) Get(arg1 string) (*http.Response, error)

func (*FakeHttpCheckClient) GetArgsForCall

func (fake *FakeHttpCheckClient) GetArgsForCall(i int) string

func (*FakeHttpCheckClient) GetCallCount

func (fake *FakeHttpCheckClient) GetCallCount() int

func (*FakeHttpCheckClient) GetReturns

func (fake *FakeHttpCheckClient) GetReturns(result1 *http.Response, result2 error)

func (*FakeHttpCheckClient) GetReturnsOnCall

func (fake *FakeHttpCheckClient) GetReturnsOnCall(i int, result1 *http.Response, result2 error)

func (*FakeHttpCheckClient) Invocations

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

type FakeResponseWriter

type FakeResponseWriter struct {
	LocalAddrStub func() net.Addr

	RemoteAddrStub func() net.Addr

	WriteMsgStub func(*dns.Msg) error

	WriteStub func([]byte) (int, error)

	CloseStub func() error

	TsigStatusStub func() error

	TsigTimersOnlyStub func(bool)

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

func (*FakeResponseWriter) Close

func (fake *FakeResponseWriter) Close() error

func (*FakeResponseWriter) CloseCallCount

func (fake *FakeResponseWriter) CloseCallCount() int

func (*FakeResponseWriter) CloseReturns

func (fake *FakeResponseWriter) CloseReturns(result1 error)

func (*FakeResponseWriter) CloseReturnsOnCall

func (fake *FakeResponseWriter) CloseReturnsOnCall(i int, result1 error)

func (*FakeResponseWriter) Hijack

func (fake *FakeResponseWriter) Hijack()

func (*FakeResponseWriter) HijackCallCount

func (fake *FakeResponseWriter) HijackCallCount() int

func (*FakeResponseWriter) Invocations

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

func (*FakeResponseWriter) LocalAddr

func (fake *FakeResponseWriter) LocalAddr() net.Addr

func (*FakeResponseWriter) LocalAddrCallCount

func (fake *FakeResponseWriter) LocalAddrCallCount() int

func (*FakeResponseWriter) LocalAddrReturns

func (fake *FakeResponseWriter) LocalAddrReturns(result1 net.Addr)

func (*FakeResponseWriter) LocalAddrReturnsOnCall

func (fake *FakeResponseWriter) LocalAddrReturnsOnCall(i int, result1 net.Addr)

func (*FakeResponseWriter) RemoteAddr

func (fake *FakeResponseWriter) RemoteAddr() net.Addr

func (*FakeResponseWriter) RemoteAddrCallCount

func (fake *FakeResponseWriter) RemoteAddrCallCount() int

func (*FakeResponseWriter) RemoteAddrReturns

func (fake *FakeResponseWriter) RemoteAddrReturns(result1 net.Addr)

func (*FakeResponseWriter) RemoteAddrReturnsOnCall

func (fake *FakeResponseWriter) RemoteAddrReturnsOnCall(i int, result1 net.Addr)

func (*FakeResponseWriter) TsigStatus

func (fake *FakeResponseWriter) TsigStatus() error

func (*FakeResponseWriter) TsigStatusCallCount

func (fake *FakeResponseWriter) TsigStatusCallCount() int

func (*FakeResponseWriter) TsigStatusReturns

func (fake *FakeResponseWriter) TsigStatusReturns(result1 error)

func (*FakeResponseWriter) TsigStatusReturnsOnCall

func (fake *FakeResponseWriter) TsigStatusReturnsOnCall(i int, result1 error)

func (*FakeResponseWriter) TsigTimersOnly

func (fake *FakeResponseWriter) TsigTimersOnly(arg1 bool)

func (*FakeResponseWriter) TsigTimersOnlyArgsForCall

func (fake *FakeResponseWriter) TsigTimersOnlyArgsForCall(i int) bool

func (*FakeResponseWriter) TsigTimersOnlyCallCount

func (fake *FakeResponseWriter) TsigTimersOnlyCallCount() int

func (*FakeResponseWriter) Write

func (fake *FakeResponseWriter) Write(arg1 []byte) (int, error)

func (*FakeResponseWriter) WriteArgsForCall

func (fake *FakeResponseWriter) WriteArgsForCall(i int) []byte

func (*FakeResponseWriter) WriteCallCount

func (fake *FakeResponseWriter) WriteCallCount() int

func (*FakeResponseWriter) WriteMsg

func (fake *FakeResponseWriter) WriteMsg(arg1 *dns.Msg) error

func (*FakeResponseWriter) WriteMsgArgsForCall

func (fake *FakeResponseWriter) WriteMsgArgsForCall(i int) *dns.Msg

func (*FakeResponseWriter) WriteMsgCallCount

func (fake *FakeResponseWriter) WriteMsgCallCount() int

func (*FakeResponseWriter) WriteMsgReturns

func (fake *FakeResponseWriter) WriteMsgReturns(result1 error)

func (*FakeResponseWriter) WriteMsgReturnsOnCall

func (fake *FakeResponseWriter) WriteMsgReturnsOnCall(i int, result1 error)

func (*FakeResponseWriter) WriteReturns

func (fake *FakeResponseWriter) WriteReturns(result1 int, result2 error)

func (*FakeResponseWriter) WriteReturnsOnCall

func (fake *FakeResponseWriter) WriteReturnsOnCall(i int, result1 int, result2 error)

Jump to

Keyboard shortcuts

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