Documentation ¶
Overview ¶
Package mock_es is a generated GoMock package.
Package mock_es is a generated GoMock package.
Package mock_es is a generated GoMock package.
Package mock_es is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIndexBody ¶
type MockIndexBody struct {
// contains filtered or unexported fields
}
MockIndexBody is a mock of IndexBody interface.
func NewMockIndexBody ¶
func NewMockIndexBody(ctrl *gomock.Controller) *MockIndexBody
NewMockIndexBody creates a new mock instance.
func (*MockIndexBody) BodyReader ¶
func (m *MockIndexBody) BodyReader() (io.Reader, error)
BodyReader mocks base method.
func (*MockIndexBody) EXPECT ¶
func (m *MockIndexBody) EXPECT() *MockIndexBodyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIndexBodyMockRecorder ¶
type MockIndexBodyMockRecorder struct {
// contains filtered or unexported fields
}
MockIndexBodyMockRecorder is the mock recorder for MockIndexBody.
func (*MockIndexBodyMockRecorder) BodyReader ¶
func (mr *MockIndexBodyMockRecorder) BodyReader() *gomock.Call
BodyReader indicates an expected call of BodyReader.
func (*MockIndexBodyMockRecorder) ID ¶
func (mr *MockIndexBodyMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
type MockMapping ¶
type MockMapping struct {
// contains filtered or unexported fields
}
MockMapping is a mock of Mapping interface.
func NewMockMapping ¶
func NewMockMapping(ctrl *gomock.Controller) *MockMapping
NewMockMapping creates a new mock instance.
func (*MockMapping) BodyReader ¶
func (m *MockMapping) BodyReader() (io.Reader, error)
BodyReader mocks base method.
func (*MockMapping) EXPECT ¶
func (m *MockMapping) EXPECT() *MockMappingMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockMappingMockRecorder ¶
type MockMappingMockRecorder struct {
// contains filtered or unexported fields
}
MockMappingMockRecorder is the mock recorder for MockMapping.
func (*MockMappingMockRecorder) BodyReader ¶
func (mr *MockMappingMockRecorder) BodyReader() *gomock.Call
BodyReader indicates an expected call of BodyReader.
type MockSearch ¶
type MockSearch struct {
// contains filtered or unexported fields
}
MockSearch is a mock of Search interface.
func NewMockSearch ¶
func NewMockSearch(ctrl *gomock.Controller) *MockSearch
NewMockSearch creates a new mock instance.
func (*MockSearch) CreateIndex ¶
func (m *MockSearch) CreateIndex(index string, mapping es.Mapping) error
CreateIndex mocks base method.
func (*MockSearch) EXPECT ¶
func (m *MockSearch) EXPECT() *MockSearchMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSearch) Index ¶
func (m *MockSearch) Index(index string, body es.IndexBody) error
Index mocks base method.
func (*MockSearch) Search ¶
func (m *MockSearch) Search(index string, body *es.SearchRequestBody) (*es.SearchResponse, error)
Search mocks base method.
type MockSearchMockRecorder ¶
type MockSearchMockRecorder struct {
// contains filtered or unexported fields
}
MockSearchMockRecorder is the mock recorder for MockSearch.
func (*MockSearchMockRecorder) CreateIndex ¶
func (mr *MockSearchMockRecorder) CreateIndex(index, mapping interface{}) *gomock.Call
CreateIndex indicates an expected call of CreateIndex.
func (*MockSearchMockRecorder) Index ¶
func (mr *MockSearchMockRecorder) Index(index, body interface{}) *gomock.Call
Index indicates an expected call of Index.
func (*MockSearchMockRecorder) Search ¶
func (mr *MockSearchMockRecorder) Search(index, body interface{}) *gomock.Call
Search indicates an expected call of Search.