virtx 0.1.1

Run tasks in disposable Linux VMs from your own code: the environment an agent works in.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};

use crate::image::ImageSource;

/// A built image to forget. The `params` of `remove_image`.
#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
pub struct RemoveImageCall {
    /// Which image, by ref or by digest.
    pub image: ImageSource,
}

/// The image is gone. The `result` of `remove_image`.
#[derive(Clone, Debug, Default, PartialEq, Eq, Serialize, Deserialize)]
pub struct RemoveImageResp {}