Struct dockworker::ContainerCreateOptions [−][src]
pub struct ContainerCreateOptions { /* fields omitted */ }
request body of /containers/create api
Methods
impl ContainerCreateOptions
[src]
impl ContainerCreateOptions
pub fn new(image: &str) -> Self
[src]
pub fn new(image: &str) -> Self
pub fn hostname(&mut self, hostname: String) -> &mut Self
[src]
pub fn hostname(&mut self, hostname: String) -> &mut Self
pub fn domainname(&mut self, domainname: String) -> &mut Self
[src]
pub fn domainname(&mut self, domainname: String) -> &mut Self
pub fn user(&mut self, user: String) -> &mut Self
[src]
pub fn user(&mut self, user: String) -> &mut Self
pub fn attach_stdin(&mut self, attach_stdin: bool) -> &mut Self
[src]
pub fn attach_stdin(&mut self, attach_stdin: bool) -> &mut Self
pub fn attach_stdout(&mut self, attach_stdout: bool) -> &mut Self
[src]
pub fn attach_stdout(&mut self, attach_stdout: bool) -> &mut Self
pub fn attach_stderr(&mut self, attach_stderr: bool) -> &mut Self
[src]
pub fn attach_stderr(&mut self, attach_stderr: bool) -> &mut Self
pub fn tty(&mut self, tty: bool) -> &mut Self
[src]
pub fn tty(&mut self, tty: bool) -> &mut Self
pub fn open_stdin(&mut self, open_stdin: bool) -> &mut Self
[src]
pub fn open_stdin(&mut self, open_stdin: bool) -> &mut Self
pub fn stdin_once(&mut self, stdin_once: bool) -> &mut Self
[src]
pub fn stdin_once(&mut self, stdin_once: bool) -> &mut Self
pub fn env(&mut self, env: String) -> &mut Self
[src]
pub fn env(&mut self, env: String) -> &mut Self
push back an envvar entry
pub fn cmd(&mut self, cmd: String) -> &mut Self
[src]
pub fn cmd(&mut self, cmd: String) -> &mut Self
push back a cmd argment
pub fn entrypoint(&mut self, entrypoint: Vec<String>) -> &mut Self
[src]
pub fn entrypoint(&mut self, entrypoint: Vec<String>) -> &mut Self
update entrypoint
pub fn image(&mut self, image: String) -> &mut Self
[src]
pub fn image(&mut self, image: String) -> &mut Self
pub fn label(&mut self, key: String, value: String) -> &mut Self
[src]
pub fn label(&mut self, key: String, value: String) -> &mut Self
add a label/value pair
pub fn working_dir(&mut self, working_dir: PathBuf) -> &mut Self
[src]
pub fn working_dir(&mut self, working_dir: PathBuf) -> &mut Self
pub fn network_disabled(&mut self, network_disabled: bool) -> &mut Self
[src]
pub fn network_disabled(&mut self, network_disabled: bool) -> &mut Self
pub fn mac_address(&mut self, mac_address: String) -> &mut Self
[src]
pub fn mac_address(&mut self, mac_address: String) -> &mut Self
pub fn on_build(&mut self, on_build: Vec<String>) -> &mut Self
[src]
pub fn on_build(&mut self, on_build: Vec<String>) -> &mut Self
pub fn stop_signal(&mut self, stop_signal: String) -> &mut Self
[src]
pub fn stop_signal(&mut self, stop_signal: String) -> &mut Self
pub fn stop_timeout(&mut self, stop_timeout: Duration) -> &mut Self
[src]
pub fn stop_timeout(&mut self, stop_timeout: Duration) -> &mut Self
pub fn host_config(&mut self, host_config: ContainerHostConfig) -> &mut Self
[src]
pub fn host_config(&mut self, host_config: ContainerHostConfig) -> &mut Self
pub fn networking_config(
&mut self,
networking_config: NetworkingConfig
) -> &mut Self
[src]
pub fn networking_config(
&mut self,
networking_config: NetworkingConfig
) -> &mut Self
Trait Implementations
impl Debug for ContainerCreateOptions
[src]
impl Debug for ContainerCreateOptions
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ContainerCreateOptions
[src]
impl Clone for ContainerCreateOptions
fn clone(&self) -> ContainerCreateOptions
[src]
fn clone(&self) -> ContainerCreateOptions
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for ContainerCreateOptions
impl Send for ContainerCreateOptions
impl Sync for ContainerCreateOptions
impl Sync for ContainerCreateOptions