|
| 1 | +--- |
| 2 | +api_metadata: |
| 3 | + apiVersion: "" |
| 4 | + import: "k8s.io/api/core/v1" |
| 5 | + kind: "TypedLocalObjectReference" |
| 6 | +content_type: "api_reference" |
| 7 | +description: "TypedLocalObjectReference 包含足够的信息,可以让你在同一个名称空间中定位指定类型的引用对象。" |
| 8 | +title: "TypedLocalObjectReference" |
| 9 | +weight: 13 |
| 10 | +auto_generated: true |
| 11 | +--- |
| 12 | +<!-- |
| 13 | +--- |
| 14 | +api_metadata: |
| 15 | + apiVersion: "" |
| 16 | + import: "k8s.io/api/core/v1" |
| 17 | + kind: "TypedLocalObjectReference" |
| 18 | +content_type: "api_reference" |
| 19 | +description: "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace." |
| 20 | +title: "TypedLocalObjectReference" |
| 21 | +weight: 13 |
| 22 | +auto_generated: true |
| 23 | +--- |
| 24 | +--> |
| 25 | + |
| 26 | +<!-- |
| 27 | +The file is auto-generated from the Go source code of the component using a generic |
| 28 | +[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how |
| 29 | +to generate the reference documentation, please read |
| 30 | +[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/). |
| 31 | +To update the reference content, please follow the |
| 32 | +[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/) |
| 33 | +guide. You can file document formatting bugs against the |
| 34 | +[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project. |
| 35 | +--> |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | +`import "k8s.io/api/core/v1"` |
| 40 | + |
| 41 | +<!-- |
| 42 | +TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace. |
| 43 | +--> |
| 44 | + |
| 45 | +TypedLocalObjectReference 包含足够的信息,可以让你在同一个名称空间中定位特定类型的引用对象。 |
| 46 | +<!-- |
| 47 | +<hr> |
| 48 | +
|
| 49 | +- **kind** (string), required |
| 50 | +
|
| 51 | + Kind is the type of resource being referenced |
| 52 | +
|
| 53 | +- **name** (string), required |
| 54 | +
|
| 55 | + Name is the name of resource being referenced |
| 56 | +
|
| 57 | +- **apiGroup** (string) |
| 58 | +
|
| 59 | + APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. |
| 60 | +--> |
| 61 | + |
| 62 | +<hr> |
| 63 | + |
| 64 | +- **kind** (string), 必需 |
| 65 | + |
| 66 | + Kind 是被引用的资源的类型 |
| 67 | + |
| 68 | +- **name** (string), 必需 |
| 69 | + |
| 70 | + Name 是被引用的资源的名称 |
| 71 | + |
| 72 | +- **apiGroup** (string) |
| 73 | + |
| 74 | + APIGroup 是被引用资源的组。如果不指定 APIGroup,则指定的 Kind 必须在核心 API 组中。对于任何其它第三方类型,都需要 APIGroup。 |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
0 commit comments