Struct conductor::exec::Options [] [src]

pub struct Options {
    pub detached: bool,
    pub privileged: bool,
    pub user: Option<String>,
    pub allocate_tty: bool,
    // some fields omitted
}

Command-line flags which can be passed to docker-compose exec.

Fields

Should we execute this command in the background?

Should we run this command with elevated privileges?

An optional user as whom we should run the command.

TODO LOW: Is this technically "user[:group]"? If so, we need support for that type in compose_yml and use it here.

Should we allocate a TTY when executing the command? Defaults to true for docker-compose.

Trait Implementations

impl Debug for Options
[src]

Formats the value using the given formatter.

impl Clone for Options
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl ToArgs for Options
[src]

Convert to arguments suitable for std::process::Command or our CommandBuilder.

impl Default for Options
[src]

Returns the "default value" for a type. Read more