# Functions
DefaultSupport configures a new default ILM support implementation.
ErrReason calls Reason() if the error implements this method.
NewESClientHandler initializes and returns an ESClientHandler,.
NewFileClientHandler initializes and returns a new FileClientHandler instance.
NewNoopSupport creates a noop ILM implementation with ILM support being always disabled.
NewStdSupport creates an instance of default ILM support implementation.
NoopSupport configures a new noop ILM support implementation, should be used when ILM is disabled.
StdSupport configures a new std ILM support implementation.
# 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.
# 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.
ESClientHandler implements the Loader interface for talking to ES.
FileClientHandler implements the Loader interface for writing to a file.
Policy describes a policy to be loaded into Elasticsearch.
# Interfaces
ClientHandler defines the interface between a remote service and the Manager.
ESClient defines the minimal interface required for the Loader to prepare a policy and write alias.
FileClient defines the minimal interface required for the Loader to prepare a policy and write alias.
Manager uses a ClientHandler 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.