pub struct TestArgs {Show 21 fields
pub wasm: PathBuf,
pub manifest: Option<PathBuf>,
pub op: Vec<String>,
pub input: Vec<PathBuf>,
pub input_json: Vec<String>,
pub output: Option<PathBuf>,
pub pretty: bool,
pub state_dump: bool,
pub state_set: Vec<String>,
pub step: u8,
pub secrets: Option<PathBuf>,
pub secrets_json: Option<PathBuf>,
pub secret: Vec<String>,
pub env: String,
pub tenant: String,
pub team: Option<String>,
pub user: Option<String>,
pub flow: Option<String>,
pub node: Option<String>,
pub session: Option<String>,
pub verbose: bool,
}Fields§
§wasm: PathBufPath to the component wasm binary.
manifest: Option<PathBuf>Optional manifest path (defaults to component.manifest.json next to the wasm).
op: Vec<String>Operation to invoke (repeat for multi-step runs).
input: Vec<PathBuf>Input JSON file path (repeat for multi-step runs).
input_json: Vec<String>Inline input JSON string (repeat for multi-step runs).
output: Option<PathBuf>Write output JSON to a file.
pretty: boolPretty-print JSON output.
state_dump: boolDump in-memory state after invocation.
state_set: Vec<String>Seed in-memory state as KEY=BASE64 (repeatable).
step: u8Repeatable step marker for multi-step runs.
secrets: Option<PathBuf>Load secrets from a .env style file.
secrets_json: Option<PathBuf>Load secrets from a JSON map file.
secret: Vec<String>Provide a secret inline as KEY=VALUE (repeatable).
env: StringEnvironment identifier for the exec context.
tenant: StringTenant identifier for the exec context.
team: Option<String>Optional team identifier for the exec context.
user: Option<String>Optional user identifier for the exec context.
flow: Option<String>Optional flow identifier for the exec context.
node: Option<String>Optional node identifier for the exec context.
session: Option<String>Optional session identifier for the exec context.
verbose: boolEmit extra diagnostic output (e.g. generated session id).
Trait Implementations§
Source§impl Args for TestArgs
impl Args for TestArgs
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 TestArgs
impl FromArgMatches for TestArgs
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 TestArgs
impl RefUnwindSafe for TestArgs
impl Send for TestArgs
impl Sync for TestArgs
impl Unpin for TestArgs
impl UnwindSafe for TestArgs
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> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
Source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
self file descriptor.Source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
Source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
self file descriptor. Read moreSource§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