Documentation ¶
Overview ¶
Package mock_figmentclient is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Close()
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetAccountByAddressAndHeight(arg0 context.Context, arg1 string, arg2 int64) (*figmentclient.AccountInfo, error)
- func (m *MockClient) GetBlockByHeight(arg0 context.Context, arg1 int64) (*figmentclient.Block, error)
- func (m *MockClient) GetChainParams(arg0 context.Context) (*figmentclient.ChainParams, error)
- func (m *MockClient) GetChainStatus(arg0 context.Context) (*figmentclient.ChainStatus, error)
- func (m *MockClient) GetIdentityByHeight(arg0 context.Context, arg1 string, arg2 int64) (*figmentclient.Identity, error)
- func (m *MockClient) GetMetaByHeight(arg0 context.Context, arg1 int64) (*figmentclient.HeightMeta, error)
- func (m *MockClient) GetName() string
- func (m *MockClient) GetRequestCounter() client.RequestCounter
- func (m *MockClient) GetTransactionsByHeight(arg0 context.Context, arg1 int64) ([]*figmentclient.Transaction, error)
- func (m *MockClient) GetValidatorGroupsByHeight(arg0 context.Context, arg1 int64) ([]*figmentclient.ValidatorGroup, error)
- func (m *MockClient) GetValidatorsByHeight(arg0 context.Context, arg1 int64) ([]*figmentclient.Validator, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Close() *gomock.Call
- func (mr *MockClientMockRecorder) GetAccountByAddressAndHeight(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetBlockByHeight(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetChainParams(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetChainStatus(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetIdentityByHeight(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetMetaByHeight(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetName() *gomock.Call
- func (mr *MockClientMockRecorder) GetRequestCounter() *gomock.Call
- func (mr *MockClientMockRecorder) GetTransactionsByHeight(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetValidatorGroupsByHeight(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetValidatorsByHeight(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) GetAccountByAddressAndHeight ¶
func (m *MockClient) GetAccountByAddressAndHeight(arg0 context.Context, arg1 string, arg2 int64) (*figmentclient.AccountInfo, error)
GetAccountByAddressAndHeight mocks base method
func (*MockClient) GetBlockByHeight ¶
func (m *MockClient) GetBlockByHeight(arg0 context.Context, arg1 int64) (*figmentclient.Block, error)
GetBlockByHeight mocks base method
func (*MockClient) GetChainParams ¶
func (m *MockClient) GetChainParams(arg0 context.Context) (*figmentclient.ChainParams, error)
GetChainParams mocks base method
func (*MockClient) GetChainStatus ¶
func (m *MockClient) GetChainStatus(arg0 context.Context) (*figmentclient.ChainStatus, error)
GetChainStatus mocks base method
func (*MockClient) GetIdentityByHeight ¶
func (m *MockClient) GetIdentityByHeight(arg0 context.Context, arg1 string, arg2 int64) (*figmentclient.Identity, error)
GetIdentityByHeight mocks base method
func (*MockClient) GetMetaByHeight ¶
func (m *MockClient) GetMetaByHeight(arg0 context.Context, arg1 int64) (*figmentclient.HeightMeta, error)
GetMetaByHeight mocks base method
func (*MockClient) GetRequestCounter ¶
func (m *MockClient) GetRequestCounter() client.RequestCounter
GetRequestCounter mocks base method
func (*MockClient) GetTransactionsByHeight ¶
func (m *MockClient) GetTransactionsByHeight(arg0 context.Context, arg1 int64) ([]*figmentclient.Transaction, error)
GetTransactionsByHeight mocks base method
func (*MockClient) GetValidatorGroupsByHeight ¶
func (m *MockClient) GetValidatorGroupsByHeight(arg0 context.Context, arg1 int64) ([]*figmentclient.ValidatorGroup, error)
GetValidatorGroupsByHeight mocks base method
func (*MockClient) GetValidatorsByHeight ¶
func (m *MockClient) GetValidatorsByHeight(arg0 context.Context, arg1 int64) ([]*figmentclient.Validator, error)
GetValidatorsByHeight mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) Close ¶
func (mr *MockClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockClientMockRecorder) GetAccountByAddressAndHeight ¶
func (mr *MockClientMockRecorder) GetAccountByAddressAndHeight(arg0, arg1, arg2 interface{}) *gomock.Call
GetAccountByAddressAndHeight indicates an expected call of GetAccountByAddressAndHeight
func (*MockClientMockRecorder) GetBlockByHeight ¶
func (mr *MockClientMockRecorder) GetBlockByHeight(arg0, arg1 interface{}) *gomock.Call
GetBlockByHeight indicates an expected call of GetBlockByHeight
func (*MockClientMockRecorder) GetChainParams ¶
func (mr *MockClientMockRecorder) GetChainParams(arg0 interface{}) *gomock.Call
GetChainParams indicates an expected call of GetChainParams
func (*MockClientMockRecorder) GetChainStatus ¶
func (mr *MockClientMockRecorder) GetChainStatus(arg0 interface{}) *gomock.Call
GetChainStatus indicates an expected call of GetChainStatus
func (*MockClientMockRecorder) GetIdentityByHeight ¶
func (mr *MockClientMockRecorder) GetIdentityByHeight(arg0, arg1, arg2 interface{}) *gomock.Call
GetIdentityByHeight indicates an expected call of GetIdentityByHeight
func (*MockClientMockRecorder) GetMetaByHeight ¶
func (mr *MockClientMockRecorder) GetMetaByHeight(arg0, arg1 interface{}) *gomock.Call
GetMetaByHeight indicates an expected call of GetMetaByHeight
func (*MockClientMockRecorder) GetName ¶
func (mr *MockClientMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName
func (*MockClientMockRecorder) GetRequestCounter ¶
func (mr *MockClientMockRecorder) GetRequestCounter() *gomock.Call
GetRequestCounter indicates an expected call of GetRequestCounter
func (*MockClientMockRecorder) GetTransactionsByHeight ¶
func (mr *MockClientMockRecorder) GetTransactionsByHeight(arg0, arg1 interface{}) *gomock.Call
GetTransactionsByHeight indicates an expected call of GetTransactionsByHeight
func (*MockClientMockRecorder) GetValidatorGroupsByHeight ¶
func (mr *MockClientMockRecorder) GetValidatorGroupsByHeight(arg0, arg1 interface{}) *gomock.Call
GetValidatorGroupsByHeight indicates an expected call of GetValidatorGroupsByHeight
func (*MockClientMockRecorder) GetValidatorsByHeight ¶
func (mr *MockClientMockRecorder) GetValidatorsByHeight(arg0, arg1 interface{}) *gomock.Call
GetValidatorsByHeight indicates an expected call of GetValidatorsByHeight