Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type GoKitMetrics
- func (m *GoKitMetrics) EXPECT() *GoKitMetricsMockRecorder
- func (m *GoKitMetrics) NewCounter(name string) *influx.Counter
- func (m *GoKitMetrics) NewGauge(name string) *influx.Gauge
- func (m *GoKitMetrics) NewHistogram(name string) *influx.Histogram
- func (m *GoKitMetrics) WriteLoop(c <-chan time.Time, w influx.BatchPointsWriter)
- type GoKitMetricsMockRecorder
- func (mr *GoKitMetricsMockRecorder) NewCounter(name interface{}) *gomock.Call
- func (mr *GoKitMetricsMockRecorder) NewGauge(name interface{}) *gomock.Call
- func (mr *GoKitMetricsMockRecorder) NewHistogram(name interface{}) *gomock.Call
- func (mr *GoKitMetricsMockRecorder) WriteLoop(c, w interface{}) *gomock.Call
- type Influx
- type InfluxMockRecorder
- type Redis
- type RedisMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoKitMetrics ¶
type GoKitMetrics struct {
// contains filtered or unexported fields
}
GoKitMetrics is a mock of GoKitMetrics interface
func NewGoKitMetrics ¶
func NewGoKitMetrics(ctrl *gomock.Controller) *GoKitMetrics
NewGoKitMetrics creates a new mock instance
func (*GoKitMetrics) EXPECT ¶
func (m *GoKitMetrics) EXPECT() *GoKitMetricsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*GoKitMetrics) NewCounter ¶
func (m *GoKitMetrics) NewCounter(name string) *influx.Counter
NewCounter mocks base method
func (*GoKitMetrics) NewGauge ¶
func (m *GoKitMetrics) NewGauge(name string) *influx.Gauge
NewGauge mocks base method
func (*GoKitMetrics) NewHistogram ¶
func (m *GoKitMetrics) NewHistogram(name string) *influx.Histogram
NewHistogram mocks base method
func (*GoKitMetrics) WriteLoop ¶
func (m *GoKitMetrics) WriteLoop(c <-chan time.Time, w influx.BatchPointsWriter)
WriteLoop mocks base method
type GoKitMetricsMockRecorder ¶
type GoKitMetricsMockRecorder struct {
// contains filtered or unexported fields
}
GoKitMetricsMockRecorder is the mock recorder for GoKitMetrics
func (*GoKitMetricsMockRecorder) NewCounter ¶
func (mr *GoKitMetricsMockRecorder) NewCounter(name interface{}) *gomock.Call
NewCounter indicates an expected call of NewCounter
func (*GoKitMetricsMockRecorder) NewGauge ¶
func (mr *GoKitMetricsMockRecorder) NewGauge(name interface{}) *gomock.Call
NewGauge indicates an expected call of NewGauge
func (*GoKitMetricsMockRecorder) NewHistogram ¶
func (mr *GoKitMetricsMockRecorder) NewHistogram(name interface{}) *gomock.Call
NewHistogram indicates an expected call of NewHistogram
func (*GoKitMetricsMockRecorder) WriteLoop ¶
func (mr *GoKitMetricsMockRecorder) WriteLoop(c, w interface{}) *gomock.Call
WriteLoop indicates an expected call of WriteLoop
type Influx ¶
type Influx struct {
// contains filtered or unexported fields
}
Influx is a mock of Influx interface
func NewInflux ¶
func NewInflux(ctrl *gomock.Controller) *Influx
NewInflux creates a new mock instance
func (*Influx) EXPECT ¶
func (m *Influx) EXPECT() *InfluxMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type InfluxMockRecorder ¶
type InfluxMockRecorder struct {
// contains filtered or unexported fields
}
InfluxMockRecorder is the mock recorder for Influx
func (*InfluxMockRecorder) Close ¶
func (mr *InfluxMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*InfluxMockRecorder) Ping ¶
func (mr *InfluxMockRecorder) Ping(timeout interface{}) *gomock.Call
Ping indicates an expected call of Ping
func (*InfluxMockRecorder) Write ¶
func (mr *InfluxMockRecorder) Write(bp interface{}) *gomock.Call
Write indicates an expected call of Write
type Redis ¶
type Redis struct {
// contains filtered or unexported fields
}
Redis is a mock of Redis interface
func (*Redis) EXPECT ¶
func (m *Redis) EXPECT() *RedisMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type RedisMockRecorder ¶
type RedisMockRecorder struct {
// contains filtered or unexported fields
}
RedisMockRecorder is the mock recorder for Redis
func (*RedisMockRecorder) Send ¶
func (mr *RedisMockRecorder) Send(commandName interface{}, args ...interface{}) *gomock.Call
Send indicates an expected call of Send