pub struct LimaRenderOptions {
pub template_path: Option<PathBuf>,
pub extra_context: HashMap<String, String>,
pub cpus: Option<u32>,
pub memory_gib: Option<u32>,
pub ssh_port: Option<u16>,
}Expand description
Options for customizing Lima template rendering.
Fields§
§template_path: Option<PathBuf>Path to a custom lima.yaml.tera template. If None, the bundled template is used.
extra_context: HashMap<String, String>Extra Tera context variables injected alongside the built-in ones. These take precedence over built-in values if keys collide.
cpus: Option<u32>Number of vCPUs for the Lima VM.
memory_gib: Option<u32>Memory in GiB for the Lima VM.
ssh_port: Option<u16>SSH local port binding for Lima.
Trait Implementations§
Source§impl Debug for LimaRenderOptions
impl Debug for LimaRenderOptions
Source§impl Default for LimaRenderOptions
impl Default for LimaRenderOptions
Source§fn default() -> LimaRenderOptions
fn default() -> LimaRenderOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LimaRenderOptions
impl RefUnwindSafe for LimaRenderOptions
impl Send for LimaRenderOptions
impl Sync for LimaRenderOptions
impl Unpin for LimaRenderOptions
impl UnsafeUnpin for LimaRenderOptions
impl UnwindSafe for LimaRenderOptions
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