package
8.15.2+incompatible
Repository: https://github.com/elastic/elastic-agent.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

New creates a new coordinator.
No description provided by the author
No description provided by the author

# Variables

ErrNotUpgradable error is returned when upgrade cannot be performed.
ErrUpgradeInProgress error is returned if two or more upgrades are attempted at the same time.

# Structs

ConfigPatchManager is a decorator to restore some agent settings from the elastic agent configuration file.
Coordinator manages the entire state of the Elastic Agent.
LivenessResponse is the response body for the liveness endpoint.
State provides the current state of the coordinator along with all the current states of components and units.
UpdateComponentChange reports stats for changes to a particular part of a config.
UpdateStats reports the diff of a component update.
WarningError is emitted when we receive a warning in the Fleet response.

# Interfaces

ConfigChange provides an interface for receiving a new configuration.
ConfigManager provides an interface to run and watch for configuration changes.
ErrorReporter provides an interface for any manager that is handled by the coordinator to report errors.
FleetGateway is a gateway between the Agent and the Fleet API, it's take cares of all the bidirectional communication requirements.
MonitorManager provides an interface to perform the monitoring action for the agent.
ReExecManager provides an interface to perform re-execution of the entire agent.
Runner provides interface to run a manager and receive running errors.
RuntimeManager provides an interface to run and update the runtime.
UpgradeManager provides an interface to perform the upgrade action for the agent.
VarsManager provides an interface to run and watch for variable changes.

# Type aliases

ComponentsModifier is a function that takes the computed components model and modifies it before passing it into the components runtime manager.
No description provided by the author