pub struct FlowAddStepArgs {Show 25 fields
pub flow_path: PathBuf,
pub after: Option<String>,
pub mode: FlowAddStepMode,
pub component_id: Option<String>,
pub component_ref: Option<String>,
pub local_wasm: Option<PathBuf>,
pub pin: bool,
pub pack_alias: Option<String>,
pub operation: Option<String>,
pub payload: String,
pub routing_out: bool,
pub routing_reply: bool,
pub routing_next: Option<String>,
pub routing_multi_to: Option<String>,
pub routing_json: Option<PathBuf>,
pub routing_to_anchor: bool,
pub config_flow: Option<PathBuf>,
pub answers: Option<String>,
pub answers_file: Option<PathBuf>,
pub allow_cycles: bool,
pub write: bool,
pub validate_only: bool,
pub manifests: Vec<PathBuf>,
pub node_id: Option<String>,
pub verbose: bool,
}Fields§
§flow_path: PathBufFlow file to modify (e.g., flows/main.ygtc)
after: Option<String>Optional anchor node id; defaults to entrypoint or first node.
mode: FlowAddStepModeMode for add-step (default or config)
component_id: Option<String>Component id (default mode).
component_ref: Option<String>Remote component reference (oci://, repo://, store://) for sidecar binding.
local_wasm: Option<PathBuf>Local wasm path for sidecar binding (relative to the flow file).
pin: boolPin the component (resolve tag to digest or hash local wasm).
pack_alias: Option<String>Optional pack alias for the new node.
operation: Option<String>Optional operation for the new node.
payload: StringPayload JSON for the new node (default mode).
routing_out: boolRouting shorthand: make the new node terminal (out).
routing_reply: boolRouting shorthand: reply to origin.
routing_next: Option<String>Route to a specific node id.
routing_multi_to: Option<String>Route to multiple node ids (comma-separated).
routing_json: Option<PathBuf>Explicit routing JSON file (escape hatch).
routing_to_anchor: boolExplicitly thread to the anchor’s existing targets (default if no routing flag is given).
config_flow: Option<PathBuf>Config flow file to execute (config mode).
answers: Option<String>Answers JSON for config mode.
answers_file: Option<PathBuf>Answers file (JSON) for config mode.
allow_cycles: boolAllow cycles/back-edges during insertion.
write: boolWrite back to the flow file instead of stdout.
validate_only: boolValidate only without writing output.
manifests: Vec<PathBuf>Optional component manifest paths for catalog validation.
node_id: Option<String>Optional explicit node id hint.
verbose: boolVerbose passthrough logging.
Trait Implementations§
Source§impl Args for FlowAddStepArgs
impl Args for FlowAddStepArgs
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 Debug for FlowAddStepArgs
impl Debug for FlowAddStepArgs
Source§impl FromArgMatches for FlowAddStepArgs
impl FromArgMatches for FlowAddStepArgs
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 FlowAddStepArgs
impl RefUnwindSafe for FlowAddStepArgs
impl Send for FlowAddStepArgs
impl Sync for FlowAddStepArgs
impl Unpin for FlowAddStepArgs
impl UnwindSafe for FlowAddStepArgs
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request