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: 8 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

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 FlakiModule

type FlakiModule struct {
	// contains filtered or unexported fields
}

FlakiModule is a mock of IDGeneratorModule interface

func NewFlakiModule

func NewFlakiModule(ctrl *gomock.Controller) *FlakiModule

NewFlakiModule creates a new mock instance

func (*FlakiModule) EXPECT

func (m *FlakiModule) EXPECT() *FlakiModuleMockRecorder

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

func (*FlakiModule) NextID

func (m *FlakiModule) NextID(arg0 context.Context) (string, error)

NextID mocks base method

func (*FlakiModule) NextValidID

func (m *FlakiModule) NextValidID(arg0 context.Context) string

NextValidID mocks base method

type FlakiModuleMockRecorder

type FlakiModuleMockRecorder struct {
	// contains filtered or unexported fields
}

FlakiModuleMockRecorder is the mock recorder for FlakiModule

func (*FlakiModuleMockRecorder) NextID

func (mr *FlakiModuleMockRecorder) NextID(arg0 interface{}) *gomock.Call

NextID indicates an expected call of NextID

func (*FlakiModuleMockRecorder) NextValidID

func (mr *FlakiModuleMockRecorder) NextValidID(arg0 interface{}) *gomock.Call

NextValidID indicates an expected call of NextValidID

type HealthChecker

type HealthChecker struct {
	// contains filtered or unexported fields
}

HealthChecker is a mock of HealthChecker interface

func NewHealthChecker

func NewHealthChecker(ctrl *gomock.Controller) *HealthChecker

NewHealthChecker creates a new mock instance

func (*HealthChecker) AllHealthChecks

func (m *HealthChecker) AllHealthChecks(arg0 context.Context) json.RawMessage

AllHealthChecks mocks base method

func (*HealthChecker) EXPECT

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

func (*HealthChecker) ExecInfluxHealthChecks

func (m *HealthChecker) ExecInfluxHealthChecks(arg0 context.Context) json.RawMessage

ExecInfluxHealthChecks mocks base method

func (*HealthChecker) ExecJaegerHealthChecks

func (m *HealthChecker) ExecJaegerHealthChecks(arg0 context.Context) json.RawMessage

ExecJaegerHealthChecks mocks base method

func (*HealthChecker) ExecRedisHealthChecks

func (m *HealthChecker) ExecRedisHealthChecks(arg0 context.Context) json.RawMessage

ExecRedisHealthChecks mocks base method

func (*HealthChecker) ExecSentryHealthChecks

func (m *HealthChecker) ExecSentryHealthChecks(arg0 context.Context) json.RawMessage

ExecSentryHealthChecks mocks base method

func (*HealthChecker) ReadInfluxHealthChecks

func (m *HealthChecker) ReadInfluxHealthChecks(arg0 context.Context) json.RawMessage

ReadInfluxHealthChecks mocks base method

func (*HealthChecker) ReadJaegerHealthChecks

func (m *HealthChecker) ReadJaegerHealthChecks(arg0 context.Context) json.RawMessage

ReadJaegerHealthChecks mocks base method

func (*HealthChecker) ReadRedisHealthChecks

func (m *HealthChecker) ReadRedisHealthChecks(arg0 context.Context) json.RawMessage

ReadRedisHealthChecks mocks base method

func (*HealthChecker) ReadSentryHealthChecks

func (m *HealthChecker) ReadSentryHealthChecks(arg0 context.Context) json.RawMessage

ReadSentryHealthChecks mocks base method

type HealthCheckerMockRecorder

type HealthCheckerMockRecorder struct {
	// contains filtered or unexported fields
}

HealthCheckerMockRecorder is the mock recorder for HealthChecker

func (*HealthCheckerMockRecorder) AllHealthChecks

func (mr *HealthCheckerMockRecorder) AllHealthChecks(arg0 interface{}) *gomock.Call

AllHealthChecks indicates an expected call of AllHealthChecks

func (*HealthCheckerMockRecorder) ExecInfluxHealthChecks

func (mr *HealthCheckerMockRecorder) ExecInfluxHealthChecks(arg0 interface{}) *gomock.Call

ExecInfluxHealthChecks indicates an expected call of ExecInfluxHealthChecks

func (*HealthCheckerMockRecorder) ExecJaegerHealthChecks

func (mr *HealthCheckerMockRecorder) ExecJaegerHealthChecks(arg0 interface{}) *gomock.Call

ExecJaegerHealthChecks indicates an expected call of ExecJaegerHealthChecks

func (*HealthCheckerMockRecorder) ExecRedisHealthChecks

func (mr *HealthCheckerMockRecorder) ExecRedisHealthChecks(arg0 interface{}) *gomock.Call

ExecRedisHealthChecks indicates an expected call of ExecRedisHealthChecks

func (*HealthCheckerMockRecorder) ExecSentryHealthChecks

func (mr *HealthCheckerMockRecorder) ExecSentryHealthChecks(arg0 interface{}) *gomock.Call

ExecSentryHealthChecks indicates an expected call of ExecSentryHealthChecks

func (*HealthCheckerMockRecorder) ReadInfluxHealthChecks

func (mr *HealthCheckerMockRecorder) ReadInfluxHealthChecks(arg0 interface{}) *gomock.Call

ReadInfluxHealthChecks indicates an expected call of ReadInfluxHealthChecks

func (*HealthCheckerMockRecorder) ReadJaegerHealthChecks

func (mr *HealthCheckerMockRecorder) ReadJaegerHealthChecks(arg0 interface{}) *gomock.Call

ReadJaegerHealthChecks indicates an expected call of ReadJaegerHealthChecks

func (*HealthCheckerMockRecorder) ReadRedisHealthChecks

func (mr *HealthCheckerMockRecorder) ReadRedisHealthChecks(arg0 interface{}) *gomock.Call

ReadRedisHealthChecks indicates an expected call of ReadRedisHealthChecks

func (*HealthCheckerMockRecorder) ReadSentryHealthChecks

func (mr *HealthCheckerMockRecorder) ReadSentryHealthChecks(arg0 interface{}) *gomock.Call

ReadSentryHealthChecks indicates an expected call of ReadSentryHealthChecks

type InfluxHealthChecker

type InfluxHealthChecker struct {
	// contains filtered or unexported fields
}

InfluxHealthChecker is a mock of InfluxHealthChecker interface

func NewInfluxHealthChecker

func NewInfluxHealthChecker(ctrl *gomock.Controller) *InfluxHealthChecker

NewInfluxHealthChecker creates a new mock instance

func (*InfluxHealthChecker) EXPECT

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

func (*InfluxHealthChecker) HealthChecks

HealthChecks mocks base method

type InfluxHealthCheckerMockRecorder

type InfluxHealthCheckerMockRecorder struct {
	// contains filtered or unexported fields
}

InfluxHealthCheckerMockRecorder is the mock recorder for InfluxHealthChecker

func (*InfluxHealthCheckerMockRecorder) HealthChecks

func (mr *InfluxHealthCheckerMockRecorder) HealthChecks(arg0 interface{}) *gomock.Call

HealthChecks indicates an expected call of HealthChecks

type JaegerHealthChecker

type JaegerHealthChecker struct {
	// contains filtered or unexported fields
}

JaegerHealthChecker is a mock of JaegerHealthChecker interface

func NewJaegerHealthChecker

func NewJaegerHealthChecker(ctrl *gomock.Controller) *JaegerHealthChecker

NewJaegerHealthChecker creates a new mock instance

func (*JaegerHealthChecker) EXPECT

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

func (*JaegerHealthChecker) HealthChecks

HealthChecks mocks base method

type JaegerHealthCheckerMockRecorder

type JaegerHealthCheckerMockRecorder struct {
	// contains filtered or unexported fields
}

JaegerHealthCheckerMockRecorder is the mock recorder for JaegerHealthChecker

func (*JaegerHealthCheckerMockRecorder) HealthChecks

func (mr *JaegerHealthCheckerMockRecorder) HealthChecks(arg0 interface{}) *gomock.Call

HealthChecks indicates an expected call of HealthChecks

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

Logger is a mock of Logger interface

func NewLogger

func NewLogger(ctrl *gomock.Controller) *Logger

NewLogger creates a new mock instance

func (*Logger) EXPECT

func (m *Logger) EXPECT() *LoggerMockRecorder

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

func (*Logger) Log

func (m *Logger) Log(arg0 ...interface{}) error

Log mocks base method

type LoggerMockRecorder

type LoggerMockRecorder struct {
	// contains filtered or unexported fields
}

LoggerMockRecorder is the mock recorder for Logger

func (*LoggerMockRecorder) Log

func (mr *LoggerMockRecorder) Log(arg0 ...interface{}) *gomock.Call

Log indicates an expected call of Log

type RedisHealthChecker

type RedisHealthChecker struct {
	// contains filtered or unexported fields
}

RedisHealthChecker is a mock of RedisHealthChecker interface

func NewRedisHealthChecker

func NewRedisHealthChecker(ctrl *gomock.Controller) *RedisHealthChecker

NewRedisHealthChecker creates a new mock instance

func (*RedisHealthChecker) EXPECT

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

func (*RedisHealthChecker) HealthChecks

HealthChecks mocks base method

type RedisHealthCheckerMockRecorder

type RedisHealthCheckerMockRecorder struct {
	// contains filtered or unexported fields
}

RedisHealthCheckerMockRecorder is the mock recorder for RedisHealthChecker

func (*RedisHealthCheckerMockRecorder) HealthChecks

func (mr *RedisHealthCheckerMockRecorder) HealthChecks(arg0 interface{}) *gomock.Call

HealthChecks indicates an expected call of HealthChecks

type SentryHealthChecker

type SentryHealthChecker struct {
	// contains filtered or unexported fields
}

SentryHealthChecker is a mock of SentryHealthChecker interface

func NewSentryHealthChecker

func NewSentryHealthChecker(ctrl *gomock.Controller) *SentryHealthChecker

NewSentryHealthChecker creates a new mock instance

func (*SentryHealthChecker) EXPECT

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

func (*SentryHealthChecker) HealthChecks

HealthChecks mocks base method

type SentryHealthCheckerMockRecorder

type SentryHealthCheckerMockRecorder struct {
	// contains filtered or unexported fields
}

SentryHealthCheckerMockRecorder is the mock recorder for SentryHealthChecker

func (*SentryHealthCheckerMockRecorder) HealthChecks

func (mr *SentryHealthCheckerMockRecorder) HealthChecks(arg0 interface{}) *gomock.Call

HealthChecks indicates an expected call of HealthChecks

type Storage

type Storage struct {
	// contains filtered or unexported fields
}

Storage is a mock of Storage interface

func NewStorage

func NewStorage(ctrl *gomock.Controller) *Storage

NewStorage creates a new mock instance

func (*Storage) EXPECT

func (m *Storage) EXPECT() *StorageMockRecorder

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

func (*Storage) Exec

func (m *Storage) Exec(arg0 string, arg1 ...interface{}) (sql.Result, error)

Exec mocks base method

func (*Storage) Query

func (m *Storage) Query(arg0 string, arg1 ...interface{}) (*sql.Rows, error)

Query mocks base method

type StorageMockRecorder

type StorageMockRecorder struct {
	// contains filtered or unexported fields
}

StorageMockRecorder is the mock recorder for Storage

func (*StorageMockRecorder) Exec

func (mr *StorageMockRecorder) Exec(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Exec indicates an expected call of Exec

func (*StorageMockRecorder) Query

func (mr *StorageMockRecorder) Query(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Query indicates an expected call of Query

type StoreModule

type StoreModule struct {
	// contains filtered or unexported fields
}

StoreModule is a mock of StoreModule interface

func NewStoreModule

func NewStoreModule(ctrl *gomock.Controller) *StoreModule

NewStoreModule creates a new mock instance

func (*StoreModule) EXPECT

func (m *StoreModule) EXPECT() *StoreModuleMockRecorder

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

func (*StoreModule) Read

func (m *StoreModule) Read(arg0 string) (health.StoredReport, error)

Read mocks base method

func (*StoreModule) Update

func (m *StoreModule) Update(arg0 string, arg1 time.Duration, arg2 json.RawMessage) error

Update mocks base method

type StoreModuleMockRecorder

type StoreModuleMockRecorder struct {
	// contains filtered or unexported fields
}

StoreModuleMockRecorder is the mock recorder for StoreModule

func (*StoreModuleMockRecorder) Read

func (mr *StoreModuleMockRecorder) Read(arg0 interface{}) *gomock.Call

Read indicates an expected call of Read

func (*StoreModuleMockRecorder) Update

func (mr *StoreModuleMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update

Jump to

Keyboard shortcuts

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