TypedLocalObjectReference
TypedLocalObjectReference 包含足够的信息,可以让你在同一个名称空间中定位指定类型的引用对象。
import "k8s.io/api/core/v1"
TypedLocalObjectReference 包含足够的信息,可以让你在同一个名称空间中定位特定类型的引用对象。
-
kind (string),必需
kind 是被引用的资源的类型。
-
name (string),必需
name 是被引用的资源的名称。
-
apiGroup (string)
apiGroup 是被引用资源的组。如果不指定 apiGroup,则指定的 kind 必须在核心 API 组中。 对于任何其它第三方类型,都需要 apiGroup。
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 23, 2023 at 5:00 PM PST: [zh] Clean up kubernetes-api/common-definitions/ files (ed70f0d450)