pub enum ContainerCommand {
Run {Show 18 fields
agent: String,
cmd: String,
branch: Option<String>,
task_id: Option<String>,
push: bool,
pr: bool,
pr_base: String,
pr_title: Option<String>,
pr_body: Option<String>,
image_profile: ImageProfile,
image: Option<String>,
timeout_seconds: u64,
memory: String,
cpus: String,
repo: Option<String>,
keep_worktree: bool,
inherit_env: bool,
local_only: bool,
},
}Variantsยง
Run
Execute one command in a fresh container against an isolated git worktree.
Fields
ยง
image_profile: ImageProfileTrait Implementationsยง
Sourceยงimpl Debug for ContainerCommand
impl Debug for ContainerCommand
Sourceยงimpl FromArgMatches for ContainerCommand
impl FromArgMatches for ContainerCommand
Sourceยงfn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Sourceยงfn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Sourceยงfn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Sourceยงfn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Sourceยงimpl Subcommand for ContainerCommand
impl Subcommand for ContainerCommand
Sourceยงfn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Sourceยงfn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSourceยงfn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementationsยง
impl Freeze for ContainerCommand
impl RefUnwindSafe for ContainerCommand
impl Send for ContainerCommand
impl Sync for ContainerCommand
impl Unpin for ContainerCommand
impl UnsafeUnpin for ContainerCommand
impl UnwindSafe for ContainerCommand
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