ContainerGetExt

Trait ContainerGetExt 

Source
pub trait ContainerGetExt {
Show 15 methods // Required method fn container(&self) -> &Container; // Provided methods fn name(&self) -> &str { ... } fn args(&self) -> Option<&[String]> { ... } fn image(&self) -> Option<&str> { ... } fn image_pull_policy(&self) -> Option<&str> { ... } fn ports(&self) -> Option<&[ContainerPort]> { ... } fn liveness_probe(&self) -> Option<&Probe> { ... } fn readiness_probe(&self) -> Option<&Probe> { ... } fn startup_probe(&self) -> Option<&Probe> { ... } fn resources(&self) -> Option<&ResourceRequirements> { ... } fn restart_policy(&self) -> Option<&str> { ... } fn security_context(&self) -> Option<&SecurityContext> { ... } fn working_dir(&self) -> Option<&str> { ... } fn port_by_name(&self, name: impl AsRef<str>) -> Option<&ContainerPort> { ... } fn is_restartable(&self) -> bool { ... }
}

Required Methods§

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§