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

# Functions

No description provided by the author
ConfigureFastWatcher writes an Elastic Agent configuration that adjusts the watcher to be faster.
EnsureSnapshot ensures that the version string is a snapshot version.
FetchUpgradableVersions returns a list of versions that meet the specified requirements.
FetchUpgradableVersions returns the versions list from the agent version file.
InstallChecksAllowed returns true when the upgrade test should verify installation.
PerformUpgrade performs the upgrading of the Elastic Agent.
PreviousMinor returns the previous minor version available for upgrade.
SupportsUnprivileged returns true when the version supports unprivileged mode.
WaitForNoWatcher loops until no watcher is found running, times out, or until the killTimeout is reached.
WaitForWatcher loops until a watcher is found running or times out.
No description provided by the author
WithCustomPGP sets a custom pgp configuration for upgrade.
WithCustomWatcherConfig sets a custom watcher configuration to use.
WithDisableHashCheck disables hash check between start and end versions of upgrade.
WithDisableUpgradeWatcherUpgradeDetailsCheck disables any assertions for upgrade details that are being set by the Upgrade Watcher.
WithPostInstallHook sets a hook to be called before install.
WithPostUpgradeHook sets a hook to be called before install.
WithPreInstallHook sets a hook to be called before install.
WithPreUpgradeHook sets a hook to be called before install.
WithSkipDefaultPgp sets the skip default pgp option for upgrade.
WithSkipVerify sets the skip verify option for upgrade.
WithSourceURI sets a specific --source-uri for the upgrade command.
WithUnprivileged sets the install to be explicitly unprivileged.

# Constants

No description provided by the author
FastWatcherCfg is configuration that makes the watcher run faster.

# Variables

ErrNoPreviousMinor is returned when a requested previous minor is not on the version list.
ErrNoSnapshot is returned when a requested snapshot is not on the version list.
Version_8_10_0_SNAPSHOT is the minimum version for upgrade with remote pgp and skipping default pgp verification.
Version_8_11_0_SNAPSHOT is the minimum version for uninstall command to kill the watcher upon uninstall.
Version_8_13_0_SNAPSHOT is the minimum version for testing upgrading agent with the same hash.
Version_8_14_0_SNAPSHOT is the minimum version for proper unprivileged execution on all platforms.
Version_8_2_0 is the first version to include --non-interactive flag during install.
Version_8_6_0 is the first version to use agent v2 protocol.
Version_8_7_0 is the minimum version for passing --skip-verify when upgrading.
Version_8_9_0_SNAPSHOT is the minimum version for upgrade to specific snapshot + minimum version for setting shorter watch period after upgrade.

# Structs

No description provided by the author
CustomPGP allows for custom PGP options on upgrade.
VersionRequirements is to set requirements for upgradable versions while fetching them.

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author