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) Do(arg1 *http.Request) (*http.Response, error)
- func (fake *HTTPClient) DoArgsForCall(i int) *http.Request
- func (fake *HTTPClient) DoCallCount() int
- 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) Do(method string, route string, reqData interface{}, respData interface{}, ...) error
- func (fake *JSONClient) DoArgsForCall(i int) (string, string, interface{}, interface{}, string)
- func (fake *JSONClient) DoCallCount() int
- 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(input interface{}) ([]byte, error)
- func (fake *Marshaler) MarshalArgsForCall(i int) interface{}
- func (fake *Marshaler) MarshalCallCount() int
- 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) 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
- type MySQLAdapter
- func (fake *MySQLAdapter) Invocations() map[string][][]interface{}
- func (fake *MySQLAdapter) ParseDSN(dsn string) (cfg *mysql.Config, err error)
- func (fake *MySQLAdapter) ParseDSNArgsForCall(i int) string
- func (fake *MySQLAdapter) ParseDSNCallCount() int
- func (fake *MySQLAdapter) ParseDSNReturns(result1 *mysql.Config, result2 error)
- func (fake *MySQLAdapter) ParseDSNReturnsOnCall(i int, result1 *mysql.Config, result2 error)
- func (fake *MySQLAdapter) RegisterTLSConfig(key string, config *tls.Config) error
- func (fake *MySQLAdapter) RegisterTLSConfigArgsForCall(i int) (string, *tls.Config)
- func (fake *MySQLAdapter) RegisterTLSConfigCallCount() int
- 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(input []byte, output interface{}) error
- func (fake *Unmarshaler) UnmarshalArgsForCall(i int) ([]byte, interface{})
- func (fake *Unmarshaler) UnmarshalCallCount() int
- 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 { DoStub func(*http.Request) (*http.Response, error) // contains filtered or unexported fields }
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 { DoStub func(method, route string, reqData, respData interface{}, token string) error // contains filtered or unexported fields }
func (*JSONClient) Do ¶
func (fake *JSONClient) Do(method string, route string, reqData interface{}, respData interface{}, token 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) 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(input interface{}) ([]byte, error) // contains filtered or unexported fields }
func (*Marshaler) Invocations ¶
func (*Marshaler) MarshalArgsForCall ¶
func (*Marshaler) MarshalCallCount ¶
func (*Marshaler) MarshalReturns ¶
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 MySQLAdapter ¶
type MySQLAdapter struct { ParseDSNStub func(dsn string) (cfg *mysql.Config, err error) RegisterTLSConfigStub func(key string, config *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(dsn string) (cfg *mysql.Config, err error)
func (*MySQLAdapter) ParseDSNArgsForCall ¶
func (fake *MySQLAdapter) ParseDSNArgsForCall(i int) string
func (*MySQLAdapter) ParseDSNCallCount ¶
func (fake *MySQLAdapter) ParseDSNCallCount() int
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(key string, config *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) RegisterTLSConfigReturns ¶
func (fake *MySQLAdapter) RegisterTLSConfigReturns(result1 error)
func (*MySQLAdapter) RegisterTLSConfigReturnsOnCall ¶
func (fake *MySQLAdapter) RegisterTLSConfigReturnsOnCall(i int, result1 error)
type Unmarshaler ¶
type Unmarshaler struct { UnmarshalStub func(input []byte, output interface{}) error // contains filtered or unexported fields }
func (*Unmarshaler) Invocations ¶
func (fake *Unmarshaler) Invocations() map[string][][]interface{}
func (*Unmarshaler) Unmarshal ¶
func (fake *Unmarshaler) Unmarshal(input []byte, output interface{}) error
func (*Unmarshaler) UnmarshalArgsForCall ¶
func (fake *Unmarshaler) UnmarshalArgsForCall(i int) ([]byte, interface{})
func (*Unmarshaler) UnmarshalCallCount ¶
func (fake *Unmarshaler) UnmarshalCallCount() int
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.