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 ¶
- type FakeDNSClient
- func (fake *FakeDNSClient) Exchange(m *dns.Msg, address string) (r *dns.Msg, rtt time.Duration, err error)
- func (fake *FakeDNSClient) ExchangeArgsForCall(i int) (*dns.Msg, string)
- func (fake *FakeDNSClient) ExchangeCallCount() int
- func (fake *FakeDNSClient) ExchangeReturns(result1 *dns.Msg, result2 time.Duration, result3 error)
- func (fake *FakeDNSClient) ExchangeReturnsOnCall(i int, result1 *dns.Msg, result2 time.Duration, result3 error)
- func (fake *FakeDNSClient) Invocations() map[string][][]interface{}
- type FakeHealthCheck
- func (fake *FakeHealthCheck) Invocations() map[string][][]interface{}
- func (fake *FakeHealthCheck) Receive() []gtm.IP
- func (fake *FakeHealthCheck) ReceiveCallCount() int
- func (fake *FakeHealthCheck) ReceiveReturns(result1 []gtm.IP)
- func (fake *FakeHealthCheck) ReceiveReturnsOnCall(i int, result1 []gtm.IP)
- func (fake *FakeHealthCheck) Start()
- func (fake *FakeHealthCheck) StartCallCount() int
- type FakeHttpCheckClient
- func (fake *FakeHttpCheckClient) Get(arg1 string) (*http.Response, error)
- func (fake *FakeHttpCheckClient) GetArgsForCall(i int) string
- func (fake *FakeHttpCheckClient) GetCallCount() int
- func (fake *FakeHttpCheckClient) GetReturns(result1 *http.Response, result2 error)
- func (fake *FakeHttpCheckClient) GetReturnsOnCall(i int, result1 *http.Response, result2 error)
- func (fake *FakeHttpCheckClient) Invocations() map[string][][]interface{}
- type FakeResponseWriter
- func (fake *FakeResponseWriter) Close() error
- func (fake *FakeResponseWriter) CloseCallCount() int
- func (fake *FakeResponseWriter) CloseReturns(result1 error)
- func (fake *FakeResponseWriter) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeResponseWriter) Hijack()
- func (fake *FakeResponseWriter) HijackCallCount() int
- func (fake *FakeResponseWriter) Invocations() map[string][][]interface{}
- func (fake *FakeResponseWriter) LocalAddr() net.Addr
- func (fake *FakeResponseWriter) LocalAddrCallCount() int
- func (fake *FakeResponseWriter) LocalAddrReturns(result1 net.Addr)
- func (fake *FakeResponseWriter) LocalAddrReturnsOnCall(i int, result1 net.Addr)
- func (fake *FakeResponseWriter) RemoteAddr() net.Addr
- func (fake *FakeResponseWriter) RemoteAddrCallCount() int
- func (fake *FakeResponseWriter) RemoteAddrReturns(result1 net.Addr)
- func (fake *FakeResponseWriter) RemoteAddrReturnsOnCall(i int, result1 net.Addr)
- func (fake *FakeResponseWriter) TsigStatus() error
- func (fake *FakeResponseWriter) TsigStatusCallCount() int
- func (fake *FakeResponseWriter) TsigStatusReturns(result1 error)
- func (fake *FakeResponseWriter) TsigStatusReturnsOnCall(i int, result1 error)
- func (fake *FakeResponseWriter) TsigTimersOnly(arg1 bool)
- func (fake *FakeResponseWriter) TsigTimersOnlyArgsForCall(i int) bool
- func (fake *FakeResponseWriter) TsigTimersOnlyCallCount() int
- func (fake *FakeResponseWriter) Write(arg1 []byte) (int, error)
- func (fake *FakeResponseWriter) WriteArgsForCall(i int) []byte
- func (fake *FakeResponseWriter) WriteCallCount() int
- func (fake *FakeResponseWriter) WriteMsg(arg1 *dns.Msg) error
- func (fake *FakeResponseWriter) WriteMsgArgsForCall(i int) *dns.Msg
- func (fake *FakeResponseWriter) WriteMsgCallCount() int
- func (fake *FakeResponseWriter) WriteMsgReturns(result1 error)
- func (fake *FakeResponseWriter) WriteMsgReturnsOnCall(i int, result1 error)
- func (fake *FakeResponseWriter) WriteReturns(result1 int, result2 error)
- func (fake *FakeResponseWriter) WriteReturnsOnCall(i int, result1 int, result2 error)
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) ExchangeArgsForCall ¶
func (fake *FakeDNSClient) ExchangeArgsForCall(i int) (*dns.Msg, string)
func (*FakeDNSClient) ExchangeCallCount ¶
func (fake *FakeDNSClient) ExchangeCallCount() int
func (*FakeDNSClient) ExchangeReturns ¶
func (*FakeDNSClient) ExchangeReturnsOnCall ¶
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) WriteArgsForCall ¶
func (fake *FakeResponseWriter) WriteArgsForCall(i int) []byte
func (*FakeResponseWriter) WriteCallCount ¶
func (fake *FakeResponseWriter) WriteCallCount() int
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)
Click to show internal directories.
Click to hide internal directories.