kubernetes v1.37

APIGroup.preferredVersion

GroupVersion contains the "group/version" and "version" string of a version. It is made a struct to keep extensibility.

2 fields
APIGroup.preferredVersion fields and descriptions
Field / TypeDescription
groupVersion
string required

groupVersion specifies the API group and version in the form "group/version"

version
string required

version specifies the version in the form of "version". This is to save the clients the trouble of splitting the GroupVersion.