编排节点 registry。
内置节点由本模块维护;企业应用可以通过配置追加自定义节点:
config :cmdc_orchestrator, :node_registry,
custom_step: MyApp.Workflow.CustomStep
Summary
Types
Functions
@spec all() :: map()
返回完整 registry,应用配置会覆盖同名内置项。
@spec builtin_types() :: [atom()]
返回内置节点类型。
@spec execute(map(), map(), CMDCOrchestrator.Node.context()) :: {:ok, term()} | {:error, term()}
执行节点。
查找节点模块。
归一化节点类型。
@spec preflight(map(), CMDCOrchestrator.Node.context()) :: :ok | {:error, term()}
执行节点 preflight。