pub struct Controller {
pub image: Option<VmImage>,
pub resources: Option<Resources>,
pub keep_running: bool,
}Expand description
The controller’s settings (controller:), the fields a machine uses for the same things.
Fields§
§image: Option<VmImage>The box to use instead of Isoloom’s (Vagrant): a specific Ansible version, a mirror.
resources: Option<Resources>CPUs, memory (and disk on Proxmox), for many forks against a large environment.
keep_running: boolKeep it running once provisioning is done (to use it as a jump host). By default it
halts, keeping its disk: isoloom test and isoloom provision boot it when they need it.
Trait Implementations§
Source§impl Clone for Controller
impl Clone for Controller
Source§impl Debug for Controller
impl Debug for Controller
Source§impl Default for Controller
impl Default for Controller
Source§impl<'de> Deserialize<'de> for Controller
impl<'de> Deserialize<'de> for Controller
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for Controller
impl JsonSchema for Controller
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for Controller
impl PartialEq for Controller
Source§impl Serialize for Controller
impl Serialize for Controller
impl StructuralPartialEq for Controller
Auto Trait Implementations§
impl Freeze for Controller
impl RefUnwindSafe for Controller
impl Send for Controller
impl Sync for Controller
impl Unpin for Controller
impl UnsafeUnpin for Controller
impl UnwindSafe for Controller
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more