Crate freta

source ·
Expand description

Freta Client

This crate enables communication with the Project Freta service.

Example

use freta::{Client, ImageFormat::Lime, Result};
let mut client = Client::new().await?;
let image = client
    .images_upload(Lime, [("name", "test image")], "./image.lime")
    .await?;
client.images_monitor(image.image_id).await?;
client
    .artifacts_download(image.image_id, "report.json", "./report.json")
    .await?;
println!("{:?}", image);

Re-exports

Modules

  • Freta CLI command line parsing helpers
  • common data strucutures used by Freta

Structs

Enums

Constants

Type Aliases