pub struct SeedConfig<'a> {
pub hostname: &'a str,
pub ssh_pubkey: &'a str,
pub nics: Vec<NicConfig>,
pub process: Option<ProcessConfig>,
pub volumes: Vec<VolumeMountConfig>,
pub healthcheck: Option<HealthCheckConfig>,
pub extra_hosts: Vec<(String, String)>,
}Expand description
Cloud-init seed configuration for a service VM.
Fields§
§hostname: &'a strVM hostname.
ssh_pubkey: &'a strSSH public key for root access.
nics: Vec<NicConfig>Network interface configurations.
process: Option<ProcessConfig>Process to start after boot.
volumes: Vec<VolumeMountConfig>Volume mounts (host dirs shared via VirtioFS).
healthcheck: Option<HealthCheckConfig>Health check configuration.
extra_hosts: Vec<(String, String)>Additional /etc/hosts entries.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SeedConfig<'a>
impl<'a> RefUnwindSafe for SeedConfig<'a>
impl<'a> Send for SeedConfig<'a>
impl<'a> Sync for SeedConfig<'a>
impl<'a> Unpin for SeedConfig<'a>
impl<'a> UnsafeUnpin for SeedConfig<'a>
impl<'a> UnwindSafe for SeedConfig<'a>
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