pub struct BuildRunPoolConfig {
pub socket: String,
pub image: Option<String>,
pub vcpus: u32,
pub memory_mb: u32,
pub guest_rootfs: String,
pub timeout_ns: u64,
pub run_cache_dir: PathBuf,
}Expand description
Configuration for executing Dockerfile RUN instructions in a warm-pool VM.
Fields§
§socket: StringPool daemon Unix socket.
image: Option<String>Helper VM image. None uses the daemon’s default image.
vcpus: u32Helper VM vCPU count for lazily-created pools.
memory_mb: u32Helper VM memory in MiB for lazily-created pools.
guest_rootfs: StringGuest path where the stage rootfs is mounted.
timeout_ns: u64RUN exec timeout in nanoseconds.
run_cache_dir: PathBufPersistent cache directory for RUN --mount=type=cache.
Trait Implementations§
Source§impl Clone for BuildRunPoolConfig
impl Clone for BuildRunPoolConfig
Source§fn clone(&self) -> BuildRunPoolConfig
fn clone(&self) -> BuildRunPoolConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BuildRunPoolConfig
impl RefUnwindSafe for BuildRunPoolConfig
impl Send for BuildRunPoolConfig
impl Sync for BuildRunPoolConfig
impl Unpin for BuildRunPoolConfig
impl UnsafeUnpin for BuildRunPoolConfig
impl UnwindSafe for BuildRunPoolConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more