package
0.0.0-20250304205905-b47799d07ddf
Repository: https://github.com/aws/amazon-ssm-agent.git
Documentation: pkg.go.dev

# Packages

Package repository_mock implements the mock for Repository.

# Functions

NewRepository is the factory method for the package repository with default file system dependencies.

# Constants

Installation of the package version was attempted but failed.
Successfully installed / updated version of a package.
Package version being installed but not yet installed.
Present in the repository but not yet installed.
Package version not present in repository.
Installing as part of rollback.
Uninstalling as part of rollback.
Successfully uninstalled version of a package (but not yet deleted).
Package version being uninstalled version but not yet uninstalled.
Present in repository but no state information or corrupt state.
Package version being updated but the update script is not yet executed.
Uninstalling previous version.

# Structs

PackageInstallState represents the json structure of the current package state.
PackageManifest represents json structure of package's online configuration file.

# Interfaces

dependency on filesystem and os utility functions.
Repository represents local storage for packages managed by configurePackage Different formats for different versions are managed within the Repository abstraction.

# Type aliases

DownloadDelegate is a function that downloads a package to a directory provided by the repository.
InstallState is an enum describing the installation state of a package.