summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/olivere/elastic/bulk_request.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/olivere/elastic/bulk_request.go')
-rw-r--r--vendor/github.com/olivere/elastic/bulk_request.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/github.com/olivere/elastic/bulk_request.go b/vendor/github.com/olivere/elastic/bulk_request.go
new file mode 100644
index 000000000..ce3bf0768
--- /dev/null
+++ b/vendor/github.com/olivere/elastic/bulk_request.go
@@ -0,0 +1,17 @@
+// Copyright 2012-present Oliver Eilhard. All rights reserved.
+// Use of this source code is governed by a MIT-license.
+// See http://olivere.mit-license.org/license.txt for details.
+
+package elastic
+
+import (
+ "fmt"
+)
+
+// -- Bulkable request (index/update/delete) --
+
+// BulkableRequest is a generic interface to bulkable requests.
+type BulkableRequest interface {
+ fmt.Stringer
+ Source() ([]string, error)
+}