知识卡片
应用代码可定义资源
Infrastructure from Code 把所需基础设施嵌入应用代码,可在部署、初次运行或首次使用时创建。实现可以是低层 API、库或注解,也可通过部署服务间接执行。共同语言和生命周期能缩小应用与资源之间的距离,但实际创建时机及调用路径由框架决定,不能假设所有实现相同。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 部署基础设施 · 查看原书依据
Some leading-edge, experimental tools take the infrastructure descriptor concept a step further by embedding code that defines the infrastructure needed by an application into the application code. In some cases, the infrastructure is deployed when the application is deployed or when it runs for the
参考来源
- 位置:《Infrastructure As Code》第19章《部署基础设施》(来源项目:book-sources;源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch19.html)
- 结论依据:原文在该段定义概念并解释相关过程或限制,支撑“Infrastructure from Code 把所需基础设施嵌入应用代码,可在部署、初次运行或首次使用时创建”这一核心结论;正文的用途与边界据同小节后续论述整理。
- 原始内容:Some leading-edge, experimental tools take the infrastructure descriptor concept a step further by embedding code that defines the infrastructure needed by an application into the application code. In some cases, the infrastructure is deployed when the application is deployed or when it runs for the