Expand description
Types for the Aggregated Discovery API (apidiscovery.k8s.io/v2)
These types are not part of the Kubernetes OpenAPI spec, so they are defined here rather than in k8s-openapi. They mirror the types from k8s.io/api/apidiscovery/v2.
The Aggregated Discovery API is available since Kubernetes 1.26 (beta) and stable in 1.30+.
Structs§
- APIGroup
Discovery - APIGroupDiscovery holds information about which resources are being served for all version of the API Group. It contains a list of APIVersionDiscovery that holds a list of APIResourceDiscovery types served for a version. Versions are in descending order of preference, with the first version being the preferred entry.
- APIGroup
Discovery List - APIGroupDiscoveryList is a resource containing a list of APIGroupDiscovery. This is one of the types that can be returned from the /api and /apis endpoint and contains an aggregated list of API resources (built-ins, Custom Resource Definitions, resources from aggregated servers) that a cluster supports.
- APIResource
Discovery - APIResourceDiscovery provides information about an API resource for discovery.
- APISubresource
Discovery - APISubresourceDiscovery provides information about an API subresource for discovery.
- APIVersion
Discovery - APIVersionDiscovery holds a list of APIResourceDiscovery types that are served for a particular version within an API Group.
- Group
Version Kind - GroupVersionKind unambiguously identifies a kind. This is a local copy for use in discovery types.
Constants§
- ACCEPT_
AGGREGATED_ DISCOVERY_ V2 - Content negotiation Accept header for Aggregated Discovery API v2