package
7.1.1+incompatible
Repository: https://github.com/gellweiler/beats.git
Documentation: pkg.go.dev

# Functions

DefaultSupport configures a new default ILM support implementation.
ErrReason calls Reason() if the error implements this method.
ESClientHandler creates a new APIHandler executing ILM, and alias queries against Elasticsearch.
NewDefaultSupport creates an instance of default ILM support implementation.
NoopSupport creates a noop ILM implementation with ILM support being always disabled.

# Constants

ModeAuto enum 'auto'.
ModeDisabled enum 'false'.
ModeEnabled enum 'true'.

# Variables

DefaultPolicy defines the default policy to be used if no custom policy is configured.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Alias describes the alias to be created in Elasticsearch.
Config is used for unpacking a common.Config.
Error indicates an error + reason describing the last error.
Policy describes a policy to be loaded into Elasticsearch.

# Interfaces

APIHandler defines the interface between a remote service and the Manager.
ESClient defines the minimal interface required for the ESClientHandler to prepare a policy and write alias.
Manager uses an APIHandler to install a policy.
Supporter implements ILM support.

# Type aliases

Mode is used for enumerating the ilm mode.
SupportFactory is used to define a policy type to be used.