mocks

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: Apache-2.0 Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccount

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

MockAccount is a mock of Account interface.

func NewMockAccount

func NewMockAccount(ctrl *gomock.Controller) *MockAccount

NewMockAccount creates a new mock instance.

func (*MockAccount) EXPECT

func (m *MockAccount) EXPECT() *MockAccountMockRecorder

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

func (*MockAccount) GetAccountNumber

func (m *MockAccount) GetAccountNumber() uint64

GetAccountNumber mocks base method.

func (*MockAccount) GetAddress

func (m *MockAccount) GetAddress() types0.AccAddress

GetAddress mocks base method.

func (*MockAccount) GetPubKey

func (m *MockAccount) GetPubKey() types.PubKey

GetPubKey mocks base method.

func (*MockAccount) GetSequence

func (m *MockAccount) GetSequence() uint64

GetSequence mocks base method.

type MockAccountMockRecorder

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

MockAccountMockRecorder is the mock recorder for MockAccount.

func (*MockAccountMockRecorder) GetAccountNumber

func (mr *MockAccountMockRecorder) GetAccountNumber() *gomock.Call

GetAccountNumber indicates an expected call of GetAccountNumber.

func (*MockAccountMockRecorder) GetAddress

func (mr *MockAccountMockRecorder) GetAddress() *gomock.Call

GetAddress indicates an expected call of GetAddress.

func (*MockAccountMockRecorder) GetPubKey

func (mr *MockAccountMockRecorder) GetPubKey() *gomock.Call

GetPubKey indicates an expected call of GetPubKey.

func (*MockAccountMockRecorder) GetSequence

func (mr *MockAccountMockRecorder) GetSequence() *gomock.Call

GetSequence indicates an expected call of GetSequence.

type MockAccountRetriever

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

MockAccountRetriever is a mock of AccountRetriever interface.

func NewMockAccountRetriever

func NewMockAccountRetriever(ctrl *gomock.Controller) *MockAccountRetriever

NewMockAccountRetriever creates a new mock instance.

func (*MockAccountRetriever) EXPECT

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

func (*MockAccountRetriever) EnsureExists

func (m *MockAccountRetriever) EnsureExists(clientCtx client.Context, addr types0.AccAddress) error

EnsureExists mocks base method.

func (*MockAccountRetriever) GetAccount

func (m *MockAccountRetriever) GetAccount(clientCtx client.Context, addr types0.AccAddress) (client.Account, error)

GetAccount mocks base method.

func (*MockAccountRetriever) GetAccountNumberSequence

func (m *MockAccountRetriever) GetAccountNumberSequence(clientCtx client.Context, addr types0.AccAddress) (uint64, uint64, error)

GetAccountNumberSequence mocks base method.

func (*MockAccountRetriever) GetAccountWithHeight

func (m *MockAccountRetriever) GetAccountWithHeight(clientCtx client.Context, addr types0.AccAddress) (client.Account, int64, error)

GetAccountWithHeight mocks base method.

type MockAccountRetrieverMockRecorder

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

MockAccountRetrieverMockRecorder is the mock recorder for MockAccountRetriever.

func (*MockAccountRetrieverMockRecorder) EnsureExists

func (mr *MockAccountRetrieverMockRecorder) EnsureExists(clientCtx, addr interface{}) *gomock.Call

EnsureExists indicates an expected call of EnsureExists.

func (*MockAccountRetrieverMockRecorder) GetAccount

func (mr *MockAccountRetrieverMockRecorder) GetAccount(clientCtx, addr interface{}) *gomock.Call

GetAccount indicates an expected call of GetAccount.

func (*MockAccountRetrieverMockRecorder) GetAccountNumberSequence

func (mr *MockAccountRetrieverMockRecorder) GetAccountNumberSequence(clientCtx, addr interface{}) *gomock.Call

GetAccountNumberSequence indicates an expected call of GetAccountNumberSequence.

func (*MockAccountRetrieverMockRecorder) GetAccountWithHeight

func (mr *MockAccountRetrieverMockRecorder) GetAccountWithHeight(clientCtx, addr interface{}) *gomock.Call

GetAccountWithHeight indicates an expected call of GetAccountWithHeight.

type MockAnteDecorator

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

MockAnteDecorator is a mock of AnteDecorator interface.

func NewMockAnteDecorator

func NewMockAnteDecorator(ctrl *gomock.Controller) *MockAnteDecorator

NewMockAnteDecorator creates a new mock instance.

func (*MockAnteDecorator) AnteHandle

func (m *MockAnteDecorator) AnteHandle(ctx types.Context, tx types.Tx, simulate bool, next types.AnteHandler) (types.Context, error)

AnteHandle mocks base method.

func (*MockAnteDecorator) EXPECT

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

type MockAnteDecoratorMockRecorder

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

MockAnteDecoratorMockRecorder is the mock recorder for MockAnteDecorator.

func (*MockAnteDecoratorMockRecorder) AnteHandle

func (mr *MockAnteDecoratorMockRecorder) AnteHandle(ctx, tx, simulate, next interface{}) *gomock.Call

AnteHandle indicates an expected call of AnteHandle.

type MockAppModule

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

MockAppModule is a mock of AppModule interface.

func NewMockAppModule

func NewMockAppModule(ctrl *gomock.Controller) *MockAppModule

NewMockAppModule creates a new mock instance.

func (*MockAppModule) BeginBlock

func (m *MockAppModule) BeginBlock(arg0 types0.Context, arg1 types1.RequestBeginBlock)

BeginBlock mocks base method.

func (*MockAppModule) ConsensusVersion

func (m *MockAppModule) ConsensusVersion() uint64

ConsensusVersion mocks base method.

func (*MockAppModule) DefaultGenesis

func (m *MockAppModule) DefaultGenesis(arg0 codec.JSONCodec) json.RawMessage

DefaultGenesis mocks base method.

func (*MockAppModule) EXPECT

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

func (*MockAppModule) EndBlock

EndBlock mocks base method.

func (*MockAppModule) ExportGenesis

func (m *MockAppModule) ExportGenesis(arg0 types0.Context, arg1 codec.JSONCodec) json.RawMessage

ExportGenesis mocks base method.

func (*MockAppModule) GetQueryCmd

func (m *MockAppModule) GetQueryCmd() *cobra.Command

GetQueryCmd mocks base method.

func (*MockAppModule) GetTxCmd

func (m *MockAppModule) GetTxCmd() *cobra.Command

GetTxCmd mocks base method.

func (*MockAppModule) InitGenesis

func (m *MockAppModule) InitGenesis(arg0 types0.Context, arg1 codec.JSONCodec, arg2 json.RawMessage) []types1.ValidatorUpdate

InitGenesis mocks base method.

func (*MockAppModule) LegacyQuerierHandler

func (m *MockAppModule) LegacyQuerierHandler(arg0 *codec.LegacyAmino) types0.Querier

LegacyQuerierHandler mocks base method.

func (*MockAppModule) Name

func (m *MockAppModule) Name() string

Name mocks base method.

func (*MockAppModule) QuerierRoute

func (m *MockAppModule) QuerierRoute() string

QuerierRoute mocks base method.

func (*MockAppModule) RegisterGRPCGatewayRoutes

func (m *MockAppModule) RegisterGRPCGatewayRoutes(arg0 client.Context, arg1 *runtime.ServeMux)

RegisterGRPCGatewayRoutes mocks base method.

func (*MockAppModule) RegisterInterfaces

func (m *MockAppModule) RegisterInterfaces(arg0 types.InterfaceRegistry)

RegisterInterfaces mocks base method.

func (*MockAppModule) RegisterInvariants

func (m *MockAppModule) RegisterInvariants(arg0 types0.InvariantRegistry)

RegisterInvariants mocks base method.

func (*MockAppModule) RegisterLegacyAminoCodec

func (m *MockAppModule) RegisterLegacyAminoCodec(arg0 *codec.LegacyAmino)

RegisterLegacyAminoCodec mocks base method.

func (*MockAppModule) RegisterServices

func (m *MockAppModule) RegisterServices(arg0 module.Configurator)

RegisterServices mocks base method.

func (*MockAppModule) Route

func (m *MockAppModule) Route() types0.Route

Route mocks base method.

func (*MockAppModule) ValidateGenesis

func (m *MockAppModule) ValidateGenesis(arg0 codec.JSONCodec, arg1 client.TxEncodingConfig, arg2 json.RawMessage) error

ValidateGenesis mocks base method.

type MockAppModuleBasic

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

MockAppModuleBasic is a mock of AppModuleBasic interface.

func NewMockAppModuleBasic

func NewMockAppModuleBasic(ctrl *gomock.Controller) *MockAppModuleBasic

NewMockAppModuleBasic creates a new mock instance.

func (*MockAppModuleBasic) DefaultGenesis

func (m *MockAppModuleBasic) DefaultGenesis(arg0 codec.JSONCodec) json.RawMessage

DefaultGenesis mocks base method.

func (*MockAppModuleBasic) EXPECT

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

func (*MockAppModuleBasic) GetQueryCmd

func (m *MockAppModuleBasic) GetQueryCmd() *cobra.Command

GetQueryCmd mocks base method.

func (*MockAppModuleBasic) GetTxCmd

func (m *MockAppModuleBasic) GetTxCmd() *cobra.Command

GetTxCmd mocks base method.

func (*MockAppModuleBasic) Name

func (m *MockAppModuleBasic) Name() string

Name mocks base method.

func (*MockAppModuleBasic) RegisterGRPCGatewayRoutes

func (m *MockAppModuleBasic) RegisterGRPCGatewayRoutes(arg0 client.Context, arg1 *runtime.ServeMux)

RegisterGRPCGatewayRoutes mocks base method.

func (*MockAppModuleBasic) RegisterInterfaces

func (m *MockAppModuleBasic) RegisterInterfaces(arg0 types.InterfaceRegistry)

RegisterInterfaces mocks base method.

func (*MockAppModuleBasic) RegisterLegacyAminoCodec

func (m *MockAppModuleBasic) RegisterLegacyAminoCodec(arg0 *codec.LegacyAmino)

RegisterLegacyAminoCodec mocks base method.

func (*MockAppModuleBasic) ValidateGenesis

func (m *MockAppModuleBasic) ValidateGenesis(arg0 codec.JSONCodec, arg1 client.TxEncodingConfig, arg2 json.RawMessage) error

ValidateGenesis mocks base method.

type MockAppModuleBasicMockRecorder

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

MockAppModuleBasicMockRecorder is the mock recorder for MockAppModuleBasic.

func (*MockAppModuleBasicMockRecorder) DefaultGenesis

func (mr *MockAppModuleBasicMockRecorder) DefaultGenesis(arg0 interface{}) *gomock.Call

DefaultGenesis indicates an expected call of DefaultGenesis.

func (*MockAppModuleBasicMockRecorder) GetQueryCmd

func (mr *MockAppModuleBasicMockRecorder) GetQueryCmd() *gomock.Call

GetQueryCmd indicates an expected call of GetQueryCmd.

func (*MockAppModuleBasicMockRecorder) GetTxCmd

func (mr *MockAppModuleBasicMockRecorder) GetTxCmd() *gomock.Call

GetTxCmd indicates an expected call of GetTxCmd.

func (*MockAppModuleBasicMockRecorder) Name

Name indicates an expected call of Name.

func (*MockAppModuleBasicMockRecorder) RegisterGRPCGatewayRoutes

func (mr *MockAppModuleBasicMockRecorder) RegisterGRPCGatewayRoutes(arg0, arg1 interface{}) *gomock.Call

RegisterGRPCGatewayRoutes indicates an expected call of RegisterGRPCGatewayRoutes.

func (*MockAppModuleBasicMockRecorder) RegisterInterfaces

func (mr *MockAppModuleBasicMockRecorder) RegisterInterfaces(arg0 interface{}) *gomock.Call

RegisterInterfaces indicates an expected call of RegisterInterfaces.

func (*MockAppModuleBasicMockRecorder) RegisterLegacyAminoCodec

func (mr *MockAppModuleBasicMockRecorder) RegisterLegacyAminoCodec(arg0 interface{}) *gomock.Call

RegisterLegacyAminoCodec indicates an expected call of RegisterLegacyAminoCodec.

func (*MockAppModuleBasicMockRecorder) ValidateGenesis

func (mr *MockAppModuleBasicMockRecorder) ValidateGenesis(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateGenesis indicates an expected call of ValidateGenesis.

type MockAppModuleGenesis

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

MockAppModuleGenesis is a mock of AppModuleGenesis interface.

func NewMockAppModuleGenesis

func NewMockAppModuleGenesis(ctrl *gomock.Controller) *MockAppModuleGenesis

NewMockAppModuleGenesis creates a new mock instance.

func (*MockAppModuleGenesis) DefaultGenesis

func (m *MockAppModuleGenesis) DefaultGenesis(arg0 codec.JSONCodec) json.RawMessage

DefaultGenesis mocks base method.

func (*MockAppModuleGenesis) EXPECT

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

func (*MockAppModuleGenesis) ExportGenesis

func (m *MockAppModuleGenesis) ExportGenesis(arg0 types0.Context, arg1 codec.JSONCodec) json.RawMessage

ExportGenesis mocks base method.

func (*MockAppModuleGenesis) GetQueryCmd

func (m *MockAppModuleGenesis) GetQueryCmd() *cobra.Command

GetQueryCmd mocks base method.

func (*MockAppModuleGenesis) GetTxCmd

func (m *MockAppModuleGenesis) GetTxCmd() *cobra.Command

GetTxCmd mocks base method.

func (*MockAppModuleGenesis) InitGenesis

InitGenesis mocks base method.

func (*MockAppModuleGenesis) Name

func (m *MockAppModuleGenesis) Name() string

Name mocks base method.

func (*MockAppModuleGenesis) RegisterGRPCGatewayRoutes

func (m *MockAppModuleGenesis) RegisterGRPCGatewayRoutes(arg0 client.Context, arg1 *runtime.ServeMux)

RegisterGRPCGatewayRoutes mocks base method.

func (*MockAppModuleGenesis) RegisterInterfaces

func (m *MockAppModuleGenesis) RegisterInterfaces(arg0 types.InterfaceRegistry)

RegisterInterfaces mocks base method.

func (*MockAppModuleGenesis) RegisterLegacyAminoCodec

func (m *MockAppModuleGenesis) RegisterLegacyAminoCodec(arg0 *codec.LegacyAmino)

RegisterLegacyAminoCodec mocks base method.

func (*MockAppModuleGenesis) ValidateGenesis

func (m *MockAppModuleGenesis) ValidateGenesis(arg0 codec.JSONCodec, arg1 client.TxEncodingConfig, arg2 json.RawMessage) error

ValidateGenesis mocks base method.

type MockAppModuleGenesisMockRecorder

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

MockAppModuleGenesisMockRecorder is the mock recorder for MockAppModuleGenesis.

func (*MockAppModuleGenesisMockRecorder) DefaultGenesis

func (mr *MockAppModuleGenesisMockRecorder) DefaultGenesis(arg0 interface{}) *gomock.Call

DefaultGenesis indicates an expected call of DefaultGenesis.

func (*MockAppModuleGenesisMockRecorder) ExportGenesis

func (mr *MockAppModuleGenesisMockRecorder) ExportGenesis(arg0, arg1 interface{}) *gomock.Call

ExportGenesis indicates an expected call of ExportGenesis.

func (*MockAppModuleGenesisMockRecorder) GetQueryCmd

func (mr *MockAppModuleGenesisMockRecorder) GetQueryCmd() *gomock.Call

GetQueryCmd indicates an expected call of GetQueryCmd.

func (*MockAppModuleGenesisMockRecorder) GetTxCmd

GetTxCmd indicates an expected call of GetTxCmd.

func (*MockAppModuleGenesisMockRecorder) InitGenesis

func (mr *MockAppModuleGenesisMockRecorder) InitGenesis(arg0, arg1, arg2 interface{}) *gomock.Call

InitGenesis indicates an expected call of InitGenesis.

func (*MockAppModuleGenesisMockRecorder) Name

Name indicates an expected call of Name.

func (*MockAppModuleGenesisMockRecorder) RegisterGRPCGatewayRoutes

func (mr *MockAppModuleGenesisMockRecorder) RegisterGRPCGatewayRoutes(arg0, arg1 interface{}) *gomock.Call

RegisterGRPCGatewayRoutes indicates an expected call of RegisterGRPCGatewayRoutes.

func (*MockAppModuleGenesisMockRecorder) RegisterInterfaces

func (mr *MockAppModuleGenesisMockRecorder) RegisterInterfaces(arg0 interface{}) *gomock.Call

RegisterInterfaces indicates an expected call of RegisterInterfaces.

func (*MockAppModuleGenesisMockRecorder) RegisterLegacyAminoCodec

func (mr *MockAppModuleGenesisMockRecorder) RegisterLegacyAminoCodec(arg0 interface{}) *gomock.Call

RegisterLegacyAminoCodec indicates an expected call of RegisterLegacyAminoCodec.

func (*MockAppModuleGenesisMockRecorder) ValidateGenesis

func (mr *MockAppModuleGenesisMockRecorder) ValidateGenesis(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateGenesis indicates an expected call of ValidateGenesis.

type MockAppModuleMockRecorder

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

MockAppModuleMockRecorder is the mock recorder for MockAppModule.

func (*MockAppModuleMockRecorder) BeginBlock

func (mr *MockAppModuleMockRecorder) BeginBlock(arg0, arg1 interface{}) *gomock.Call

BeginBlock indicates an expected call of BeginBlock.

func (*MockAppModuleMockRecorder) ConsensusVersion

func (mr *MockAppModuleMockRecorder) ConsensusVersion() *gomock.Call

ConsensusVersion indicates an expected call of ConsensusVersion.

func (*MockAppModuleMockRecorder) DefaultGenesis

func (mr *MockAppModuleMockRecorder) DefaultGenesis(arg0 interface{}) *gomock.Call

DefaultGenesis indicates an expected call of DefaultGenesis.

func (*MockAppModuleMockRecorder) EndBlock

func (mr *MockAppModuleMockRecorder) EndBlock(arg0, arg1 interface{}) *gomock.Call

EndBlock indicates an expected call of EndBlock.

func (*MockAppModuleMockRecorder) ExportGenesis

func (mr *MockAppModuleMockRecorder) ExportGenesis(arg0, arg1 interface{}) *gomock.Call

ExportGenesis indicates an expected call of ExportGenesis.

func (*MockAppModuleMockRecorder) GetQueryCmd

func (mr *MockAppModuleMockRecorder) GetQueryCmd() *gomock.Call

GetQueryCmd indicates an expected call of GetQueryCmd.

func (*MockAppModuleMockRecorder) GetTxCmd

func (mr *MockAppModuleMockRecorder) GetTxCmd() *gomock.Call

GetTxCmd indicates an expected call of GetTxCmd.

func (*MockAppModuleMockRecorder) InitGenesis

func (mr *MockAppModuleMockRecorder) InitGenesis(arg0, arg1, arg2 interface{}) *gomock.Call

InitGenesis indicates an expected call of InitGenesis.

func (*MockAppModuleMockRecorder) LegacyQuerierHandler

func (mr *MockAppModuleMockRecorder) LegacyQuerierHandler(arg0 interface{}) *gomock.Call

LegacyQuerierHandler indicates an expected call of LegacyQuerierHandler.

func (*MockAppModuleMockRecorder) Name

Name indicates an expected call of Name.

func (*MockAppModuleMockRecorder) QuerierRoute

func (mr *MockAppModuleMockRecorder) QuerierRoute() *gomock.Call

QuerierRoute indicates an expected call of QuerierRoute.

func (*MockAppModuleMockRecorder) RegisterGRPCGatewayRoutes

func (mr *MockAppModuleMockRecorder) RegisterGRPCGatewayRoutes(arg0, arg1 interface{}) *gomock.Call

RegisterGRPCGatewayRoutes indicates an expected call of RegisterGRPCGatewayRoutes.

func (*MockAppModuleMockRecorder) RegisterInterfaces

func (mr *MockAppModuleMockRecorder) RegisterInterfaces(arg0 interface{}) *gomock.Call

RegisterInterfaces indicates an expected call of RegisterInterfaces.

func (*MockAppModuleMockRecorder) RegisterInvariants

func (mr *MockAppModuleMockRecorder) RegisterInvariants(arg0 interface{}) *gomock.Call

RegisterInvariants indicates an expected call of RegisterInvariants.

func (*MockAppModuleMockRecorder) RegisterLegacyAminoCodec

func (mr *MockAppModuleMockRecorder) RegisterLegacyAminoCodec(arg0 interface{}) *gomock.Call

RegisterLegacyAminoCodec indicates an expected call of RegisterLegacyAminoCodec.

func (*MockAppModuleMockRecorder) RegisterServices

func (mr *MockAppModuleMockRecorder) RegisterServices(arg0 interface{}) *gomock.Call

RegisterServices indicates an expected call of RegisterServices.

func (*MockAppModuleMockRecorder) Route

func (mr *MockAppModuleMockRecorder) Route() *gomock.Call

Route indicates an expected call of Route.

func (*MockAppModuleMockRecorder) ValidateGenesis

func (mr *MockAppModuleMockRecorder) ValidateGenesis(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateGenesis indicates an expected call of ValidateGenesis.

type MockDB

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

MockDB is a mock of DB interface.

func NewMockDB

func NewMockDB(ctrl *gomock.Controller) *MockDB

NewMockDB creates a new mock instance.

func (*MockDB) Close

func (m *MockDB) Close() error

Close mocks base method.

func (*MockDB) Delete

func (m *MockDB) Delete(arg0 []byte) error

Delete mocks base method.

func (*MockDB) DeleteSync

func (m *MockDB) DeleteSync(arg0 []byte) error

DeleteSync mocks base method.

func (*MockDB) EXPECT

func (m *MockDB) EXPECT() *MockDBMockRecorder

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

func (*MockDB) Get

func (m *MockDB) Get(arg0 []byte) ([]byte, error)

Get mocks base method.

func (*MockDB) Has

func (m *MockDB) Has(arg0 []byte) (bool, error)

Has mocks base method.

func (*MockDB) Iterator

func (m *MockDB) Iterator(arg0, arg1 []byte) (db.Iterator, error)

Iterator mocks base method.

func (*MockDB) NewBatch

func (m *MockDB) NewBatch() db.Batch

NewBatch mocks base method.

func (*MockDB) Print

func (m *MockDB) Print() error

Print mocks base method.

func (*MockDB) ReverseIterator

func (m *MockDB) ReverseIterator(arg0, arg1 []byte) (db.Iterator, error)

ReverseIterator mocks base method.

func (*MockDB) Set

func (m *MockDB) Set(arg0, arg1 []byte) error

Set mocks base method.

func (*MockDB) SetSync

func (m *MockDB) SetSync(arg0, arg1 []byte) error

SetSync mocks base method.

func (*MockDB) Stats

func (m *MockDB) Stats() map[string]string

Stats mocks base method.

type MockDBMockRecorder

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

MockDBMockRecorder is the mock recorder for MockDB.

func (*MockDBMockRecorder) Close

func (mr *MockDBMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockDBMockRecorder) Delete

func (mr *MockDBMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockDBMockRecorder) DeleteSync

func (mr *MockDBMockRecorder) DeleteSync(arg0 interface{}) *gomock.Call

DeleteSync indicates an expected call of DeleteSync.

func (*MockDBMockRecorder) Get

func (mr *MockDBMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockDBMockRecorder) Has

func (mr *MockDBMockRecorder) Has(arg0 interface{}) *gomock.Call

Has indicates an expected call of Has.

func (*MockDBMockRecorder) Iterator

func (mr *MockDBMockRecorder) Iterator(arg0, arg1 interface{}) *gomock.Call

Iterator indicates an expected call of Iterator.

func (*MockDBMockRecorder) NewBatch

func (mr *MockDBMockRecorder) NewBatch() *gomock.Call

NewBatch indicates an expected call of NewBatch.

func (*MockDBMockRecorder) Print

func (mr *MockDBMockRecorder) Print() *gomock.Call

Print indicates an expected call of Print.

func (*MockDBMockRecorder) ReverseIterator

func (mr *MockDBMockRecorder) ReverseIterator(arg0, arg1 interface{}) *gomock.Call

ReverseIterator indicates an expected call of ReverseIterator.

func (*MockDBMockRecorder) Set

func (mr *MockDBMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call

Set indicates an expected call of Set.

func (*MockDBMockRecorder) SetSync

func (mr *MockDBMockRecorder) SetSync(arg0, arg1 interface{}) *gomock.Call

SetSync indicates an expected call of SetSync.

func (*MockDBMockRecorder) Stats

func (mr *MockDBMockRecorder) Stats() *gomock.Call

Stats indicates an expected call of Stats.

type MockInvariantRegistry

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

MockInvariantRegistry is a mock of InvariantRegistry interface.

func NewMockInvariantRegistry

func NewMockInvariantRegistry(ctrl *gomock.Controller) *MockInvariantRegistry

NewMockInvariantRegistry creates a new mock instance.

func (*MockInvariantRegistry) EXPECT

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

func (*MockInvariantRegistry) RegisterRoute

func (m *MockInvariantRegistry) RegisterRoute(moduleName, route string, invar types.Invariant)

RegisterRoute mocks base method.

type MockInvariantRegistryMockRecorder

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

MockInvariantRegistryMockRecorder is the mock recorder for MockInvariantRegistry.

func (*MockInvariantRegistryMockRecorder) RegisterRoute

func (mr *MockInvariantRegistryMockRecorder) RegisterRoute(moduleName, route, invar interface{}) *gomock.Call

RegisterRoute indicates an expected call of RegisterRoute.

type MockLogger

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

MockLogger is a mock of Logger interface.

func NewMockLogger

func NewMockLogger(ctrl *gomock.Controller) *MockLogger

NewMockLogger creates a new mock instance.

func (*MockLogger) Debug

func (m *MockLogger) Debug(arg0 string, arg1 ...interface{})

Debug mocks base method.

func (*MockLogger) EXPECT

func (m *MockLogger) EXPECT() *MockLoggerMockRecorder

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

func (*MockLogger) Error

func (m *MockLogger) Error(arg0 string, arg1 ...interface{})

Error mocks base method.

func (*MockLogger) Info

func (m *MockLogger) Info(arg0 string, arg1 ...interface{})

Info mocks base method.

func (*MockLogger) With

func (m *MockLogger) With(arg0 ...interface{}) log.Logger

With mocks base method.

type MockLoggerMockRecorder

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

MockLoggerMockRecorder is the mock recorder for MockLogger.

func (*MockLoggerMockRecorder) Debug

func (mr *MockLoggerMockRecorder) Debug(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Debug indicates an expected call of Debug.

func (*MockLoggerMockRecorder) Error

func (mr *MockLoggerMockRecorder) Error(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Error indicates an expected call of Error.

func (*MockLoggerMockRecorder) Info

func (mr *MockLoggerMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Info indicates an expected call of Info.

func (*MockLoggerMockRecorder) With

func (mr *MockLoggerMockRecorder) With(arg0 ...interface{}) *gomock.Call

With indicates an expected call of With.

type MockQueryRouter

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

MockQueryRouter is a mock of QueryRouter interface.

func NewMockQueryRouter

func NewMockQueryRouter(ctrl *gomock.Controller) *MockQueryRouter

NewMockQueryRouter creates a new mock instance.

func (*MockQueryRouter) AddRoute

AddRoute mocks base method.

func (*MockQueryRouter) EXPECT

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

func (*MockQueryRouter) Route

func (m *MockQueryRouter) Route(path string) types.Querier

Route mocks base method.

type MockQueryRouterMockRecorder

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

MockQueryRouterMockRecorder is the mock recorder for MockQueryRouter.

func (*MockQueryRouterMockRecorder) AddRoute

func (mr *MockQueryRouterMockRecorder) AddRoute(r, h interface{}) *gomock.Call

AddRoute indicates an expected call of AddRoute.

func (*MockQueryRouterMockRecorder) Route

func (mr *MockQueryRouterMockRecorder) Route(path interface{}) *gomock.Call

Route indicates an expected call of Route.

type MockRouter

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

MockRouter is a mock of Router interface.

func NewMockRouter

func NewMockRouter(ctrl *gomock.Controller) *MockRouter

NewMockRouter creates a new mock instance.

func (*MockRouter) AddRoute

func (m *MockRouter) AddRoute(r types.Route) types.Router

AddRoute mocks base method.

func (*MockRouter) EXPECT

func (m *MockRouter) EXPECT() *MockRouterMockRecorder

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

func (*MockRouter) Route

func (m *MockRouter) Route(ctx types.Context, path string) types.Handler

Route mocks base method.

type MockRouterMockRecorder

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

MockRouterMockRecorder is the mock recorder for MockRouter.

func (*MockRouterMockRecorder) AddRoute

func (mr *MockRouterMockRecorder) AddRoute(r interface{}) *gomock.Call

AddRoute indicates an expected call of AddRoute.

func (*MockRouterMockRecorder) Route

func (mr *MockRouterMockRecorder) Route(ctx, path interface{}) *gomock.Call

Route indicates an expected call of Route.

type MockServer

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

MockServer is a mock of Server interface.

func NewMockServer

func NewMockServer(ctrl *gomock.Controller) *MockServer

NewMockServer creates a new mock instance.

func (*MockServer) EXPECT

func (m *MockServer) EXPECT() *MockServerMockRecorder

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

func (*MockServer) RegisterService

func (m *MockServer) RegisterService(arg0 *grpc.ServiceDesc, arg1 interface{})

RegisterService mocks base method.

type MockServerMockRecorder

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

MockServerMockRecorder is the mock recorder for MockServer.

func (*MockServerMockRecorder) RegisterService

func (mr *MockServerMockRecorder) RegisterService(arg0, arg1 interface{}) *gomock.Call

RegisterService indicates an expected call of RegisterService.

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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