Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

翻译4 Reference 和 4.5.5 Object/DeepCopy #173

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/book/src/reference/markers/object.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Object/DeepCopy

These markers control when `DeepCopy` and `runtime.Object` implementation
methods are generated.
这些标记控制 `DeepCopy` 和 `runtime.Object` 实现方法的自动生成。

{{#markerdocs object}}
41 changes: 18 additions & 23 deletions docs/book/src/reference/reference.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,24 @@
# Reference
# 参考

- [Generating CRDs](generating-crd.md)
- [Using Finalizers](using-finalizers.md)
Finalizers are a mechanism to
execute any custom logic related to a resource before it gets deleted from
Kubernetes cluster.
- [Kind cluster](kind.md)
- [What's a webhook?](webhook-overview.md)
Webhooks are HTTP callbacks, there are 3
types of webhooks in k8s: 1) admission webhook 2) CRD conversion webhook 3)
authorization webhook
- [Admission webhook](admission-webhook.md)
Admission webhooks are HTTP
callbacks for mutating or validating resources before the API server admit
them.
- [Markers for Config/Code Generation](markers.md)
- [生成 CRDs](generating-crd.md)
- [使用 Finalizers](using-finalizers.md)
Finalizers 是一种在资源被从 Kubernetes 集群删除之前,对资源执行的任何与资源相关的自定义逻辑的机制。
- [Kind 集群](kind.md)
- [什么是 webhook?](webhook-overview.md)
Webhooks 是一种 HTTP 回调,在 k8s 中有三种 webhooks:1)准入 webhook
2)CRD 转换 webhook 3)授权 webhook
- [准入 webhook](admission-webhook.md)
准入 webhooks 是对 mutating 和 validating 资源在准入 API server 之前的 HTTP 回调。
- [Config/Code 生成标记](markers.md)

- [CRD Generation](markers/crd.md)
- [CRD Validation](markers/crd-validation.md)
- [CRD 生成](markers/crd.md)
- [CRD 验证](markers/crd-validation.md)
- [Webhook](markers/webhook.md)
- [Object/DeepCopy](markers/object.md)
- [RBAC](markers/rbac.md)

- [controller-gen CLI](controller-gen.md)
- [completion](completion.md)
- [Artifacts](artifacts.md)
- [Writing controller tests](writing-tests.md)
- [Metrics](metrics.md)
- [controller-gen 命令行](controller-gen.md)
- [完成](completion.md)
- [制品](artifacts.md)
- [编写 controller 测试](writing-tests.md)
- [指标](metrics.md)