mock

package
v0.0.0-...-4618428 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: AGPL-3.0 Imports: 6 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.

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 CockroachClient

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

CockroachClient is a mock of CockroachClient interface

func NewCockroachClient

func NewCockroachClient(ctrl *gomock.Controller) *CockroachClient

NewCockroachClient creates a new mock instance

func (*CockroachClient) EXPECT

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

func (*CockroachClient) Ping

func (m *CockroachClient) Ping() error

Ping mocks base method

type CockroachClientMockRecorder

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

CockroachClientMockRecorder is the mock recorder for CockroachClient

func (*CockroachClientMockRecorder) Ping

Ping indicates an expected call of Ping

type FlakiClient

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

FlakiClient is a mock of FlakiClient interface

func NewFlakiClient

func NewFlakiClient(ctrl *gomock.Controller) *FlakiClient

NewFlakiClient creates a new mock instance

func (*FlakiClient) EXPECT

func (m *FlakiClient) EXPECT() *FlakiClientMockRecorder

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

func (*FlakiClient) NextID

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

NextID mocks base method

type FlakiClientMockRecorder

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

FlakiClientMockRecorder is the mock recorder for FlakiClient

func (*FlakiClientMockRecorder) NextID

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

NextID indicates an expected call of NextID

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

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

func (*HealthChecker) HealthCheck

func (m *HealthChecker) HealthCheck(arg0 context.Context, arg1 string) (json.RawMessage, error)

HealthCheck mocks base method

type HealthCheckerMockRecorder

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

HealthCheckerMockRecorder is the mock recorder for HealthChecker

func (*HealthCheckerMockRecorder) HealthCheck

func (mr *HealthCheckerMockRecorder) HealthCheck(arg0, arg1 interface{}) *gomock.Call

HealthCheck indicates an expected call of HealthCheck

type InfluxClient

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

InfluxClient is a mock of InfluxClient interface

func NewInfluxClient

func NewInfluxClient(ctrl *gomock.Controller) *InfluxClient

NewInfluxClient creates a new mock instance

func (*InfluxClient) EXPECT

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

func (*InfluxClient) Ping

func (m *InfluxClient) Ping(arg0 time.Duration) (time.Duration, string, error)

Ping mocks base method

type InfluxClientMockRecorder

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

InfluxClientMockRecorder is the mock recorder for InfluxClient

func (*InfluxClientMockRecorder) Ping

func (mr *InfluxClientMockRecorder) Ping(arg0 interface{}) *gomock.Call

Ping indicates an expected call of Ping

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 RedisClient

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

RedisClient is a mock of RedisClient interface

func NewRedisClient

func NewRedisClient(ctrl *gomock.Controller) *RedisClient

NewRedisClient creates a new mock instance

func (*RedisClient) Do

func (m *RedisClient) Do(arg0 string, arg1 ...interface{}) (interface{}, error)

Do mocks base method

func (*RedisClient) EXPECT

func (m *RedisClient) EXPECT() *RedisClientMockRecorder

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

type RedisClientMockRecorder

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

RedisClientMockRecorder is the mock recorder for RedisClient

func (*RedisClientMockRecorder) Do

func (mr *RedisClientMockRecorder) Do(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Do indicates an expected call of Do

type SentryClient

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

SentryClient is a mock of SentryClient interface

func NewSentryClient

func NewSentryClient(ctrl *gomock.Controller) *SentryClient

NewSentryClient creates a new mock instance

func (*SentryClient) EXPECT

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

func (*SentryClient) URL

func (m *SentryClient) URL() string

URL mocks base method

type SentryClientMockRecorder

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

SentryClientMockRecorder is the mock recorder for SentryClient

func (*SentryClientMockRecorder) URL

URL indicates an expected call of URL

type SystemDConn

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

SystemDConn is a mock of SystemDConn interface

func NewSystemDConn

func NewSystemDConn(ctrl *gomock.Controller) *SystemDConn

NewSystemDConn creates a new mock instance

func (*SystemDConn) EXPECT

func (m *SystemDConn) EXPECT() *SystemDConnMockRecorder

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

func (*SystemDConn) ListUnitsByNames

func (m *SystemDConn) ListUnitsByNames(arg0 []string) ([]dbus.UnitStatus, error)

ListUnitsByNames mocks base method

type SystemDConnMockRecorder

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

SystemDConnMockRecorder is the mock recorder for SystemDConn

func (*SystemDConnMockRecorder) ListUnitsByNames

func (mr *SystemDConnMockRecorder) ListUnitsByNames(arg0 interface{}) *gomock.Call

ListUnitsByNames indicates an expected call of ListUnitsByNames

Jump to

Keyboard shortcuts

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