komodo_client 1.16.3-blocking

Client for the Komodo build and deployment system
Documentation
use derive_empty_traits::EmptyTraits;
use resolver_api::derive::Request;
use serde::{Deserialize, Serialize};
use typeshare::typeshare;

use crate::entities::update::Update;

use super::KomodoExecuteRequest;

/// Launch an EC2 instance with the specified config.
/// Response: [Update].
#[typeshare]
#[derive(
  Serialize, Deserialize, Debug, Clone, Request, EmptyTraits,
)]
#[empty_traits(KomodoExecuteRequest)]
#[response(Update)]
pub struct LaunchServer {
  /// The name of the created server.
  pub name: String,
  /// The server template used to define the config.
  pub server_template: String,
}