mock

package
v0.0.0-...-d5eddb0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2018 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

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

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) Close

func (m *Influx) Close() error

Close mocks base method

func (*Influx) EXPECT

func (m *Influx) EXPECT() *InfluxMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*Influx) Ping

func (m *Influx) Ping(timeout time.Duration) (time.Duration, string, error)

Ping mocks base method

func (*Influx) Write

func (m *Influx) Write(bp v2.BatchPoints) error

Write mocks base method

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 NewRedis

func NewRedis(ctrl *gomock.Controller) *Redis

NewRedis creates a new mock instance

func (*Redis) EXPECT

func (m *Redis) EXPECT() *RedisMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*Redis) Send

func (m *Redis) Send(commandName string, args ...interface{}) error

Send mocks base method

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

Jump to

Keyboard shortcuts

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