pub struct DockerExecutorConfig {
pub image: String,
pub pull_policy: Option<PullPolicy>,
pub credentials: Option<DockerRegistryAuth>,
pub env: HashMap<String, String>,
pub resource_limits: ResourceLimits,
pub mount: Option<Mount>,
pub network_name: Option<String>,
}Fields§
§image: String§pull_policy: Option<PullPolicy>§credentials: Option<DockerRegistryAuth>§env: HashMap<String, String>§resource_limits: ResourceLimits§mount: Option<Mount>§network_name: Option<String>Implementations§
Source§impl DockerExecutorConfig
impl DockerExecutorConfig
pub fn from_image_with_defaults<T: Into<String>>(image: T) -> Self
Trait Implementations§
Source§impl Clone for DockerExecutorConfig
impl Clone for DockerExecutorConfig
Source§fn clone(&self) -> DockerExecutorConfig
fn clone(&self) -> DockerExecutorConfig
Returns a copy of the value. Read more
1.0.0 · 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 DockerExecutorConfig
impl Debug for DockerExecutorConfig
Source§impl<'de> Deserialize<'de> for DockerExecutorConfig
impl<'de> Deserialize<'de> for DockerExecutorConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DockerExecutorConfig
impl PartialEq for DockerExecutorConfig
Source§impl Serialize for DockerExecutorConfig
impl Serialize for DockerExecutorConfig
Source§impl Structable for DockerExecutorConfig
impl Structable for DockerExecutorConfig
Source§fn definition(&self) -> StructDef<'_>
fn definition(&self) -> StructDef<'_>
Returns the struct’s definition. Read more
Source§impl Valuable for DockerExecutorConfig
impl Valuable for DockerExecutorConfig
impl StructuralPartialEq for DockerExecutorConfig
Auto Trait Implementations§
impl Freeze for DockerExecutorConfig
impl RefUnwindSafe for DockerExecutorConfig
impl Send for DockerExecutorConfig
impl Sync for DockerExecutorConfig
impl Unpin for DockerExecutorConfig
impl UnwindSafe for DockerExecutorConfig
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