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 ¶
- type CockroachClient
- type CockroachClientMockRecorder
- type FlakiClient
- type FlakiClientMockRecorder
- type HealthChecker
- type HealthCheckerMockRecorder
- type InfluxClient
- type InfluxClientMockRecorder
- type Logger
- type LoggerMockRecorder
- type RedisClient
- type RedisClientMockRecorder
- type SentryClient
- type SentryClientMockRecorder
- type SystemDConn
- type SystemDConnMockRecorder
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 ¶
func (m *CockroachClient) EXPECT() *CockroachClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type CockroachClientMockRecorder ¶
type CockroachClientMockRecorder struct {
// contains filtered or unexported fields
}
CockroachClientMockRecorder is the mock recorder for CockroachClient
func (*CockroachClientMockRecorder) Ping ¶
func (mr *CockroachClientMockRecorder) Ping() *gomock.Call
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
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 ¶
func (m *HealthChecker) EXPECT() *HealthCheckerMockRecorder
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 ¶
func (m *InfluxClient) EXPECT() *InfluxClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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
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 ¶
func (m *SentryClient) EXPECT() *SentryClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type SentryClientMockRecorder ¶
type SentryClientMockRecorder struct {
// contains filtered or unexported fields
}
SentryClientMockRecorder is the mock recorder for SentryClient
func (*SentryClientMockRecorder) URL ¶
func (mr *SentryClientMockRecorder) URL() *gomock.Call
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