|
| 1 | +--- |
| 2 | +api_metadata: |
| 3 | + apiVersion: "" |
| 4 | + import: "k8s.io/api/core/v1" |
| 5 | + kind: "ObjectFieldSelector" |
| 6 | +content_type: "api_reference" |
| 7 | +description: "ObjectFieldSelector 选择对象的 APIVersioned 字段。" |
| 8 | +title: "ObjectFieldSelector" |
| 9 | +weight: 6 |
| 10 | +auto_generated: true |
| 11 | +--- |
| 12 | + |
| 13 | +<!-- |
| 14 | +The file is auto-generated from the Go source code of the component using a generic |
| 15 | +[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how |
| 16 | +to generate the reference documentation, please read |
| 17 | +[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/). |
| 18 | +To update the reference content, please follow the |
| 19 | +[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/) |
| 20 | +guide. You can file document formatting bugs against the |
| 21 | +[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project. |
| 22 | +--> |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | +`import "k8s.io/api/core/v1"` |
| 27 | + |
| 28 | +<!-- |
| 29 | +ObjectFieldSelector selects an APIVersioned field of an object. |
| 30 | +--> |
| 31 | +ObjectFieldSelector 选择对象的 APIVersioned 字段。 |
| 32 | +<!-- |
| 33 | +<hr> |
| 34 | +
|
| 35 | +- **fieldPath** (string), required |
| 36 | +
|
| 37 | + Path of the field to select in the specified API version. |
| 38 | +
|
| 39 | +- **apiVersion** (string) |
| 40 | +
|
| 41 | + Version of the schema the FieldPath is written in terms of, defaults to "v1". |
| 42 | +--> |
| 43 | +<hr> |
| 44 | + |
| 45 | + |
| 46 | +- **fieldPath** (string), 必需的 |
| 47 | + |
| 48 | + 在指定 API 版本中要选择的字段的路径。 |
| 49 | + |
| 50 | +- **apiVersion** (string) |
| 51 | + |
| 52 | + `fieldPath` 写入时所使用的模式版本,默认为 "v1"。 |
| 53 | + |
| 54 | + |
0 commit comments