mirror of
https://github.com/moghtech/komodo.git
synced 2026-08-20 00:01:09 +00:00
cc1c5aa5da
* UI Tags: remove owner column * 2.3.2 * reporting error includes api message * fix server builder config deserialization issue when server_ids not specified (causing UI failure) * deploy 2.3.2-dev-1 * bump rs / ui dependencies. Breaking fixes: clap (rust), react table (ts), recharts (ts) * improve ui index file from 4.7mb to 1.4mb with proper code splitting * mogh ui 1.0.1 lock * deploy 2.3.2-dev-2 * fix monaco yaml web worker for compose file suggestions * small fix various console logs * deploy 2.3.2-dev-3 * docsite configurable DOCSITE_URL and DOCSITE_BASE_URL * align dockerfile with base url changes * fix docsite docker caddy * 2.3.2 * remove currently unsupported configuration (github webhook app) * bump rust deps again * bump react table
Komodo
A system to build and deploy software across many servers. https://komo.do
Docs: https://docs.rs/komodo_client/latest/komodo_client.
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_ADDRESSKOMODO_API_KEYKOMODO_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?: