Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockCoreClient
- func (m *MockCoreClient) CheckTransaction(arg0 context.Context, arg1 *v1.CheckTransactionRequest, ...) (*v1.CheckTransactionResponse, error)
- func (m *MockCoreClient) EXPECT() *MockCoreClientMockRecorder
- func (m *MockCoreClient) GetVegaTime(arg0 context.Context, arg1 *v1.GetVegaTimeRequest, arg2 ...grpc.CallOption) (*v1.GetVegaTimeResponse, error)
- func (m *MockCoreClient) Host() string
- func (m *MockCoreClient) LastBlockHeight(arg0 context.Context, arg1 *v1.LastBlockHeightRequest, arg2 ...grpc.CallOption) (*v1.LastBlockHeightResponse, error)
- func (m *MockCoreClient) Stop() error
- func (m *MockCoreClient) SubmitTransaction(arg0 context.Context, arg1 *v1.SubmitTransactionRequest, ...) (*v1.SubmitTransactionResponse, error)
- type MockCoreClientMockRecorder
- func (mr *MockCoreClientMockRecorder) CheckTransaction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCoreClientMockRecorder) GetVegaTime(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCoreClientMockRecorder) Host() *gomock.Call
- func (mr *MockCoreClientMockRecorder) LastBlockHeight(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCoreClientMockRecorder) Stop() *gomock.Call
- func (mr *MockCoreClientMockRecorder) SubmitTransaction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCoreClient ¶
type MockCoreClient struct {
// contains filtered or unexported fields
}
MockCoreClient is a mock of CoreClient interface.
func NewMockCoreClient ¶
func NewMockCoreClient(ctrl *gomock.Controller) *MockCoreClient
NewMockCoreClient creates a new mock instance.
func (*MockCoreClient) CheckTransaction ¶
func (m *MockCoreClient) CheckTransaction(arg0 context.Context, arg1 *v1.CheckTransactionRequest, arg2 ...grpc.CallOption) (*v1.CheckTransactionResponse, error)
CheckTransaction mocks base method.
func (*MockCoreClient) EXPECT ¶
func (m *MockCoreClient) EXPECT() *MockCoreClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCoreClient) GetVegaTime ¶
func (m *MockCoreClient) GetVegaTime(arg0 context.Context, arg1 *v1.GetVegaTimeRequest, arg2 ...grpc.CallOption) (*v1.GetVegaTimeResponse, error)
GetVegaTime mocks base method.
func (*MockCoreClient) LastBlockHeight ¶
func (m *MockCoreClient) LastBlockHeight(arg0 context.Context, arg1 *v1.LastBlockHeightRequest, arg2 ...grpc.CallOption) (*v1.LastBlockHeightResponse, error)
LastBlockHeight mocks base method.
func (*MockCoreClient) SubmitTransaction ¶
func (m *MockCoreClient) SubmitTransaction(arg0 context.Context, arg1 *v1.SubmitTransactionRequest, arg2 ...grpc.CallOption) (*v1.SubmitTransactionResponse, error)
SubmitTransaction mocks base method.
type MockCoreClientMockRecorder ¶
type MockCoreClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCoreClientMockRecorder is the mock recorder for MockCoreClient.
func (*MockCoreClientMockRecorder) CheckTransaction ¶
func (mr *MockCoreClientMockRecorder) CheckTransaction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CheckTransaction indicates an expected call of CheckTransaction.
func (*MockCoreClientMockRecorder) GetVegaTime ¶
func (mr *MockCoreClientMockRecorder) GetVegaTime(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetVegaTime indicates an expected call of GetVegaTime.
func (*MockCoreClientMockRecorder) Host ¶
func (mr *MockCoreClientMockRecorder) Host() *gomock.Call
Host indicates an expected call of Host.
func (*MockCoreClientMockRecorder) LastBlockHeight ¶
func (mr *MockCoreClientMockRecorder) LastBlockHeight(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
LastBlockHeight indicates an expected call of LastBlockHeight.
func (*MockCoreClientMockRecorder) Stop ¶
func (mr *MockCoreClientMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
func (*MockCoreClientMockRecorder) SubmitTransaction ¶
func (mr *MockCoreClientMockRecorder) SubmitTransaction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SubmitTransaction indicates an expected call of SubmitTransaction.