Expand description
A transport-neutral, standalone binary self-update transaction.
The caller must authenticate every UpdateDirective independently (or
verify a detached signature). A SHA-256 digest received from the same
server as the artifact proves integrity in transit, not publisher identity.
Structs§
- Staged
Artifact - A fully downloaded artifact whose digest matches its directive.
- Update
Directive - An authenticated update instruction supplied by the adopting service.
- Update
Layout - Caller-controlled paths used by an update transaction.
- Update
Policy - Resource and lifecycle policy for an updater.
- Updater
- Reusable update coordinator.
- Validated
Artifact - An artifact that executed successfully and reported its exact target version.
Enums§
- Artifact
Transport Policy - Network transports permitted for an artifact URL.
- Backup
Strategy - Strategy used to retain the last-confirmed executable for rollback.
- Confirmation
Outcome - Install
Outcome - Migration
Outcome - Result of intentionally moving an executable’s durable state authority.
- Recovery
Action - Work required while starting a service with possible pending update state.
- Update
Error - Errors returned by update policy and transaction operations.
Functions§
- reexec
- Replaces the current Unix process with the installed executable.
- restart_
command - Builds a restart command without consulting global process arguments.