Expand description
§Komodo
A system to build and deploy software across many servers. https://komo.do
This is a client library for the Komodo Core API. It contains:
- Definitions for the application api and entities.
- A client to interact with the Komodo Core API.
- Information on configuring Komodo Core and Periphery.
§Client Configuration
The client includes a convenenience method to parse the Komodo API url and credentials from the environment:
KOMODO_ADDRESS
KOMODO_API_KEY
KOMODO_API_SECRET
§Client Example
dotenvy::dotenv().ok();
let client = KomodoClient::new_from_env()?;
// Get all the deployments
let deployments = client.read(ListDeployments::default()).await?;
println!("{deployments:#?}");
let update = client.execute(RunBuild { build: "test-build".to_string() }).await?:
Modules§
- api
- Komodo Core API
- busy
- deserializers
- Deserializers for custom behavior and backward compatibility.
- entities
- parsers
- ws
Structs§
- Komodo
Client - Client to interface with Komodo
- Komodo
Env - Default environment variables for the KomodoClient.
Functions§
- komodo_
client - &’static KomodoClient initialized from environment.