pub struct Step {Show 20 fields
pub name: String,
pub type: String,
pub condition: Option<String>,
pub params: HashMap<String, String>,
pub spec: Value,
pub strategy: Option<Strategy>,
pub aggregation: Vec<Aggregation>,
pub iterate: Option<String>,
pub iterate_as: Option<String>,
pub steps: Option<Vec<Step>>,
pub next: Vec<String>,
pub on_failure: Option<Box<Step>>,
pub retry: Option<RetryPolicy>,
pub timeout: Option<String>,
pub allow_failure: Option<bool>,
pub start_marker: Option<String>,
pub end_marker: Option<String>,
pub outputs: Vec<OutputExtraction>,
pub reports: Vec<TestReport>,
pub artifacts: Option<Vec<String>>,
}Expand description
Execution step definition within a workflow.
Fields§
§name: StringName of the step.
type: StringType of the step.
condition: Option<String>CEL condition controlling whether the step runs.
params: HashMap<String, String>Evaluated parameters for the step.
spec: ValueStep-specific specification. This allows each step type to define its own structured parameters. For “RunContainer” on K8s, this would be a K8sJobSpec.
strategy: Option<Strategy>Execution strategy overrides for this step.
aggregation: Vec<Aggregation>Values to aggregate from iterated steps.
iterate: Option<String>Iteration expression (e.g., a list of items to map over).
iterate_as: Option<String>Variable name for the current iteration item.
steps: Option<Vec<Step>>Child steps if this is a group (e.g., Parallel).
next: Vec<String>Next steps to execute after this one.
on_failure: Option<Box<Step>>Steps to execute if this step fails.
retry: Option<RetryPolicy>Retry policy for this step.
timeout: Option<String>Timeout duration.
allow_failure: Option<bool>Whether failure of this step should be ignored.
start_marker: Option<String>Log marker indicating the start of a section.
end_marker: Option<String>Log marker indicating the end of a section.
outputs: Vec<OutputExtraction>Extraction rules to capture output values.
reports: Vec<TestReport>Test reports to collect.
artifacts: Option<Vec<String>>Specific artifacts to collect for this step.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Step
impl<'de> Deserialize<'de> for Step
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for Step
impl JsonSchema for Step
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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