mock

package
v0.0.0-...-afd77eb Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2018 License: AGPL-3.0 Imports: 9 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 ElasticsearchClient

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

ElasticsearchClient is a mock of ElasticsearchClient interface

func NewElasticsearchClient

func NewElasticsearchClient(ctrl *gomock.Controller) *ElasticsearchClient

NewElasticsearchClient creates a new mock instance

func (*ElasticsearchClient) CreateIndex

func (m *ElasticsearchClient) CreateIndex(arg0 string) error

CreateIndex mocks base method

func (*ElasticsearchClient) DeleteIndex

func (m *ElasticsearchClient) DeleteIndex(arg0 string) error

DeleteIndex mocks base method

func (*ElasticsearchClient) EXPECT

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

func (*ElasticsearchClient) GetIndex

GetIndex mocks base method

func (*ElasticsearchClient) Health

Health mocks base method

func (*ElasticsearchClient) ListIndexes

ListIndexes mocks base method

type ElasticsearchClientMockRecorder

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

ElasticsearchClientMockRecorder is the mock recorder for ElasticsearchClient

func (*ElasticsearchClientMockRecorder) CreateIndex

func (mr *ElasticsearchClientMockRecorder) CreateIndex(arg0 interface{}) *gomock.Call

CreateIndex indicates an expected call of CreateIndex

func (*ElasticsearchClientMockRecorder) DeleteIndex

func (mr *ElasticsearchClientMockRecorder) DeleteIndex(arg0 interface{}) *gomock.Call

DeleteIndex indicates an expected call of DeleteIndex

func (*ElasticsearchClientMockRecorder) GetIndex

func (mr *ElasticsearchClientMockRecorder) GetIndex(arg0 interface{}) *gomock.Call

GetIndex indicates an expected call of GetIndex

func (*ElasticsearchClientMockRecorder) Health

Health indicates an expected call of Health

func (*ElasticsearchClientMockRecorder) ListIndexes

func (mr *ElasticsearchClientMockRecorder) ListIndexes() *gomock.Call

ListIndexes indicates an expected call of ListIndexes

type ElasticsearchHealthChecker

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

ElasticsearchHealthChecker is a mock of ElasticsearchHealthChecker interface

func NewElasticsearchHealthChecker

func NewElasticsearchHealthChecker(ctrl *gomock.Controller) *ElasticsearchHealthChecker

NewElasticsearchHealthChecker creates a new mock instance

func (*ElasticsearchHealthChecker) EXPECT

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

func (*ElasticsearchHealthChecker) HealthChecks

HealthChecks mocks base method

type ElasticsearchHealthCheckerMockRecorder

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

ElasticsearchHealthCheckerMockRecorder is the mock recorder for ElasticsearchHealthChecker

func (*ElasticsearchHealthCheckerMockRecorder) HealthChecks

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

HealthChecks indicates an expected call of HealthChecks

type FlakiHealthChecker

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

FlakiHealthChecker is a mock of FlakiHealthChecker interface

func NewFlakiHealthChecker

func NewFlakiHealthChecker(ctrl *gomock.Controller) *FlakiHealthChecker

NewFlakiHealthChecker creates a new mock instance

func (*FlakiHealthChecker) EXPECT

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

func (*FlakiHealthChecker) HealthChecks

HealthChecks mocks base method

type FlakiHealthCheckerMockRecorder

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

FlakiHealthCheckerMockRecorder is the mock recorder for FlakiHealthChecker

func (*FlakiHealthCheckerMockRecorder) HealthChecks

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

HealthChecks indicates an expected call of HealthChecks

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

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

ExecElasticsearchHealthChecks mocks base method

func (*HealthChecker) ExecFlakiHealthChecks

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

ExecFlakiHealthChecks mocks base method

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

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

ReadElasticsearchHealthChecks mocks base method

func (*HealthChecker) ReadFlakiHealthChecks

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

ReadFlakiHealthChecks 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) ExecElasticsearchHealthChecks

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

ExecElasticsearchHealthChecks indicates an expected call of ExecElasticsearchHealthChecks

func (*HealthCheckerMockRecorder) ExecFlakiHealthChecks

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

ExecFlakiHealthChecks indicates an expected call of ExecFlakiHealthChecks

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

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

ReadElasticsearchHealthChecks indicates an expected call of ReadElasticsearchHealthChecks

func (*HealthCheckerMockRecorder) ReadFlakiHealthChecks

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

ReadFlakiHealthChecks indicates an expected call of ReadFlakiHealthChecks

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