Skip to main content

Module software_registry

Module software_registry 

Source
Expand description

Registry software resolution (= TS packages/core/src/software-registry.ts).

Each agentOS release publishes its software catalog as digest-addressed .aospkg files next to <registry>/<version>/software/manifest.json. A registry source resolves to that release’s URL and exact digest, then installs through the ordinary URL source, so the sidecar still verifies the bytes. The manifest is fetched by this host process, not by the guest, so VM network permissions do not apply to it.

Structs§

ResolvedRegistrySoftware
A registry package resolved to its exact artifact.
SoftwareRegistryOptions
Registry location and default release for name-based software.

Enums§

SoftwareSource
A software source for crate::AgentOs::install_software and crate::AgentOsConfig::software_sources.

Constants§

DEFAULT_SOFTWARE_REGISTRY_URL
Root that holds <version>/software/manifest.json for each release.
SOFTWARE_REGISTRY_URL_ENV
Environment variable that overrides the default registry root.

Functions§

default_registry_version
The release a registry source resolves against when it names no version.
resolve_registry_software
Resolve a registry package name to the exact .aospkg URL and digest listed in a release manifest. version overrides registry.version. Manifests are cached per registry and version for the life of the process; latest is refreshed every five minutes.
resolve_software_source
Resolve a SoftwareSource to the package source the sidecar acquires.