kubernetes/pkg/apis/core/v1
Patrick Ohly bde9b64cdf DRA: remove "source" indirection from v1 Pod API
This makes the API nicer:

    resourceClaims:
    - name: with-template
      resourceClaimTemplateName: test-inline-claim-template
    - name: with-claim
      resourceClaimName: test-shared-claim

Previously, this was:

    resourceClaims:
    - name: with-template
      source:
        resourceClaimTemplateName: test-inline-claim-template
    - name: with-claim
      source:
        resourceClaimName: test-shared-claim

A more long-term benefit is that other, future alternatives
might not make sense under the "source" umbrella.

This is a breaking change. It's justified because DRA is still
alpha and will have several other API breaks in 1.31.
2024-06-27 17:53:24 +02:00
..
helper remove unused function LoadBalancerStatusEqual 2024-05-30 23:03:54 +00:00
validation generic set 2023-10-28 15:31:28 +08:00
conversion_test.go Merge pull request #114902 from TommyStarK/pkg-apis/replace-deprecated-pointer-function 2023-03-09 21:34:15 -08:00
conversion.go Merge pull request #123905 from aojea/field_selector 2024-04-19 15:30:55 -07:00
defaults_test.go Cleanup defer from SetFeatureGateDuringTest function call 2024-04-24 20:25:29 +02:00
defaults.go Remove DefaultHostNetworkHostPortsInPodTemplates gate 2024-04-19 15:24:15 -07:00
doc.go Change defaulter-gen input to package path 2021-08-14 11:00:18 -04:00
OWNERS lavalamp is taking a long break 2023-05-11 16:43:38 +00:00
register.go Fix: pkg/apis Typos in comments, function name, error message 2020-02-24 00:11:00 +09:00
zz_generated.conversion.go DRA: remove "source" indirection from v1 Pod API 2024-06-27 17:53:24 +02:00
zz_generated.defaults.go Rename ContainerStatus.ResourcesAllocated to ContainerStatus.AllocatedResources - generated files 2023-03-10 14:49:26 +00:00