Skip to main content
由 Techstack v0.32.8 版本生成(源码 4c7d219a5d56)。对于已安装的版本,请以 techstack api <command> --help 为准。

techstack api unifier analyze

分析规格以获取需求(阶段 1)。 安全、幂等。返回硬件需求、检测到的附加组件和所需凭据。

techstack api unifier pipeline preview

预览流水线结果,不产生副作用。 安全、幂等。显示将会生成的内容。后端校验或 StackKit 解析失败时返回 200,并带有 data.valid=false 和结构化的 data.errors;格式错误的输入和认证失败仍为 HTTP 错误。

techstack api unifier pipeline run

运行完整的 Unifier 流水线(validate + analyze + unify + generate)。 有副作用:会生成 IaC 输出文件。

techstack api unifier pipeline validate

校验流水线输入而不执行。

techstack api unifier unify

统一规格(阶段 2)。

techstack api unifier validate

根据 CUE 模式校验栈规格。 安全、幂等。无副作用。