Documentation
¶
Overview ¶
Package mock_types is a generated GoMock package.
Package mock_types is a generated GoMock package.
Package mock_types is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEventStream ¶
type MockEventStream struct {
// contains filtered or unexported fields
}
MockEventStream is a mock of EventStream interface.
func NewMockEventStream ¶
func NewMockEventStream(ctrl *gomock.Controller) *MockEventStream
NewMockEventStream creates a new mock instance.
func (*MockEventStream) EXPECT ¶
func (m *MockEventStream) EXPECT() *MockEventStreamMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventStream) ParamsUpdate ¶
func (m *MockEventStream) ParamsUpdate() <-chan types.Params
ParamsUpdate mocks base method.
func (*MockEventStream) VotingPeriodStarted ¶
func (m *MockEventStream) VotingPeriodStarted() <-chan types.VotingPeriod
VotingPeriodStarted mocks base method.
type MockEventStreamMockRecorder ¶
type MockEventStreamMockRecorder struct {
// contains filtered or unexported fields
}
MockEventStreamMockRecorder is the mock recorder for MockEventStream.
func (*MockEventStreamMockRecorder) Close ¶
func (mr *MockEventStreamMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockEventStreamMockRecorder) ParamsUpdate ¶
func (mr *MockEventStreamMockRecorder) ParamsUpdate() *gomock.Call
ParamsUpdate indicates an expected call of ParamsUpdate.
func (*MockEventStreamMockRecorder) VotingPeriodStarted ¶
func (mr *MockEventStreamMockRecorder) VotingPeriodStarted() *gomock.Call
VotingPeriodStarted indicates an expected call of VotingPeriodStarted.
type MockPricePoster ¶
type MockPricePoster struct {
// contains filtered or unexported fields
}
MockPricePoster is a mock of PricePoster interface.
func NewMockPricePoster ¶
func NewMockPricePoster(ctrl *gomock.Controller) *MockPricePoster
NewMockPricePoster creates a new mock instance.
func (*MockPricePoster) EXPECT ¶
func (m *MockPricePoster) EXPECT() *MockPricePosterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPricePoster) SendPrices ¶
func (m *MockPricePoster) SendPrices(arg0 types.VotingPeriod, arg1 []types.Price)
SendPrices mocks base method.
func (*MockPricePoster) Whoami ¶
func (m *MockPricePoster) Whoami() types0.ValAddress
Whoami mocks base method.
type MockPricePosterMockRecorder ¶
type MockPricePosterMockRecorder struct {
// contains filtered or unexported fields
}
MockPricePosterMockRecorder is the mock recorder for MockPricePoster.
func (*MockPricePosterMockRecorder) Close ¶
func (mr *MockPricePosterMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockPricePosterMockRecorder) SendPrices ¶
func (mr *MockPricePosterMockRecorder) SendPrices(arg0, arg1 interface{}) *gomock.Call
SendPrices indicates an expected call of SendPrices.
func (*MockPricePosterMockRecorder) Whoami ¶
func (mr *MockPricePosterMockRecorder) Whoami() *gomock.Call
Whoami indicates an expected call of Whoami.
type MockPriceProvider ¶
type MockPriceProvider struct {
// contains filtered or unexported fields
}
MockPriceProvider is a mock of PriceProvider interface.
func NewMockPriceProvider ¶
func NewMockPriceProvider(ctrl *gomock.Controller) *MockPriceProvider
NewMockPriceProvider creates a new mock instance.
func (*MockPriceProvider) EXPECT ¶
func (m *MockPriceProvider) EXPECT() *MockPriceProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPriceProviderMockRecorder ¶
type MockPriceProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockPriceProviderMockRecorder is the mock recorder for MockPriceProvider.
func (*MockPriceProviderMockRecorder) Close ¶
func (mr *MockPriceProviderMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockPriceProviderMockRecorder) GetPrice ¶
func (mr *MockPriceProviderMockRecorder) GetPrice(arg0 interface{}) *gomock.Call
GetPrice indicates an expected call of GetPrice.