pub enum EvaluateCommand {
Show 13 variants
RegisterCase(JsonInput),
RegisterEnvironment(JsonInput),
RegisterEvaluator(JsonInput),
RegisterSuite(JsonInput),
Push {
input: JsonInput,
dry_run: bool,
},
TaskCreate(JsonInput),
RunWait {
input: JsonInput,
wait_timeout: u64,
},
Operation {
operation_id: String,
},
Cases(JsonInput),
Report {
report_id: String,
},
Diff {
report_id: String,
baseline_report_id: String,
policy: Option<PathBuf>,
no_fail: bool,
},
Review {
command: EvaluateReviewCommand,
},
Metrics {
command: EvaluateMetricsCommand,
},
}Variants§
RegisterCase(JsonInput)
RegisterEnvironment(JsonInput)
RegisterEvaluator(JsonInput)
RegisterSuite(JsonInput)
Push
Register a bundle whose versions are derived from its content.
Re-pushing an unchanged bundle is a no-op, so nothing has to be version-bumped by hand and metric history stays continuous.
TaskCreate(JsonInput)
Create a durable task that a matching Runtime starts through POST /evaluate.
RunWait
Create a task, wait for it to finish, and print its report.
Operation
Cases(JsonInput)
Report
Diff
Compare two reports and exit non-zero when the gate blocks.
Fields
Review
Error-analysis review queue.
Fields
§
command: EvaluateReviewCommandMetrics
Metric health and candidate metrics.
Fields
§
command: EvaluateMetricsCommandTrait Implementations§
Source§impl Debug for EvaluateCommand
impl Debug for EvaluateCommand
Source§impl FromArgMatches for EvaluateCommand
impl FromArgMatches for EvaluateCommand
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 EvaluateCommand
impl Subcommand for EvaluateCommand
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 EvaluateCommand
impl RefUnwindSafe for EvaluateCommand
impl Send for EvaluateCommand
impl Sync for EvaluateCommand
impl Unpin for EvaluateCommand
impl UnsafeUnpin for EvaluateCommand
impl UnwindSafe for EvaluateCommand
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