Skip to content

Commit

Permalink
Merge pull request #190 from kcl-lang/kcd-hangzhou-kcl-content-blog
Browse files Browse the repository at this point in the history
docs: add sections and web figures for kcd hangzhou kcl post
  • Loading branch information
Peefy authored Oct 30, 2023
2 parents 307d2e2 + 56f5d37 commit 80bd82b
Show file tree
Hide file tree
Showing 36 changed files with 390 additions and 6 deletions.
6 changes: 3 additions & 3 deletions blog/2023-09-08-dcm-using-kcl/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ In summary, the KRM KCL specification presents a new paradigm for dynamic config

In the KRM KCL specification, we categorize the behaviors of the KCL configuration model into three main types:

+ **Mutation**: Takes input KCL parameters params and outputs a KRM list.
+ **Validation**: Takes input KCL parameters params and a KRM list, and outputs a modified KRM list.
+ **Abstraction**: Takes input KCL parameters params and a KRM list, and outputs a KRM list and resource validation results.
+ **Mutation**: Takes input KCL parameters params and a KRM list, and outputs a modified KRM list.
+ **Validation**: Takes input KCL parameters params and a KRM list, and outputs a KRM list and resource validation results.
+ **Abstraction**: Takes input KCL parameters params and outputs a KRM list.

Using KCL, we can programmatically achieve the following capabilities:

Expand Down
189 changes: 189 additions & 0 deletions blog/2023-10-23-cloud-native-supply-chain-krm-kcl-spec/index.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ KRM KCL 规范的另一个重要特性是其对动态配置管理的支持。传

在 KRM KCL 规范,我们将 KCL 配置模型的行为主要分成三类

+ **Mutation**: 输入 KCL 参数 `params` 并输出 KRM 列表
+ **Validation**: 输入 KCL 参数 `params` 和 KRM 列表并输出修改后 KRM 列表
+ **Abstraction**: 输入 KCL 参数 `params` KRM 列表并输出 KRM 列表和资源验证结果。
+ **Mutation**: 输入 KCL 参数 `params` KRM 列表并输出修改后 KRM 列表。
+ **Validation**: 输入 KCL 参数 `params` 和 KRM 列表并输出 KRM 列表和资源验证结果
+ **Abstraction**: 输入 KCL 参数 `params` 并输出 KRM 列表

我们可以使用 KCL 以可编程的方式实现如下能力:

Expand Down

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 80bd82b

Please sign in to comment.