ObjectFieldSelector

io.k8s.api.core.v1.ObjectFieldSelector source ↗

ObjectFieldSelector selects an APIVersioned field of an object.

apiVersionstringVersion of the schema the FieldPath is written in terms of, defaults to "v1".
fieldPathstring requiredPath of the field to select in the specified API version.