Documentation
¶
Overview ¶
Package mock_opensearchutil is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ESIndexer ¶
type ESIndexer struct {
BulkIndexer opensearchutil.BulkIndexer
}
func NewESIndexer ¶
type MockBulkIndexer ¶
type MockBulkIndexer struct {
// contains filtered or unexported fields
}
MockBulkIndexer is a mock of BulkIndexer interface.
func NewMockBulkIndexer ¶
func NewMockBulkIndexer(ctrl *gomock.Controller) *MockBulkIndexer
NewMockBulkIndexer creates a new mock instance.
func (*MockBulkIndexer) Add ¶
func (m *MockBulkIndexer) Add(arg0 context.Context, arg1 opensearchutil.BulkIndexerItem) error
Add mocks base method.
func (*MockBulkIndexer) Close ¶
func (m *MockBulkIndexer) Close(arg0 context.Context) error
Close mocks base method.
func (*MockBulkIndexer) EXPECT ¶
func (m *MockBulkIndexer) EXPECT() *MockBulkIndexerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBulkIndexer) Stats ¶
func (m *MockBulkIndexer) Stats() opensearchutil.BulkIndexerStats
Stats mocks base method.
type MockBulkIndexerMockRecorder ¶
type MockBulkIndexerMockRecorder struct {
// contains filtered or unexported fields
}
MockBulkIndexerMockRecorder is the mock recorder for MockBulkIndexer.
func (*MockBulkIndexerMockRecorder) Add ¶
func (mr *MockBulkIndexerMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockBulkIndexerMockRecorder) Close ¶
func (mr *MockBulkIndexerMockRecorder) Close(arg0 interface{}) *gomock.Call
Close indicates an expected call of Close.
func (*MockBulkIndexerMockRecorder) Stats ¶
func (mr *MockBulkIndexerMockRecorder) Stats() *gomock.Call
Stats indicates an expected call of Stats.
Click to show internal directories.
Click to hide internal directories.