Re-exports§
pub use backup::BackupRegistry;pub use backup::BackupRunner;pub use backup::BackupTask;pub use backup::RunningBackup;pub use tasks::BackgroundTask;pub use tasks::TaskContext;pub use tasks::TaskEndpoint;pub use tasks::TaskEndpointResponse;pub use bestool_canopy as canopy;
Modules§
- backup
- Backup run registry and the on-demand
runendpoint. - commands
- Clients for the daemon’s control HTTP API.
- doctor
- http_
server - HTTP server for alertd daemon control and metrics.
- tasks
Structs§
- Daemon
Config - Configuration for the alertd daemon
- Internal
Context - Shared resources the daemon holds for the lifetime of the process and hands to background tasks and HTTP endpoints.
- Redacted
- Wraps a sensitive value so its
Debugoutput doesn’t leak the contents. - Restart
Trigger - A handle a background task can use to ask the daemon to restart itself.
Constants§
- VERSION
- The version of the alertd library
Functions§
- http_
builder - Base builder for alertd’s outbound HTTP clients. Call sites add their own timeouts etc. Canopy sets its own User-Agent, so this one applies to alertd’s other requests.
- http_
client - A built
reqwest::Clientfromhttp_builder. - run
- run_
with_ shutdown