GroupVersionForDiscovery

GroupVersionForDiscovery

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

apiVersion: meta/v1

import "k8s.io/apimachinery/pkg/apis/meta/v1"

GroupVersionForDiscovery

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


FieldDescription
groupVersion *
string
groupVersion specifies the API group and version in the form "group/version"
version *
string
version specifies the version in the form of "version". This is to save the clients the trouble of splitting the GroupVersion.
Last modified August 26, 2026 at 9:15 PM PST: Update the generated API reference pages for v1.37 (e3028857f9)

This page is automatically generated.

If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.