pub struct ContainerBuilder { /* private fields */ }
Expand description
Builder for Container
.
Implementations§
Source§impl ContainerBuilder
impl ContainerBuilder
pub fn id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn names<VALUE: Into<Option<Vec<String>>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn image<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn image_id<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn command<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn created<VALUE: Into<Value>>(&mut self, value: VALUE) -> &mut Self
pub fn path<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn args<VALUE: Into<Option<Vec<String>>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn resolv_conf_path<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn hostname_path<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn hosts_path<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn log_path<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn restart_count<VALUE: Into<Option<i32>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn driver<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn platform<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn mount_label<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn process_label<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn app_armor_profile<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn exec_ids<VALUE: Into<Option<Vec<String>>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn graph_driver<VALUE: Into<Option<GraphDriverData>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn ports<VALUE: Into<Option<Vec<Port>>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn size_rw<VALUE: Into<Option<i64>>>(&mut self, value: VALUE) -> &mut Self
pub fn size_root_fs<VALUE: Into<Option<i64>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn labels<VALUE: Into<Option<HashMap<String, String>>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn state<VALUE: Into<Option<Value>>>(&mut self, value: VALUE) -> &mut Self
pub fn status<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn host_config<VALUE: Into<Option<HostConfig>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn network_settings<VALUE: Into<Option<NetworkSettings>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn mounts<VALUE: Into<Option<Vec<MountPoint>>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn config<VALUE: Into<Option<ContainerConfig>>>( &mut self, value: VALUE, ) -> &mut Self
Trait Implementations§
Source§impl Clone for ContainerBuilder
impl Clone for ContainerBuilder
Source§fn clone(&self) -> ContainerBuilder
fn clone(&self) -> ContainerBuilder
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 Default for ContainerBuilder
impl Default for ContainerBuilder
Source§fn default() -> ContainerBuilder
fn default() -> ContainerBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ContainerBuilder
impl RefUnwindSafe for ContainerBuilder
impl Send for ContainerBuilder
impl Sync for ContainerBuilder
impl Unpin for ContainerBuilder
impl UnwindSafe for ContainerBuilder
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