pub struct ContainerSpec {
pub runtime: ContainerRuntime,
pub image: String,
pub network: Option<String>,
pub name: Option<String>,
}Expand description
The resolved container to run a session in: which runtime, which image.
Fields§
§runtime: ContainerRuntime§image: String§network: Option<String>Unique internal network provisioned for one fs+net session with a
non-empty egress list. None for every other posture. The runner sets
this only after the relay and authenticated host proxy are ready.
name: Option<String>Daemon-owned worker container name paired with network. Naming lets
boundary teardown force-remove the worker after a killed runtime
client or timeout; None for postures without the per-run boundary.
Trait Implementations§
Source§impl Clone for ContainerSpec
impl Clone for ContainerSpec
Source§fn clone(&self) -> ContainerSpec
fn clone(&self) -> ContainerSpec
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 moreSource§impl Debug for ContainerSpec
impl Debug for ContainerSpec
impl Eq for ContainerSpec
Source§impl PartialEq for ContainerSpec
impl PartialEq for ContainerSpec
impl StructuralPartialEq for ContainerSpec
Auto Trait Implementations§
impl Freeze for ContainerSpec
impl RefUnwindSafe for ContainerSpec
impl Send for ContainerSpec
impl Sync for ContainerSpec
impl Unpin for ContainerSpec
impl UnsafeUnpin for ContainerSpec
impl UnwindSafe for ContainerSpec
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