Documentation ¶
Overview ¶
Package testutil is a generated GoMock package.
Index ¶
- type MockBothanClient
- func (m *MockBothanClient) EXPECT() *MockBothanClientMockRecorder
- func (m *MockBothanClient) GetInfo() (*proto.GetInfoResponse, error)
- func (m *MockBothanClient) GetPrices(signalIDs []string) (*proto.GetPricesResponse, error)
- func (m *MockBothanClient) PushMonitoringRecords(uuid, txHash string) error
- func (m *MockBothanClient) UpdateRegistry(ipfsHash, version string) error
- type MockBothanClientMockRecorder
- func (mr *MockBothanClientMockRecorder) GetInfo() *gomock.Call
- func (mr *MockBothanClientMockRecorder) GetPrices(signalIDs any) *gomock.Call
- func (mr *MockBothanClientMockRecorder) PushMonitoringRecords(uuid, txHash any) *gomock.Call
- func (mr *MockBothanClientMockRecorder) UpdateRegistry(ipfsHash, version any) *gomock.Call
- type MockFeedQuerier
- func (m *MockFeedQuerier) EXPECT() *MockFeedQuerierMockRecorder
- func (m *MockFeedQuerier) QueryCurrentFeeds() (*types.QueryCurrentFeedsResponse, error)
- func (m *MockFeedQuerier) QueryParams() (*types.QueryParamsResponse, error)
- func (m *MockFeedQuerier) QueryValidValidator(valAddress types0.ValAddress) (*types.QueryValidValidatorResponse, error)
- func (m *MockFeedQuerier) QueryValidatorPrices(valAddress types0.ValAddress) (*types.QueryValidatorPricesResponse, error)
- type MockFeedQuerierMockRecorder
- func (mr *MockFeedQuerierMockRecorder) QueryCurrentFeeds() *gomock.Call
- func (mr *MockFeedQuerierMockRecorder) QueryParams() *gomock.Call
- func (mr *MockFeedQuerierMockRecorder) QueryValidValidator(valAddress any) *gomock.Call
- func (mr *MockFeedQuerierMockRecorder) QueryValidatorPrices(valAddress any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBothanClient ¶
type MockBothanClient struct {
// contains filtered or unexported fields
}
MockBothanClient is a mock of BothanClient interface.
func NewMockBothanClient ¶
func NewMockBothanClient(ctrl *gomock.Controller) *MockBothanClient
NewMockBothanClient creates a new mock instance.
func (*MockBothanClient) EXPECT ¶
func (m *MockBothanClient) EXPECT() *MockBothanClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBothanClient) GetInfo ¶
func (m *MockBothanClient) GetInfo() (*proto.GetInfoResponse, error)
GetInfo mocks base method.
func (*MockBothanClient) GetPrices ¶
func (m *MockBothanClient) GetPrices(signalIDs []string) (*proto.GetPricesResponse, error)
GetPrices mocks base method.
func (*MockBothanClient) PushMonitoringRecords ¶
func (m *MockBothanClient) PushMonitoringRecords(uuid, txHash string) error
PushMonitoringRecords mocks base method.
func (*MockBothanClient) UpdateRegistry ¶
func (m *MockBothanClient) UpdateRegistry(ipfsHash, version string) error
UpdateRegistry mocks base method.
type MockBothanClientMockRecorder ¶
type MockBothanClientMockRecorder struct {
// contains filtered or unexported fields
}
MockBothanClientMockRecorder is the mock recorder for MockBothanClient.
func (*MockBothanClientMockRecorder) GetInfo ¶
func (mr *MockBothanClientMockRecorder) GetInfo() *gomock.Call
GetInfo indicates an expected call of GetInfo.
func (*MockBothanClientMockRecorder) GetPrices ¶
func (mr *MockBothanClientMockRecorder) GetPrices(signalIDs any) *gomock.Call
GetPrices indicates an expected call of GetPrices.
func (*MockBothanClientMockRecorder) PushMonitoringRecords ¶
func (mr *MockBothanClientMockRecorder) PushMonitoringRecords(uuid, txHash any) *gomock.Call
PushMonitoringRecords indicates an expected call of PushMonitoringRecords.
func (*MockBothanClientMockRecorder) UpdateRegistry ¶
func (mr *MockBothanClientMockRecorder) UpdateRegistry(ipfsHash, version any) *gomock.Call
UpdateRegistry indicates an expected call of UpdateRegistry.
type MockFeedQuerier ¶
type MockFeedQuerier struct {
// contains filtered or unexported fields
}
MockFeedQuerier is a mock of FeedQuerier interface.
func NewMockFeedQuerier ¶
func NewMockFeedQuerier(ctrl *gomock.Controller) *MockFeedQuerier
NewMockFeedQuerier creates a new mock instance.
func (*MockFeedQuerier) EXPECT ¶
func (m *MockFeedQuerier) EXPECT() *MockFeedQuerierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFeedQuerier) QueryCurrentFeeds ¶
func (m *MockFeedQuerier) QueryCurrentFeeds() (*types.QueryCurrentFeedsResponse, error)
QueryCurrentFeeds mocks base method.
func (*MockFeedQuerier) QueryParams ¶
func (m *MockFeedQuerier) QueryParams() (*types.QueryParamsResponse, error)
QueryParams mocks base method.
func (*MockFeedQuerier) QueryValidValidator ¶
func (m *MockFeedQuerier) QueryValidValidator(valAddress types0.ValAddress) (*types.QueryValidValidatorResponse, error)
QueryValidValidator mocks base method.
func (*MockFeedQuerier) QueryValidatorPrices ¶
func (m *MockFeedQuerier) QueryValidatorPrices(valAddress types0.ValAddress) (*types.QueryValidatorPricesResponse, error)
QueryValidatorPrices mocks base method.
type MockFeedQuerierMockRecorder ¶
type MockFeedQuerierMockRecorder struct {
// contains filtered or unexported fields
}
MockFeedQuerierMockRecorder is the mock recorder for MockFeedQuerier.
func (*MockFeedQuerierMockRecorder) QueryCurrentFeeds ¶
func (mr *MockFeedQuerierMockRecorder) QueryCurrentFeeds() *gomock.Call
QueryCurrentFeeds indicates an expected call of QueryCurrentFeeds.
func (*MockFeedQuerierMockRecorder) QueryParams ¶
func (mr *MockFeedQuerierMockRecorder) QueryParams() *gomock.Call
QueryParams indicates an expected call of QueryParams.
func (*MockFeedQuerierMockRecorder) QueryValidValidator ¶
func (mr *MockFeedQuerierMockRecorder) QueryValidValidator(valAddress any) *gomock.Call
QueryValidValidator indicates an expected call of QueryValidValidator.
func (*MockFeedQuerierMockRecorder) QueryValidatorPrices ¶
func (mr *MockFeedQuerierMockRecorder) QueryValidatorPrices(valAddress any) *gomock.Call
QueryValidatorPrices indicates an expected call of QueryValidatorPrices.