Expand description
Embedded configuration support for alien-deploy-cli and alien-agent binaries.
The package builder appends a JSON-encoded config struct to the end of the binary, followed by a 4-byte little-endian length and 8-byte magic trailer. This allows a single binary to be customized per deployment group without recompilation.
Structs§
- Agent
Config - Configuration embedded in alien-agent binaries.
- Deploy
CliConfig - Configuration embedded in alien-deploy-cli binaries.
Enums§
- Embedded
Config Error - Errors from embedded config operations.
Constants§
- FOOTER_
SIZE - Size of the footer: 4 bytes (length) + 8 bytes (magic).
- MAGIC_
BYTES - Magic bytes at the end of a binary with embedded config.
Functions§
- append_
embedded_ config - Append embedded configuration to a binary.
- load_
embedded_ config - Load embedded configuration from the current binary.
- load_
embedded_ config_ from_ path - Load embedded configuration from a specific binary path.