pub struct Args {Show 13 fields
pub client: bool,
pub id: Option<String>,
pub registry: Option<String>,
pub name: Option<String>,
pub tag: Option<String>,
pub digest: Option<String>,
pub image_inline: Option<String>,
pub mounts: Vec<String>,
pub env: Vec<String>,
pub cwd: Option<String>,
pub machine: Option<String>,
pub machine_state: Option<String>,
pub base: RequestBaseArgs,
}Fields§
§client: boolCreate a client-side laboratory (an MCP server the conduit dials).
Required (part of the side arg-group, which will gain --server).
id: Option<String>Laboratory id — names the per-state container.
registry: Option<String>The image host — e.g. docker.io, ghcr.io,
registry.example.com:5000. Must be unambiguously a registry
(domain, host:port, or localhost) — short names are refused.
Mutually exclusive with --image-inline.
name: Option<String>The image repository path — e.g. library/bash. Requires
--registry.
tag: Option<String>Image tag (mutually exclusive with --digest; requires
--registry).
digest: Option<String>Image digest, <algorithm>:<64 hex> (mutually exclusive with
--tag; requires --registry).
image_inline: Option<String>The image spec INLINE, as a JSON string literal of
Containerfile content (quoted + escaped on the command line;
e.g. --image-inline "\"FROM docker.io/library/bash:latest\n\"").
The host builds it on every create against an empty context.
Mutually exclusive with the --registry family.
mounts: Vec<String>Repeatable --mount host=…,container=… bind mount.
env: Vec<String>Repeatable --env KEY=VALUE environment entry.
cwd: Option<String>Default working directory new agents start in; defaults to /.
machine: Option<String>The EXACT machine id (from laboratories list) whose host
should own the container. Requires --machine-state; neither ⇒
the current machine + the daemon’s own state.
machine_state: Option<String>The state (on --machine) whose host should own the container.
Requires --machine — both or neither.
base: RequestBaseArgsTrait Implementations§
Source§impl Args for Args
impl Args for Args
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for Args
impl FromArgMatches for Args
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>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnsafeUnpin for Args
impl UnwindSafe for Args
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more