Documentation
¶
Overview ¶
Package mock_gremcos is a generated GoMock package.
Index ¶
- type MockCosmos
- func (m *MockCosmos) EXPECT() *MockCosmosMockRecorder
- func (m *MockCosmos) Execute(query string) ([]interfaces.Response, error)
- func (m *MockCosmos) ExecuteAsync(query string, responseChannel chan interfaces.AsyncResponse) error
- func (m *MockCosmos) ExecuteQuery(query interfaces.QueryBuilder) ([]interfaces.Response, error)
- func (m *MockCosmos) ExecuteWithBindings(path string, bindings, rebindings map[string]interface{}) ([]interfaces.Response, error)
- func (m *MockCosmos) IsConnected() bool
- func (m *MockCosmos) IsHealthy() error
- func (m *MockCosmos) Stop() error
- func (m *MockCosmos) String() string
- type MockCosmosMockRecorder
- func (mr *MockCosmosMockRecorder) Execute(query interface{}) *gomock.Call
- func (mr *MockCosmosMockRecorder) ExecuteAsync(query, responseChannel interface{}) *gomock.Call
- func (mr *MockCosmosMockRecorder) ExecuteQuery(query interface{}) *gomock.Call
- func (mr *MockCosmosMockRecorder) ExecuteWithBindings(path, bindings, rebindings interface{}) *gomock.Call
- func (mr *MockCosmosMockRecorder) IsConnected() *gomock.Call
- func (mr *MockCosmosMockRecorder) IsHealthy() *gomock.Call
- func (mr *MockCosmosMockRecorder) Stop() *gomock.Call
- func (mr *MockCosmosMockRecorder) String() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCosmos ¶
type MockCosmos struct {
// contains filtered or unexported fields
}
MockCosmos is a mock of Cosmos interface.
func NewMockCosmos ¶
func NewMockCosmos(ctrl *gomock.Controller) *MockCosmos
NewMockCosmos creates a new mock instance.
func (*MockCosmos) EXPECT ¶
func (m *MockCosmos) EXPECT() *MockCosmosMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCosmos) Execute ¶
func (m *MockCosmos) Execute(query string) ([]interfaces.Response, error)
Execute mocks base method.
func (*MockCosmos) ExecuteAsync ¶
func (m *MockCosmos) ExecuteAsync(query string, responseChannel chan interfaces.AsyncResponse) error
ExecuteAsync mocks base method.
func (*MockCosmos) ExecuteQuery ¶
func (m *MockCosmos) ExecuteQuery(query interfaces.QueryBuilder) ([]interfaces.Response, error)
ExecuteQuery mocks base method.
func (*MockCosmos) ExecuteWithBindings ¶ added in v0.1.12
func (m *MockCosmos) ExecuteWithBindings(path string, bindings, rebindings map[string]interface{}) ([]interfaces.Response, error)
ExecuteWithBindings mocks base method.
func (*MockCosmos) IsConnected ¶
func (m *MockCosmos) IsConnected() bool
IsConnected mocks base method.
type MockCosmosMockRecorder ¶
type MockCosmosMockRecorder struct {
// contains filtered or unexported fields
}
MockCosmosMockRecorder is the mock recorder for MockCosmos.
func (*MockCosmosMockRecorder) Execute ¶
func (mr *MockCosmosMockRecorder) Execute(query interface{}) *gomock.Call
Execute indicates an expected call of Execute.
func (*MockCosmosMockRecorder) ExecuteAsync ¶
func (mr *MockCosmosMockRecorder) ExecuteAsync(query, responseChannel interface{}) *gomock.Call
ExecuteAsync indicates an expected call of ExecuteAsync.
func (*MockCosmosMockRecorder) ExecuteQuery ¶
func (mr *MockCosmosMockRecorder) ExecuteQuery(query interface{}) *gomock.Call
ExecuteQuery indicates an expected call of ExecuteQuery.
func (*MockCosmosMockRecorder) ExecuteWithBindings ¶ added in v0.1.12
func (mr *MockCosmosMockRecorder) ExecuteWithBindings(path, bindings, rebindings interface{}) *gomock.Call
ExecuteWithBindings indicates an expected call of ExecuteWithBindings.
func (*MockCosmosMockRecorder) IsConnected ¶
func (mr *MockCosmosMockRecorder) IsConnected() *gomock.Call
IsConnected indicates an expected call of IsConnected.
func (*MockCosmosMockRecorder) IsHealthy ¶
func (mr *MockCosmosMockRecorder) IsHealthy() *gomock.Call
IsHealthy indicates an expected call of IsHealthy.
func (*MockCosmosMockRecorder) Stop ¶
func (mr *MockCosmosMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
func (*MockCosmosMockRecorder) String ¶
func (mr *MockCosmosMockRecorder) String() *gomock.Call
String indicates an expected call of String.