package
0.0.0-20250304205905-b47799d07ddf
Repository: https://github.com/aws/amazon-ssm-agent.git
Documentation: pkg.go.dev
# Packages
Package updateconstants contains constants related to update.
No description provided by the author
Package updatemanifest implements the logic for the ssm agent s3 manifest.
No description provided by the author
Package updates3util implements the logic for s3 update download.
# Functions
BuildMessage builds the messages with provided format, error and arguments.
BuildMessages builds the messages with provided format, error and arguments.
BuildUpdateCommand builds command string with argument and value.
No description provided by the author
ConvertToUpdateErrorCode joins the error string array passed and converts to update error code.
getCommandPid returns the pid of the process if present, defaults to pid -1.
GetManifestURLFromSourceUrl parses source url passed to the updater and generates the url for manifest.
No description provided by the author
InstallerFilePath returns Installer file path.
IsIdentityRuntimeConfigSupported returns true if source agent version is greater than 3.1.282.0, any error defaults to false this logic is required to ensure that updater does not rely on an old runtime config if an agent has been downgraded from a version that supported identity runtimeconfig and also to skip the runtimeconfig check when we know it does not exist.
IsV1UpdatePlugin returns true if source agent version is equal or below 3.0.882.0, any error defaults to false
this logic is required since moving logic from plugin to updater would otherwise lead to duplicate aws console logging when upgrading from V1UpdatePlugin agents.
LoadUpdatePluginResult loads UpdatePluginResult from local storage.
No description provided by the author
ResolveAgentReleaseBucketURL makes best effort to generate an url for the ssm agent bucket.
ResolveUpdateRoot returns the platform specific path to update artifacts.
UnInstallerFilePath returns UnInstaller file path.
UpdateArtifactFolder returns the folder path for storing all the update artifacts.
UpdateContextFilePath returns Context file path.
UpdateOutputDirectory returns output directory.
UpdatePluginResultFilePath returns update plugin result file path.
UpdaterFilePath returns updater file path.
UpdateStdErrPath returns stand error file path.
UpdateStdOutPath returns stand output file path.
# Structs
No description provided by the author
UpdatePluginResult represents Agent update plugin result.
Utility implements interface T.
# Interfaces
T represents the interface for Update utility.