pub struct VmConfig {
pub name: String,
pub compose_manifest: ComposeManifest,
pub vcpu: u32,
pub memory: u32,
pub disk_size: u32,
pub teepod_id: u64,
pub image: String,
pub advanced_features: AdvancedFeatures,
}Expand description
Virtual Machine configuration for a TEE deployment.
Defines the resources and settings for the VM that will run the containerized application.
Fields§
§name: StringName of the deployment
compose_manifest: ComposeManifestDocker Compose manifest configuration
vcpu: u32Number of virtual CPU cores
memory: u32Memory allocation in MB
disk_size: u32Disk size allocation in GB
teepod_id: u64ID of the TEEPod to deploy to
image: StringContainer image to use
advanced_features: AdvancedFeaturesAdvanced features configuration
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VmConfig
impl<'de> Deserialize<'de> for VmConfig
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
Auto Trait Implementations§
impl Freeze for VmConfig
impl RefUnwindSafe for VmConfig
impl Send for VmConfig
impl Sync for VmConfig
impl Unpin for VmConfig
impl UnwindSafe for VmConfig
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