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.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type HTTPClient
- func (fake *HTTPClient) CloseIdleConnections()
- func (fake *HTTPClient) CloseIdleConnectionsCallCount() int
- func (fake *HTTPClient) CloseIdleConnectionsCalls(stub func())
- func (fake *HTTPClient) Do(arg1 *http.Request) (*http.Response, error)
- func (fake *HTTPClient) DoArgsForCall(i int) *http.Request
- func (fake *HTTPClient) DoCallCount() int
- func (fake *HTTPClient) DoCalls(stub func(*http.Request) (*http.Response, error))
- func (fake *HTTPClient) DoReturns(result1 *http.Response, result2 error)
- func (fake *HTTPClient) DoReturnsOnCall(i int, result1 *http.Response, result2 error)
- func (fake *HTTPClient) Invocations() map[string][][]interface{}
- type JSONClient
- func (fake *JSONClient) CloseIdleConnections()
- func (fake *JSONClient) CloseIdleConnectionsCallCount() int
- func (fake *JSONClient) CloseIdleConnectionsCalls(stub func())
- func (fake *JSONClient) Do(arg1 string, arg2 string, arg3 interface{}, arg4 interface{}, arg5 string) error
- func (fake *JSONClient) DoArgsForCall(i int) (string, string, interface{}, interface{}, string)
- func (fake *JSONClient) DoCallCount() int
- func (fake *JSONClient) DoCalls(stub func(string, string, interface{}, interface{}, string) error)
- func (fake *JSONClient) DoReturns(result1 error)
- func (fake *JSONClient) DoReturnsOnCall(i int, result1 error)
- func (fake *JSONClient) Invocations() map[string][][]interface{}
- type Marshaler
- func (fake *Marshaler) Invocations() map[string][][]interface{}
- func (fake *Marshaler) Marshal(arg1 interface{}) ([]byte, error)
- func (fake *Marshaler) MarshalArgsForCall(i int) interface{}
- func (fake *Marshaler) MarshalCallCount() int
- func (fake *Marshaler) MarshalCalls(stub func(interface{}) ([]byte, error))
- func (fake *Marshaler) MarshalReturns(result1 []byte, result2 error)
- func (fake *Marshaler) MarshalReturnsOnCall(i int, result1 []byte, result2 error)
- type MetricsSender
- func (fake *MetricsSender) IncrementCounter(arg1 string)
- func (fake *MetricsSender) IncrementCounterArgsForCall(i int) string
- func (fake *MetricsSender) IncrementCounterCallCount() int
- func (fake *MetricsSender) IncrementCounterCalls(stub func(string))
- func (fake *MetricsSender) Invocations() map[string][][]interface{}
- func (fake *MetricsSender) SendDuration(arg1 string, arg2 time.Duration)
- func (fake *MetricsSender) SendDurationArgsForCall(i int) (string, time.Duration)
- func (fake *MetricsSender) SendDurationCallCount() int
- func (fake *MetricsSender) SendDurationCalls(stub func(string, time.Duration))
- type MySQLAdapter
- func (fake *MySQLAdapter) Invocations() map[string][][]interface{}
- func (fake *MySQLAdapter) ParseDSN(arg1 string) (*mysql.Config, error)
- func (fake *MySQLAdapter) ParseDSNArgsForCall(i int) string
- func (fake *MySQLAdapter) ParseDSNCallCount() int
- func (fake *MySQLAdapter) ParseDSNCalls(stub func(string) (*mysql.Config, error))
- func (fake *MySQLAdapter) ParseDSNReturns(result1 *mysql.Config, result2 error)
- func (fake *MySQLAdapter) ParseDSNReturnsOnCall(i int, result1 *mysql.Config, result2 error)
- func (fake *MySQLAdapter) RegisterTLSConfig(arg1 string, arg2 *tls.Config) error
- func (fake *MySQLAdapter) RegisterTLSConfigArgsForCall(i int) (string, *tls.Config)
- func (fake *MySQLAdapter) RegisterTLSConfigCallCount() int
- func (fake *MySQLAdapter) RegisterTLSConfigCalls(stub func(string, *tls.Config) error)
- func (fake *MySQLAdapter) RegisterTLSConfigReturns(result1 error)
- func (fake *MySQLAdapter) RegisterTLSConfigReturnsOnCall(i int, result1 error)
- type Sleeper
- type Unmarshaler
- func (fake *Unmarshaler) Invocations() map[string][][]interface{}
- func (fake *Unmarshaler) Unmarshal(arg1 []byte, arg2 interface{}) error
- func (fake *Unmarshaler) UnmarshalArgsForCall(i int) ([]byte, interface{})
- func (fake *Unmarshaler) UnmarshalCallCount() int
- func (fake *Unmarshaler) UnmarshalCalls(stub func([]byte, interface{}) error)
- func (fake *Unmarshaler) UnmarshalReturns(result1 error)
- func (fake *Unmarshaler) UnmarshalReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPClient ¶
type HTTPClient struct { CloseIdleConnectionsStub func() DoStub func(*http.Request) (*http.Response, error) // contains filtered or unexported fields }
func (*HTTPClient) CloseIdleConnections ¶
func (fake *HTTPClient) CloseIdleConnections()
func (*HTTPClient) CloseIdleConnectionsCallCount ¶
func (fake *HTTPClient) CloseIdleConnectionsCallCount() int
func (*HTTPClient) CloseIdleConnectionsCalls ¶
func (fake *HTTPClient) CloseIdleConnectionsCalls(stub func())
func (*HTTPClient) DoArgsForCall ¶
func (fake *HTTPClient) DoArgsForCall(i int) *http.Request
func (*HTTPClient) DoCallCount ¶
func (fake *HTTPClient) DoCallCount() int
func (*HTTPClient) DoReturns ¶
func (fake *HTTPClient) DoReturns(result1 *http.Response, result2 error)
func (*HTTPClient) DoReturnsOnCall ¶
func (fake *HTTPClient) DoReturnsOnCall(i int, result1 *http.Response, result2 error)
func (*HTTPClient) Invocations ¶
func (fake *HTTPClient) Invocations() map[string][][]interface{}
type JSONClient ¶
type JSONClient struct { CloseIdleConnectionsStub func() DoStub func(string, string, interface{}, interface{}, string) error // contains filtered or unexported fields }
func (*JSONClient) CloseIdleConnections ¶
func (fake *JSONClient) CloseIdleConnections()
func (*JSONClient) CloseIdleConnectionsCallCount ¶
func (fake *JSONClient) CloseIdleConnectionsCallCount() int
func (*JSONClient) CloseIdleConnectionsCalls ¶
func (fake *JSONClient) CloseIdleConnectionsCalls(stub func())
func (*JSONClient) Do ¶
func (fake *JSONClient) Do(arg1 string, arg2 string, arg3 interface{}, arg4 interface{}, arg5 string) error
func (*JSONClient) DoArgsForCall ¶
func (fake *JSONClient) DoArgsForCall(i int) (string, string, interface{}, interface{}, string)
func (*JSONClient) DoCallCount ¶
func (fake *JSONClient) DoCallCount() int
func (*JSONClient) DoCalls ¶
func (fake *JSONClient) DoCalls(stub func(string, string, interface{}, interface{}, string) error)
func (*JSONClient) DoReturns ¶
func (fake *JSONClient) DoReturns(result1 error)
func (*JSONClient) DoReturnsOnCall ¶
func (fake *JSONClient) DoReturnsOnCall(i int, result1 error)
func (*JSONClient) Invocations ¶
func (fake *JSONClient) Invocations() map[string][][]interface{}
type Marshaler ¶
type Marshaler struct { MarshalStub func(interface{}) ([]byte, error) // contains filtered or unexported fields }
func (*Marshaler) Invocations ¶
func (*Marshaler) MarshalArgsForCall ¶
func (*Marshaler) MarshalCallCount ¶
func (*Marshaler) MarshalCalls ¶
func (*Marshaler) MarshalReturns ¶
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 MySQLAdapter ¶
type MySQLAdapter struct { ParseDSNStub func(string) (*mysql.Config, error) RegisterTLSConfigStub func(string, *tls.Config) error // contains filtered or unexported fields }
func (*MySQLAdapter) Invocations ¶
func (fake *MySQLAdapter) Invocations() map[string][][]interface{}
func (*MySQLAdapter) ParseDSN ¶
func (fake *MySQLAdapter) ParseDSN(arg1 string) (*mysql.Config, error)
func (*MySQLAdapter) ParseDSNArgsForCall ¶
func (fake *MySQLAdapter) ParseDSNArgsForCall(i int) string
func (*MySQLAdapter) ParseDSNCallCount ¶
func (fake *MySQLAdapter) ParseDSNCallCount() int
func (*MySQLAdapter) ParseDSNCalls ¶
func (fake *MySQLAdapter) ParseDSNCalls(stub func(string) (*mysql.Config, error))
func (*MySQLAdapter) ParseDSNReturns ¶
func (fake *MySQLAdapter) ParseDSNReturns(result1 *mysql.Config, result2 error)
func (*MySQLAdapter) ParseDSNReturnsOnCall ¶
func (fake *MySQLAdapter) ParseDSNReturnsOnCall(i int, result1 *mysql.Config, result2 error)
func (*MySQLAdapter) RegisterTLSConfig ¶
func (fake *MySQLAdapter) RegisterTLSConfig(arg1 string, arg2 *tls.Config) error
func (*MySQLAdapter) RegisterTLSConfigArgsForCall ¶
func (fake *MySQLAdapter) RegisterTLSConfigArgsForCall(i int) (string, *tls.Config)
func (*MySQLAdapter) RegisterTLSConfigCallCount ¶
func (fake *MySQLAdapter) RegisterTLSConfigCallCount() int
func (*MySQLAdapter) RegisterTLSConfigCalls ¶
func (fake *MySQLAdapter) RegisterTLSConfigCalls(stub func(string, *tls.Config) error)
func (*MySQLAdapter) RegisterTLSConfigReturns ¶
func (fake *MySQLAdapter) RegisterTLSConfigReturns(result1 error)
func (*MySQLAdapter) RegisterTLSConfigReturnsOnCall ¶
func (fake *MySQLAdapter) RegisterTLSConfigReturnsOnCall(i int, result1 error)
type Sleeper ¶
func (*Sleeper) Invocations ¶
func (*Sleeper) SleepCallCount ¶
func (*Sleeper) SleepCalls ¶
type Unmarshaler ¶
type Unmarshaler struct { UnmarshalStub func([]byte, interface{}) error // contains filtered or unexported fields }
func (*Unmarshaler) Invocations ¶
func (fake *Unmarshaler) Invocations() map[string][][]interface{}
func (*Unmarshaler) Unmarshal ¶
func (fake *Unmarshaler) Unmarshal(arg1 []byte, arg2 interface{}) error
func (*Unmarshaler) UnmarshalArgsForCall ¶
func (fake *Unmarshaler) UnmarshalArgsForCall(i int) ([]byte, interface{})
func (*Unmarshaler) UnmarshalCallCount ¶
func (fake *Unmarshaler) UnmarshalCallCount() int
func (*Unmarshaler) UnmarshalCalls ¶
func (fake *Unmarshaler) UnmarshalCalls(stub func([]byte, interface{}) error)
func (*Unmarshaler) UnmarshalReturns ¶
func (fake *Unmarshaler) UnmarshalReturns(result1 error)
func (*Unmarshaler) UnmarshalReturnsOnCall ¶
func (fake *Unmarshaler) UnmarshalReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.