pub struct Reseed<'profile> {
pub names: &'profile Names,
pub profile: &'profile str,
pub image: &'profile str,
pub slots: usize,
pub slice: &'profile str,
pub cpus: u32,
pub memory: ByteSize,
pub min_changes: ByteSize,
pub max_size: ByteSize,
pub isolation: &'profile dyn Isolation,
}Expand description
What reseed runs on: the profile’s image and limits, its slots and the isolation backend.
Fields§
§names: &'profile NamesWhere the profile’s volumes are.
profile: &'profile strThe profile to reseed.
image: &'profile strThe profile’s runner image, which holds the seed script.
slots: usizeHow many slots the profile has; each slot’s layer changes are dropped.
slice: &'profile strThe systemd slice the seed container runs in.
cpus: u32The profile’s CPUs.
memory: ByteSizeThe profile’s memory.
min_changes: ByteSizeSlot 1’s layers must have changed at least this much (caches.reseed_at).
max_size: ByteSizeA snapshot that would outgrow this starts over (caches.snapshot_max).
isolation: &'profile dyn IsolationHow the seed container is isolated, as runners are.
Trait Implementations§
Auto Trait Implementations§
impl<'profile> !RefUnwindSafe for Reseed<'profile>
impl<'profile> !UnwindSafe for Reseed<'profile>
impl<'profile> Freeze for Reseed<'profile>
impl<'profile> Send for Reseed<'profile>
impl<'profile> Sync for Reseed<'profile>
impl<'profile> Unpin for Reseed<'profile>
impl<'profile> UnsafeUnpin for Reseed<'profile>
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