Documentation ¶
Index ¶
- type ElasticSearch
- type ElasticSearch_Expecter
- type ElasticSearch_Search_Call
- func (_c *ElasticSearch_Search_Call) Return(_a0 error) *ElasticSearch_Search_Call
- func (_c *ElasticSearch_Search_Call) Run(run func(ctx context.Context, query interface{}, result interface{})) *ElasticSearch_Search_Call
- func (_c *ElasticSearch_Search_Call) RunAndReturn(run func(context.Context, interface{}, interface{}) error) *ElasticSearch_Search_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElasticSearch ¶
ElasticSearch is an autogenerated mock type for the ElasticSearch type
func NewElasticSearch ¶
func NewElasticSearch(t mockConstructorTestingTNewElasticSearch) *ElasticSearch
NewElasticSearch creates a new instance of ElasticSearch. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ElasticSearch) EXPECT ¶
func (_m *ElasticSearch) EXPECT() *ElasticSearch_Expecter
type ElasticSearch_Expecter ¶
type ElasticSearch_Expecter struct {
// contains filtered or unexported fields
}
func (*ElasticSearch_Expecter) Search ¶
func (_e *ElasticSearch_Expecter) Search(ctx interface{}, query interface{}, result interface{}) *ElasticSearch_Search_Call
Search is a helper method to define mock.On call
- ctx context.Context
- query interface{}
- result interface{}
type ElasticSearch_Search_Call ¶
ElasticSearch_Search_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Search'
func (*ElasticSearch_Search_Call) Return ¶
func (_c *ElasticSearch_Search_Call) Return(_a0 error) *ElasticSearch_Search_Call
func (*ElasticSearch_Search_Call) Run ¶
func (_c *ElasticSearch_Search_Call) Run(run func(ctx context.Context, query interface{}, result interface{})) *ElasticSearch_Search_Call
func (*ElasticSearch_Search_Call) RunAndReturn ¶
func (_c *ElasticSearch_Search_Call) RunAndReturn(run func(context.Context, interface{}, interface{}) error) *ElasticSearch_Search_Call
Click to show internal directories.
Click to hide internal directories.