Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockSqliteOGClient
- func (m *MockSqliteOGClient) Callback(arg0 context.Context, arg1 ...grpc.CallOption) (sqlite_og.SqliteOG_CallbackClient, error)
- func (m *MockSqliteOGClient) Close(arg0 context.Context, arg1 *sqlite_og.ConnectionId, arg2 ...grpc.CallOption) (*sqlite_og.Empty, error)
- func (m *MockSqliteOGClient) Connection(arg0 context.Context, arg1 *sqlite_og.ConnectionRequest, ...) (*sqlite_og.ConnectionId, error)
- func (m *MockSqliteOGClient) EXPECT() *MockSqliteOGClientMockRecorder
- func (m *MockSqliteOGClient) Execute(arg0 context.Context, arg1 *sqlite_og.Statement, arg2 ...grpc.CallOption) (*sqlite_og.ExecuteResult, error)
- func (m *MockSqliteOGClient) ExecuteOrQuery(arg0 context.Context, arg1 *sqlite_og.Statement, arg2 ...grpc.CallOption) (*sqlite_og.ExecuteOrQueryResult, error)
- func (m *MockSqliteOGClient) IsValid(arg0 context.Context, arg1 *sqlite_og.ConnectionId, arg2 ...grpc.CallOption) (*sqlite_og.Empty, error)
- func (m *MockSqliteOGClient) Ping(arg0 context.Context, arg1 *sqlite_og.Empty, arg2 ...grpc.CallOption) (*sqlite_og.Empty, error)
- func (m *MockSqliteOGClient) Query(arg0 context.Context, arg1 *sqlite_og.Statement, arg2 ...grpc.CallOption) (*sqlite_og.QueryResult, error)
- func (m *MockSqliteOGClient) ResetSession(arg0 context.Context, arg1 *sqlite_og.ConnectionId, arg2 ...grpc.CallOption) (*sqlite_og.ConnectionId, error)
- type MockSqliteOGClientMockRecorder
- func (mr *MockSqliteOGClientMockRecorder) Callback(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockSqliteOGClientMockRecorder) Close(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSqliteOGClientMockRecorder) Connection(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSqliteOGClientMockRecorder) Execute(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSqliteOGClientMockRecorder) ExecuteOrQuery(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSqliteOGClientMockRecorder) IsValid(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSqliteOGClientMockRecorder) Ping(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSqliteOGClientMockRecorder) Query(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSqliteOGClientMockRecorder) ResetSession(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSqliteOGClient ¶
type MockSqliteOGClient struct {
// contains filtered or unexported fields
}
MockSqliteOGClient is a mock of SqliteOGClient interface.
func NewMockSqliteOGClient ¶
func NewMockSqliteOGClient(ctrl *gomock.Controller) *MockSqliteOGClient
NewMockSqliteOGClient creates a new mock instance.
func (*MockSqliteOGClient) Callback ¶
func (m *MockSqliteOGClient) Callback(arg0 context.Context, arg1 ...grpc.CallOption) (sqlite_og.SqliteOG_CallbackClient, error)
Callback mocks base method.
func (*MockSqliteOGClient) Close ¶
func (m *MockSqliteOGClient) Close(arg0 context.Context, arg1 *sqlite_og.ConnectionId, arg2 ...grpc.CallOption) (*sqlite_og.Empty, error)
Close mocks base method.
func (*MockSqliteOGClient) Connection ¶
func (m *MockSqliteOGClient) Connection(arg0 context.Context, arg1 *sqlite_og.ConnectionRequest, arg2 ...grpc.CallOption) (*sqlite_og.ConnectionId, error)
Connection mocks base method.
func (*MockSqliteOGClient) EXPECT ¶
func (m *MockSqliteOGClient) EXPECT() *MockSqliteOGClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSqliteOGClient) Execute ¶
func (m *MockSqliteOGClient) Execute(arg0 context.Context, arg1 *sqlite_og.Statement, arg2 ...grpc.CallOption) (*sqlite_og.ExecuteResult, error)
Execute mocks base method.
func (*MockSqliteOGClient) ExecuteOrQuery ¶
func (m *MockSqliteOGClient) ExecuteOrQuery(arg0 context.Context, arg1 *sqlite_og.Statement, arg2 ...grpc.CallOption) (*sqlite_og.ExecuteOrQueryResult, error)
ExecuteOrQuery mocks base method.
func (*MockSqliteOGClient) IsValid ¶
func (m *MockSqliteOGClient) IsValid(arg0 context.Context, arg1 *sqlite_og.ConnectionId, arg2 ...grpc.CallOption) (*sqlite_og.Empty, error)
IsValid mocks base method.
func (*MockSqliteOGClient) Ping ¶
func (m *MockSqliteOGClient) Ping(arg0 context.Context, arg1 *sqlite_og.Empty, arg2 ...grpc.CallOption) (*sqlite_og.Empty, error)
Ping mocks base method.
func (*MockSqliteOGClient) Query ¶
func (m *MockSqliteOGClient) Query(arg0 context.Context, arg1 *sqlite_og.Statement, arg2 ...grpc.CallOption) (*sqlite_og.QueryResult, error)
Query mocks base method.
func (*MockSqliteOGClient) ResetSession ¶
func (m *MockSqliteOGClient) ResetSession(arg0 context.Context, arg1 *sqlite_og.ConnectionId, arg2 ...grpc.CallOption) (*sqlite_og.ConnectionId, error)
ResetSession mocks base method.
type MockSqliteOGClientMockRecorder ¶
type MockSqliteOGClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSqliteOGClientMockRecorder is the mock recorder for MockSqliteOGClient.
func (*MockSqliteOGClientMockRecorder) Callback ¶
func (mr *MockSqliteOGClientMockRecorder) Callback(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Callback indicates an expected call of Callback.
func (*MockSqliteOGClientMockRecorder) Close ¶
func (mr *MockSqliteOGClientMockRecorder) Close(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Close indicates an expected call of Close.
func (*MockSqliteOGClientMockRecorder) Connection ¶
func (mr *MockSqliteOGClientMockRecorder) Connection(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Connection indicates an expected call of Connection.
func (*MockSqliteOGClientMockRecorder) Execute ¶
func (mr *MockSqliteOGClientMockRecorder) Execute(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Execute indicates an expected call of Execute.
func (*MockSqliteOGClientMockRecorder) ExecuteOrQuery ¶
func (mr *MockSqliteOGClientMockRecorder) ExecuteOrQuery(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ExecuteOrQuery indicates an expected call of ExecuteOrQuery.
func (*MockSqliteOGClientMockRecorder) IsValid ¶
func (mr *MockSqliteOGClientMockRecorder) IsValid(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
IsValid indicates an expected call of IsValid.
func (*MockSqliteOGClientMockRecorder) Ping ¶
func (mr *MockSqliteOGClientMockRecorder) Ping(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Ping indicates an expected call of Ping.
func (*MockSqliteOGClientMockRecorder) Query ¶
func (mr *MockSqliteOGClientMockRecorder) Query(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Query indicates an expected call of Query.
func (*MockSqliteOGClientMockRecorder) ResetSession ¶
func (mr *MockSqliteOGClientMockRecorder) ResetSession(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ResetSession indicates an expected call of ResetSession.