Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
Iterate(context.Context, *IterateRequest) (<-chan *diff.Document, <-chan error)
}
Client encapsulates access to an Elasticsearch cluster.
type ClientOption ¶
type ClientOption func(Client)
ClientOption specifies the signature for setting a generic option for a Client.
func WithBatchSize ¶
func WithBatchSize(size int) ClientOption
WithBatchSize allows setting the batch size for scrolling through the documents (for clients that support this).
type ClientWithBatchSize ¶
type ClientWithBatchSize interface {
SetBatchSize(int)
}
ClientWithBatchSize should be implemented by clients that support setting the batch size for scrolling.
Click to show internal directories.
Click to hide internal directories.