LocalObjectReference
LocalObjectReference 包含足够的信息,可以让你在同一命名空间内找到引用的对象。
import "k8s.io/api/core/v1"
LocalObjectReference 包含足够的信息,可以让你在同一命名空间(namespace)内找到引用的对象。
-
name (string)
被引用者的名称。该字段实际上是必需的,但由于向后兼容性允许为空。 这种类型的实例如果此处具有空值,几乎肯定是错误的。 更多信息:https://kubernetes.io/zh-cn/docs/concepts/overview/working-with-objects/names/#names。
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
最后修改 October 04, 2024 at 10:12 PM PST: [zh-cn]sync local-object-reference.md (ef27a0ce3b)
该页面是自动生成的。
如果你打算报告此页面的问题,请在问题描述中提及该页面是自动生成的。修复可能需要在 Kubernetes 项目的其他地方进行。