Skip to main content

Crate alien_manager_api

Crate alien_manager_api 

Source
Expand description

Alien Server SDK

Auto-generated from OpenAPI spec using Progenitor. Provides a type-safe Rust client for the alien-server API.

§Usage

use alien_server_sdk::Client;

let client = Client::new("http://localhost:8080");

// Create a deployment
let response = client
    .create_deployment()
    .body(&CreateDeploymentRequest {
        name: "my-deployment".into(),
        platform: Platform::Aws,
        ..Default::default()
    })
    .send()
    .await?;

Modules§

builder
Types for composing operation parameters.
prelude
Items consumers will typically use such as the Client.
types
Types used as operation parameters and responses.

Structs§

ByteStream
Untyped byte stream used for both success and error responses.
Client
Client for Alien Server API
ResponseValue
Typed value returned by generated client methods.

Enums§

Error
Error produced by generated client methods.

Traits§

ClientInfo
Interface for which an implementation is generated for all clients.