package
7.4.0+incompatible
Repository: https://github.com/magento-mcom/beats.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
DeregisterConnectCallback deregisters a callback for the elasticsearch output specified by its key.
DeregisterGlobalCallback deregisters a callback for the elasticsearch output specified by its key.
NewClient instantiates a new client.
NewConnectedClient creates a new Elasticsearch client based on the given config.
NewElasticsearchClients returns a list of Elasticsearch clients based on the given configuration.
RegisterConnectCallback registers a callback for the elasticsearch output The callback is called each time the client connects to elasticsearch.
RegisterGlobalCallback register a global callbacks.
# Variables
ErrJSONEncodeFailed indicates encoding failures.
ErrNotConnected indicates failure due to client having no valid connection.
ErrResponseRead indicates error parsing Elasticsearch response.
# Structs
No description provided by the author
Client is an elasticsearch client.
ClientSettings contains the settings for a client.
Connection manages the connection for a given client.
CountResults contains the count of results.
Hits contains the hits.
QueryResult contains the result of a query.
SearchResults contains the results of a search.
Total contains the number of element fetched and the relation.
# Type aliases
ConnectCallback defines the type for the function to be called when the Elasticsearch client successfully connects to the cluster.
MetaBuilder creates meta data for bulk requests.