GroupVersionForDiscovery

You are viewing documentation for Kubernetes version: v1.36

Kubernetes v1.36 documentation is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date information, see the latest version.

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.

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.