62 releases (32 stable)
1.13.3 | Aug 18, 2024 |
---|---|
1.12.0 | Jul 30, 2024 |
0.3.4 | May 1, 2023 |
0.2.12 | Mar 31, 2023 |
0.1.1 | Dec 2, 2022 |
#305 in Database interfaces
Used in 2 crates
375KB
10K
SLoC
Monitor
A system to build and deploy software accross many servers
lib.rs
:
Monitor
A system to build and deploy software accross many servers
This is a client library for the monitor core API. It contains:
- Definitions for the application [api] and [entities].
- A [client][MonitorClient] to interact with the monitor core API.
- Information on configuring monitor core and periphery.
Client Configuration
The client includes a convenenience method to parse the monitor url and credentials from the environment:
- MONITOR_ADDRESS
- MONITOR_API_KEY
- MONITOR_API_SECRET
Client Example
dotenvy::dotenv().ok();
let client = MonitorClient::new_from_env()?;
// Get all the deployments
let deployments = client.read(ListDeployments::default()).await?;
println!("{deployments:#?}");
let update = client.execute
Dependencies
~14–28MB
~407K SLoC