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 client connection to Elastic Agent.
WithAddress adjust the connection address for the client.
WithMaxMsgSize adjures the GRPC connection maximum message size.
# Constants
Configuring is when it is configuring.
CPU requests additional CPU diagnostics.
Degraded is when it is degraded.
Failed is when it is failed.
Healthy is when it is healthy.
Rollback is when it is upgrading is rolling back.
Starting is when the it is still starting.
Stopped is when it is stopped.
Stopping is when it is stopping.
UnitTypeInput is an input unit.
UnitTypeOutput is an output unit.
Upgrading is when it is upgrading.
# Structs
AgentState is the current state of the Elastic Agent.
AgentStateInfo is the overall information about the Elastic Agent.
ComponentState is a state of a component managed by the Elastic Agent.
ComponentUnitState is a state of a unit running inside a component.
ComponentVersionInfo is the version information for the component.
DiagnosticComponentRequest targets a specific component for diagnostics.
DiagnosticComponentResult is a set of diagnostic results for a component.
DiagnosticFileResult is a diagnostic file result.
DiagnosticUnitRequest allows a specific unit to be targeted for diagnostics.
DiagnosticUnitResult is a set of results for a unit.
Version is the current running version of the daemon.
# Interfaces
Client communicates to Elastic Agent through the control protocol.
ClientStateWatch allows the state of the running Elastic Agent to be watched.
# Type aliases
AdditionalMetrics is the type for additional diagnostic requests.
Option is an option to adjust how the client operates.
State is the state codes.
UnitType is the type of the unit.