From 87d5930508446282c433abcdff81b4daf9b52067 Mon Sep 17 00:00:00 2001 From: thxCode Date: Mon, 26 Oct 2026 04:42:03 +0800 Subject: [PATCH 1/4] build(deps): upgrade Go and Kubernetes dependencies Signed-off-by: thxCode --- api/v1/generated.protomessage.pb.go | 23 - api/worker/v1/generated.protomessage.pb.go | 133 - .../v1alpha1/generated.protomessage.pb.go | 399 -- api/worker/v1alpha1/model_deployment_test.go | 3 +- api/worker/v1alpha1/zz_generated.crds.go | 2 +- api/worker/zz_generated.openapi.go | 1505 ++--- api/zz_generated.openapi.go | 1599 +++-- binding/amdsmi/library.go | 3 +- binding/amdsmi/library_device.go | 3 +- binding/hgml/library_device.go | 15 +- binding/hsa/cgo_helpers_static.go | 6 +- binding/nvml/library_device.go | 15 +- gen/api/builder/generate.go | 18 + .../cmd/crd-gen/generators/helper.go | 3 +- .../testdata/crd_gen/zz_generated.crds.go | 2 +- .../crd_gen/zz_generated.crds.go.expected | 2 +- .../cmd/webhook-gen/generators/helper.go | 18 +- gen/api/main.go | 3 +- go.mod | 189 +- go.sum | 467 +- hack/check/upgrade-compat.sh | 44 + hack/deps.sh | 10 +- hack/lib/proto.sh | 6 +- hack/lib/style.sh | 48 +- pack/gpustack-operator/Dockerfile | 2 +- pkg/api/helper_test.go | 3 +- .../allocator/amd/deviceplugin_test.go | 30 +- .../allocator/ascend/deviceplugin_test.go | 6 +- pkg/devicemanager/allocator/ascend/share.go | 3 +- .../allocator/cambricon/deviceplugin_test.go | 6 +- pkg/devicemanager/allocator/cambricon/smlu.go | 6 +- pkg/devicemanager/allocator/hygon/mig.go | 21 +- .../allocator/hygon/mig_reclaim.go | 3 +- pkg/devicemanager/allocator/hygon/mig_test.go | 15 +- .../allocator/hygon/mig_visibility.go | 24 +- .../allocator/hygon/preflight.go | 3 +- pkg/devicemanager/allocator/metax/sgpu.go | 6 +- pkg/devicemanager/allocator/nvidia/mig.go | 18 +- .../allocator/nvidia/mig_test.go | 42 +- .../allocator/nvidia/mig_visibility_test.go | 6 +- .../allocator/nvidia/preflight_test.go | 3 +- .../allocator/thead/deviceplugin_test.go | 30 +- pkg/devicemanager/allocator/thead/mig.go | 21 +- pkg/devicemanager/allocator/thead/mig_test.go | 6 +- .../allocator/thead/mig_visibility.go | 3 +- .../allocator/thead/mig_visibility_test.go | 12 +- pkg/devicemanager/detector/detector_test.go | 6 +- .../detector/hygon/mig_profile.go | 12 +- .../detector/hygon/mig_profile_test.go | 3 +- pkg/devicemanager/detector/link.go | 3 +- pkg/devicemanager/detector/link_test.go | 6 +- .../detector/node_feature_sync_test.go | 6 +- .../detector/nvidia/mig_process.go | 9 +- .../detector/nvidia/mig_process_test.go | 3 +- .../detector/nvidia/mig_profile.go | 3 +- .../detector/nvidia/mig_profile_test.go | 3 +- pkg/devicemanager/detector/slice.go | 9 +- pkg/devicemanager/detector/slice_test.go | 78 +- .../detector/thead/mig_process.go | 9 +- .../detector/thead/mig_profile.go | 12 +- .../detector/thead/mig_profile_test.go | 6 +- pkg/devicemanager/exporter/collector_test.go | 12 +- pkg/devicemanager/manager.go | 3 +- pkg/devicemanager/preflight/hostexec.go | 9 +- .../preflight/hostexec_crosscheck.go | 3 +- pkg/devicemanager/preflight/hostexec_test.go | 3 +- pkg/devicemanager/preflight/manage.go | 9 +- pkg/devicemanager/preflight/measure.go | 3 +- pkg/devicemanager/preflight/network.go | 3 +- pkg/devicemanager/preflight/preflight_test.go | 6 +- pkg/devicemanager/preflight/probeimage.go | 6 +- .../preflight/probeimage_test.go | 3 +- pkg/devicemanager/preflight/stage_test.go | 3 +- pkg/devicemanager/preflight/topology.go | 15 +- pkg/deviceplugin/allocation_validation.go | 18 +- .../allocation_validation_test.go | 12 +- pkg/deviceplugin/controller_test.go | 12 +- pkg/deviceplugin/preflight_injection.go | 4 +- pkg/deviceplugin/preflight_request.go | 15 +- pkg/deviceplugin/preflight_request_test.go | 9 +- pkg/deviceplugin/rdma_devices.go | 12 +- pkg/deviceplugin/server.go | 15 +- pkg/deviceplugin/server_test.go | 36 +- pkg/extensionapi/setting.go | 3 +- pkg/internalprocesses/kubernetes/embed.go | 12 +- pkg/kubeapistatus/condition.go | 4 +- pkg/kubeapistatus/status.go | 6 +- pkg/kubeapp/install.go | 2 +- .../v1/applyconfiguration.go | 65 + .../v1/expressionwarning.go | 4 +- .../admissionregistration/v1/jsonpatch.go | 89 + .../v1/matchcondition.go | 4 +- .../v1/matchresources.go | 8 +- .../v1/mutatingadmissionpolicy.go | 221 + .../v1/mutatingadmissionpolicybinding.go | 231 + .../v1/mutatingadmissionpolicybindingspec.go | 59 + .../v1/mutatingadmissionpolicyspec.go | 158 + .../v1/mutatingwebhook.go | 21 +- .../v1/mutatingwebhookconfiguration.go | 4 +- .../admissionregistration/v1/mutation.go | 57 + .../v1/namedrulewithoperations.go | 2 +- .../admissionregistration/v1/paramkind.go | 4 +- .../admissionregistration/v1/paramref.go | 4 +- .../admissionregistration/v1/rule.go | 7 +- .../v1/rulewithoperations.go | 2 +- .../v1/servicereference.go | 8 +- .../admissionregistration/v1/typechecking.go | 2 +- .../v1/validatingadmissionpolicy.go | 6 +- .../v1/validatingadmissionpolicybinding.go | 4 +- .../validatingadmissionpolicybindingspec.go | 4 +- .../v1/validatingadmissionpolicyspec.go | 11 +- .../v1/validatingadmissionpolicystatus.go | 6 +- .../v1/validatingwebhook.go | 21 +- .../v1/validatingwebhookconfiguration.go | 4 +- .../admissionregistration/v1/validation.go | 6 +- .../admissionregistration/v1/variable.go | 4 +- .../v1/webhookclientconfig.go | 8 +- .../applyconfiguration/api/v1/condition.go | 6 + .../v1/customresourcedefinitionversion.go | 1 + .../apiextensions/v1/jsonschemaprops.go | 1 + .../apiextensions/v1/validationrule.go | 1 + .../apiextensions/v1/webhookclientconfig.go | 2 + .../v1alpha1/serverstorageversion.go | 7 +- .../v1alpha1/storageversion.go | 5 +- .../v1alpha1/storageversioncondition.go | 12 +- .../v1alpha1/storageversionstatus.go | 9 +- .../v1/rollingupdatestatefulsetstrategy.go | 1 + .../autoscaling/v2/hpascalingrules.go | 1 + .../applyconfiguration/batch/v1/jobspec.go | 3 + .../applyconfiguration/batch/v1/jobstatus.go | 2 + .../batch/v1/successpolicyrule.go | 2 + .../v1/certificatesigningrequestspec.go | 1 + .../v1/certificatesigningrequeststatus.go | 1 + .../core/v1/envvarsource.go | 1 + .../core/v1/imagevolumestatus.go | 28 + .../v1/nodeallocatableresourceclaimstatus.go | 59 + .../core/v1/persistentvolumesource.go | 3 +- .../core/v1/podaffinityterm.go | 2 + .../core/v1/podcertificateprojection.go | 6 + .../core/v1/podcondition.go | 1 - .../core/v1/podresourceclaim.go | 18 + .../core/v1/podresourceclaimstatus.go | 14 +- .../core/v1/podschedulinggroup.go | 31 + .../applyconfiguration/core/v1/podspec.go | 33 +- .../applyconfiguration/core/v1/podstatus.go | 19 + .../core/v1/resourceclaim.go | 1 + .../core/v1/resourcehealth.go | 11 + .../core/v1/resourcerequirements.go | 1 + .../core/v1/securitycontext.go | 1 - .../core/v1/volumemountstatus.go | 11 + .../core/v1/volumeprojection.go | 2 + .../core/v1/volumesource.go | 6 +- .../core/v1/volumestatus.go | 27 + .../v1/exemptprioritylevelconfiguration.go | 1 + .../v1/limitedprioritylevelconfiguration.go | 2 + .../kueue/v1beta2/admissioncheckstate.go | 1 + .../kueue/v1beta2/admissionscope.go | 1 + .../kueue/v1beta2/borrowwithincohort.go | 2 + .../kueue/v1beta2/clusterqueuepreemption.go | 2 + .../kueue/v1beta2/clusterqueuespec.go | 16 + .../kueue/v1beta2/cohortspec.go | 1 + .../v1beta2/concurrentadmissionconstraints.go | 33 + .../v1beta2/concurrentadmissionmigration.go | 43 + .../v1beta2/concurrentadmissionpolicy.go | 31 + .../kueue/v1beta2/flavorfungibility.go | 3 + .../kueue/v1beta2/kubeconfig.go | 1 + .../kueue/v1beta2/localqueuespec.go | 1 + .../kueue/v1beta2/multikueueconfigspec.go | 22 + .../kueue/v1beta2/podset.go | 2 + .../kueue/v1beta2/podsetassignment.go | 3 + .../podsetslicerequiredtopologyconstraint.go | 2 + .../kueue/v1beta2/podsettopologyrequest.go | 6 + .../kueue/v1beta2/priorityclassref.go | 3 + .../v1beta2/provisioningrequestconfigspec.go | 10 + .../provisioningrequestpodsetupdates.go | 1 + ...sioningrequestpodsetupdatesnodeselector.go | 2 + .../kueue/v1beta2/requeuestate.go | 2 + .../kueue/v1beta2/resourceflavorspec.go | 3 + .../kueue/v1beta2/schedulingstats.go | 1 + .../kueue/v1beta2/topologyassignment.go | 1 + .../kueue/v1beta2/topologylevel.go | 1 + .../kueue/v1beta2/topologyspec.go | 1 + .../kueue/v1beta2/unhealthynode.go | 1 + .../workloadschedulingstatseviction.go | 3 + .../kueue/v1beta2/workloadspec.go | 5 +- .../kueue/v1beta2/workloadstatus.go | 7 + .../policy/v1/poddisruptionbudgetstatus.go | 1 + .../resource/v1/allocateddevicestatus.go | 7 + .../resource/v1/allocationresult.go | 5 +- .../resource/v1/capacityrequestpolicy.go | 3 + .../resource/v1/capacityrequestpolicyrange.go | 3 + .../resource/v1/capacityrequirements.go | 1 + .../resource/v1/celdeviceselector.go | 9 + .../applyconfiguration/resource/v1/counter.go | 1 + .../resource/v1/counterset.go | 2 + .../applyconfiguration/resource/v1/device.go | 47 +- .../v1/deviceallocationconfiguration.go | 2 + .../resource/v1/deviceallocationresult.go | 2 + .../resource/v1/deviceattribute.go | 64 + .../resource/v1/devicecapacity.go | 2 + .../resource/v1/deviceclaim.go | 3 + .../resource/v1/deviceclaimconfiguration.go | 1 + .../resource/v1/deviceclass.go | 3 - .../resource/v1/deviceclassspec.go | 4 +- .../resource/v1/deviceconfiguration.go | 1 + .../resource/v1/deviceconstraint.go | 13 + .../resource/v1/devicecounterconsumption.go | 2 + .../resource/v1/devicerequest.go | 3 + .../v1/devicerequestallocationresult.go | 19 +- .../resource/v1/deviceselector.go | 1 + .../resource/v1/devicesubrequest.go | 9 +- .../resource/v1/devicetaint.go | 15 +- .../resource/v1/devicetoleration.go | 5 + .../resource/v1/exactdevicerequest.go | 12 +- .../resource/v1/networkdevicedata.go | 7 +- .../v1/nodeallocatableresourcemapping.go | 68 + .../resource/v1/opaquedeviceconfiguration.go | 2 + .../resource/v1/resourceclaim.go | 3 - .../resource/v1/resourceclaimspec.go | 1 + .../resource/v1/resourceclaimstatus.go | 3 + .../resource/v1/resourceclaimtemplate.go | 3 - .../resource/v1/resourcepool.go | 3 + .../resource/v1/resourceslice.go | 3 - .../resource/v1/resourceslicespec.go | 8 + .../storage/v1/csidriverspec.go | 38 +- .../storage/v1/csistoragecapacity.go | 3 + .../storage/v1/tokenrequest.go | 1 + .../storage/v1/volumeerror.go | 3 +- pkg/kubeclients/applyconfiguration/utils.go | 32 +- .../worker/v1/instanceimagepullsecretspec.go | 2 + .../worker/v1/instancepersistentvolumespec.go | 4 + .../v1/instancepersistentvolumetypespec.go | 2 + .../worker/v1/instancesshpublickeyspec.go | 2 + .../v1/nfsinstancepersistentvolumesource.go | 3 + .../v1/s3instancepersistentvolumesource.go | 3 + .../worker/v1alpha1/acceleratorallocation.go | 4 + .../v1alpha1/acceleratorphysicalsliced.go | 1 + .../acceleratorphysicalslicedprofile.go | 1 + .../acceleratorslicedphysicaldetail.go | 1 + .../worker/v1alpha1/devicefabric.go | 1 + .../worker/v1alpha1/deviceinterface.go | 2 + .../worker/v1alpha1/devicesallocationgroup.go | 1 + .../worker/v1alpha1/devicesgroup.go | 1 + .../worker/v1alpha1/devicesspec.go | 2 + .../worker/v1alpha1/devicesstatus.go | 1 + .../worker/v1alpha1/devicetopology.go | 1 + .../v1alpha1/instanceadditionalvolume.go | 2 + .../v1alpha1/instanceephemeralvolume.go | 1 + .../v1alpha1/instancemodelvolumesource.go | 1 + .../worker/v1alpha1/instanceport.go | 2 + .../worker/v1alpha1/instanceresources.go | 6 + .../worker/v1alpha1/instancespec.go | 5 + .../worker/v1alpha1/instancetemplate.go | 8 + .../v1alpha1/instancetypeacceleratordetail.go | 1 + .../instancetypepartitionedresource.go | 2 + .../worker/v1alpha1/instancetypespec.go | 2 + .../worker/v1alpha1/kvcachebackendendpoint.go | 2 + .../worker/v1alpha1/kvcachebackendexternal.go | 1 + .../worker/v1alpha1/kvcachebackendleader.go | 7 + .../worker/v1alpha1/kvcachebackendmanaged.go | 2 + .../worker/v1alpha1/kvcachebackendmember.go | 10 + .../v1alpha1/kvcachebackendmemberhostpath.go | 3 + .../v1alpha1/kvcachebackendmemberlocaldisk.go | 2 + .../kvcachebackendmemberlocaldiskeviction.go | 2 + ...backendmemberlocaldiskevictionwatermark.go | 2 + .../v1alpha1/kvcachebackendmemberstatus.go | 3 + .../v1alpha1/kvcachebackendmembertransport.go | 1 + .../worker/v1alpha1/kvcachebackendscalein.go | 1 + .../worker/v1alpha1/kvcachebackendspec.go | 6 + .../worker/v1alpha1/kvcachebackendstatus.go | 4 + .../v1alpha1/kvcachebackendtransport.go | 1 + .../v1alpha1/kvcachepoolbindingdomain.go | 3 + .../v1alpha1/kvcachepoolbindingquota.go | 1 + .../worker/v1alpha1/kvcachepoolbindingspec.go | 3 + .../v1alpha1/kvcachepoolbindingstatus.go | 3 + .../worker/v1alpha1/kvcachepooldomain.go | 4 + .../worker/v1alpha1/kvcachepoolquota.go | 1 + .../worker/v1alpha1/kvcachepoolspec.go | 2 + .../worker/v1alpha1/kvcachepoolstatus.go | 4 + .../worker/v1alpha1/modelartifacthubsource.go | 3 + .../v1alpha1/modelartifactimagesource.go | 1 + .../worker/v1alpha1/modelartifactnodes.go | 4 + ...odelartifactpersistentvolumeclaimsource.go | 2 + .../worker/v1alpha1/modelartifactresolved.go | 5 + .../worker/v1alpha1/modelartifactsource.go | 4 + .../worker/v1alpha1/modelartifactspec.go | 3 + .../worker/v1alpha1/modelartifactstatus.go | 3 + .../modeldeploymentadditionalvolume.go | 2 + .../worker/v1alpha1/modeldeploymentengine.go | 2 + .../modeldeploymentgroupmemberstatus.go | 4 + .../v1alpha1/modeldeploymentgroupstatus.go | 9 + .../worker/v1alpha1/modeldeploymentkvcache.go | 2 + .../v1alpha1/modeldeploymentkvcachedomain.go | 2 + .../v1alpha1/modeldeploymentkvcachestatus.go | 3 + .../v1alpha1/modeldeploymentkvtransfer.go | 1 + .../worker/v1alpha1/modeldeploymentmodel.go | 2 + .../v1alpha1/modeldeploymentmodelstatus.go | 4 + ...odeldeploymentparallelismdeclaredstatus.go | 2 + .../modeldeploymentparallelismsourcestatus.go | 2 + .../worker/v1alpha1/modeldeploymentport.go | 2 + .../modeldeploymentretirementstatus.go | 11 + .../worker/v1alpha1/modeldeploymentrole.go | 19 + .../v1alpha1/modeldeploymentroleelasticep.go | 1 + .../modeldeploymentroleendpointsstatus.go | 2 + .../modeldeploymentroleparallelismstatus.go | 4 + .../v1alpha1/modeldeploymentroleresources.go | 4 + .../v1alpha1/modeldeploymentrolestatus.go | 6 + .../worker/v1alpha1/modeldeploymentrouter.go | 8 + .../v1alpha1/modeldeploymentrouterkvevents.go | 2 + .../v1alpha1/modeldeploymentroutermetrics.go | 1 + .../modeldeploymentrouterrolestatus.go | 1 + .../v1alpha1/modeldeploymentrouterstatus.go | 4 + .../modeldeploymentscaleralgorithmspec.go | 4 + .../modeldeploymentscalerbehaviorspec.go | 2 + .../modeldeploymentscalerbindingstatus.go | 3 + .../modeldeploymentscalercommitstatus.go | 6 + .../modeldeploymentscalerdemandsample.go | 2 + .../modeldeploymentscalerkalmancovariance.go | 4 + ...odeldeploymentscalerpendingcohortstatus.go | 5 + .../modeldeploymentscalerpredictivespec.go | 9 + .../modeldeploymentscalerpredictorstatus.go | 6 + .../modeldeploymentscalerproportionalspec.go | 3 + .../modeldeploymentscalerrebalancespec.go | 2 + .../modeldeploymentscalerrebalancestatus.go | 8 + .../modeldeploymentscalerrolebounds.go | 3 + .../modeldeploymentscalerroleratio.go | 5 + .../modeldeploymentscalerrolestatus.go | 16 + .../modeldeploymentscalerroletarget.go | 2 + .../modeldeploymentscalersamplingspec.go | 2 + .../modeldeploymentscalerscaledownrules.go | 4 + .../modeldeploymentscalerscaledownstatus.go | 6 + .../modeldeploymentscalerscaleuprules.go | 4 + .../v1alpha1/modeldeploymentscalerspec.go | 9 + ...odeldeploymentscalerstabilizationsample.go | 2 + .../v1alpha1/modeldeploymentscalerstatus.go | 9 + .../modeldeploymentscalersteppolicy.go | 2 + .../modeldeploymentscalertargetreference.go | 1 + ...odeldeploymentscalertokenthroughputspec.go | 8 + .../v1alpha1/modeldeploymentservingstatus.go | 2 + .../worker/v1alpha1/modeldeploymentspec.go | 6 + .../worker/v1alpha1/modeldeploymentstatus.go | 4 + .../worker/v1alpha1/modelprefetchplacement.go | 2 + .../worker/v1alpha1/modelprefetchretention.go | 2 + .../worker/v1alpha1/modelprefetchspec.go | 5 + .../worker/v1alpha1/modelprefetchstatus.go | 4 + .../worker/v1alpha1/modelstorebindingquota.go | 1 + .../worker/v1alpha1/modelstorebindingspec.go | 3 + .../v1alpha1/modelstorebindingstatus.go | 2 + .../worker/v1alpha1/modelstorecapacity.go | 2 + .../worker/v1alpha1/modelstoredownload.go | 2 + .../worker/v1alpha1/modelstorespec.go | 3 + .../worker/v1alpha1/modelstorestatus.go | 2 + .../worker/v1alpha1/nodemodelstorecapacity.go | 3 + .../worker/v1alpha1/nodemodelstoredownload.go | 2 + .../worker/v1alpha1/nodemodelstorehub.go | 5 + .../worker/v1alpha1/nodemodelstorekubelet.go | 3 + .../worker/v1alpha1/nodemodelstoremodel.go | 10 + .../worker/v1alpha1/nodemodelstorespec.go | 7 + .../worker/v1alpha1/nodemodelstorestatus.go | 4 + .../v1alpha1/nodemodelstorewatermarks.go | 2 + .../admissionregistration/v1/interface.go | 14 + .../v1/mutatingadmissionpolicy.go | 104 + .../v1/mutatingadmissionpolicybinding.go | 104 + .../v1/mutatingwebhookconfiguration.go | 48 +- .../v1/validatingadmissionpolicy.go | 48 +- .../v1/validatingadmissionpolicybinding.go | 48 +- .../v1/validatingwebhookconfiguration.go | 48 +- pkg/kubeclients/informers/api/v1/setting.go | 48 +- .../v1/customresourcedefinition.go | 48 +- .../apiregistration/v1/apiservice.go | 48 +- .../v1alpha1/storageversion.go | 48 +- .../informers/apps/v1/controllerrevision.go | 48 +- .../informers/apps/v1/daemonset.go | 48 +- .../informers/apps/v1/deployment.go | 48 +- .../informers/apps/v1/replicaset.go | 48 +- .../informers/apps/v1/statefulset.go | 48 +- .../autoscaling/v1/horizontalpodautoscaler.go | 48 +- .../autoscaling/v2/horizontalpodautoscaler.go | 48 +- pkg/kubeclients/informers/batch/v1/cronjob.go | 48 +- pkg/kubeclients/informers/batch/v1/job.go | 48 +- .../v1/certificatesigningrequest.go | 48 +- .../informers/coordination/v1/lease.go | 48 +- .../informers/core/v1/componentstatus.go | 48 +- .../informers/core/v1/configmap.go | 48 +- .../informers/core/v1/endpoints.go | 48 +- pkg/kubeclients/informers/core/v1/event.go | 48 +- .../informers/core/v1/limitrange.go | 48 +- .../informers/core/v1/namespace.go | 48 +- pkg/kubeclients/informers/core/v1/node.go | 48 +- .../informers/core/v1/persistentvolume.go | 48 +- .../core/v1/persistentvolumeclaim.go | 48 +- pkg/kubeclients/informers/core/v1/pod.go | 48 +- .../informers/core/v1/podtemplate.go | 48 +- .../core/v1/replicationcontroller.go | 48 +- .../informers/core/v1/resourcequota.go | 48 +- pkg/kubeclients/informers/core/v1/secret.go | 48 +- pkg/kubeclients/informers/core/v1/service.go | 48 +- .../informers/core/v1/serviceaccount.go | 48 +- .../informers/discovery/v1/endpointslice.go | 48 +- pkg/kubeclients/informers/events/v1/event.go | 48 +- pkg/kubeclients/informers/factory.go | 110 +- .../informers/flowcontrol/v1/flowschema.go | 48 +- .../v1/prioritylevelconfiguration.go | 48 +- pkg/kubeclients/informers/generic.go | 4 + .../internalinterfaces/factory_interfaces.go | 19 + .../informers/kueue/v1beta2/admissioncheck.go | 48 +- .../informers/kueue/v1beta2/clusterqueue.go | 48 +- .../informers/kueue/v1beta2/cohort.go | 48 +- .../informers/kueue/v1beta2/localqueue.go | 48 +- .../kueue/v1beta2/multikueuecluster.go | 48 +- .../kueue/v1beta2/multikueueconfig.go | 48 +- .../v1beta2/provisioningrequestconfig.go | 48 +- .../informers/kueue/v1beta2/resourceflavor.go | 48 +- .../informers/kueue/v1beta2/topology.go | 48 +- .../informers/kueue/v1beta2/workload.go | 48 +- .../kueue/v1beta2/workloadpriorityclass.go | 48 +- .../informers/networking/v1/ingress.go | 48 +- .../informers/networking/v1/ingressclass.go | 48 +- .../informers/networking/v1/ipaddress.go | 48 +- .../informers/networking/v1/networkpolicy.go | 48 +- .../informers/networking/v1/servicecidr.go | 48 +- .../informers/nfd/v1alpha1/nodefeature.go | 48 +- .../nfd/v1alpha1/nodefeaturegroup.go | 48 +- .../informers/nfd/v1alpha1/nodefeaturerule.go | 48 +- .../informers/node/v1/runtimeclass.go | 48 +- .../policy/v1/poddisruptionbudget.go | 48 +- .../informers/rbac/v1/clusterrole.go | 48 +- .../informers/rbac/v1/clusterrolebinding.go | 48 +- pkg/kubeclients/informers/rbac/v1/role.go | 48 +- .../informers/rbac/v1/rolebinding.go | 48 +- .../informers/resource/v1/deviceclass.go | 48 +- .../informers/resource/v1/resourceclaim.go | 48 +- .../resource/v1/resourceclaimtemplate.go | 48 +- .../informers/resource/v1/resourceslice.go | 48 +- .../informers/scheduling/v1/priorityclass.go | 48 +- .../informers/storage/v1/csidriver.go | 48 +- .../informers/storage/v1/csinode.go | 48 +- .../storage/v1/csistoragecapacity.go | 48 +- .../informers/storage/v1/storageclass.go | 48 +- .../informers/storage/v1/volumeattachment.go | 48 +- .../storage/v1/volumeattributesclass.go | 48 +- .../v1beta1/storageversionmigration.go | 48 +- .../informers/worker/v1/devices.go | 48 +- .../informers/worker/v1/instance.go | 48 +- .../worker/v1/instanceimagepullsecret.go | 48 +- .../worker/v1/instancepersistentvolume.go | 48 +- .../worker/v1/instancepersistentvolumetype.go | 48 +- .../worker/v1/instancesshpublickey.go | 48 +- .../informers/worker/v1/instancetype.go | 48 +- .../informers/worker/v1/instancetypeflavor.go | 48 +- .../informers/worker/v1/kvcachebackend.go | 48 +- .../informers/worker/v1/kvcachepool.go | 48 +- .../informers/worker/v1/kvcachepoolbinding.go | 48 +- .../informers/worker/v1/modelartifact.go | 48 +- .../informers/worker/v1/modeldeployment.go | 48 +- .../worker/v1/modeldeploymentscaler.go | 48 +- .../informers/worker/v1/modelprefetch.go | 48 +- .../informers/worker/v1/modelstore.go | 48 +- .../informers/worker/v1/modelstorebinding.go | 48 +- .../informers/worker/v1/nodemodelstore.go | 48 +- .../informers/worker/v1/topologysource.go | 48 +- .../informers/worker/v1alpha1/devices.go | 48 +- .../informers/worker/v1alpha1/instance.go | 48 +- .../informers/worker/v1alpha1/instancetype.go | 48 +- .../worker/v1alpha1/kvcachebackend.go | 48 +- .../informers/worker/v1alpha1/kvcachepool.go | 48 +- .../worker/v1alpha1/kvcachepoolbinding.go | 48 +- .../worker/v1alpha1/modelartifact.go | 48 +- .../worker/v1alpha1/modeldeployment.go | 48 +- .../worker/v1alpha1/modeldeploymentscaler.go | 48 +- .../worker/v1alpha1/modelprefetch.go | 48 +- .../informers/worker/v1alpha1/modelstore.go | 48 +- .../worker/v1alpha1/modelstorebinding.go | 48 +- .../worker/v1alpha1/nodemodelstore.go | 48 +- .../worker/v1alpha1/topologysource.go | 48 +- .../kubernetes/fake/clientset_generated.go | 2 +- .../v1/admissionregistration_client.go | 10 + .../fake/fake_admissionregistration_client.go | 8 + .../v1/fake/fake_mutatingadmissionpolicy.go | 42 + .../fake_mutatingadmissionpolicybinding.go | 42 + .../v1/generated_expansion.go | 4 + .../v1/mutatingadmissionpolicy.go | 64 + .../v1/mutatingadmissionpolicybinding.go | 64 + .../typed/core/v1/fake/fake_node_expansion.go | 3 +- .../v1/expansion_generated.go | 8 + .../v1/mutatingadmissionpolicy.go | 37 + .../v1/mutatingadmissionpolicybinding.go | 37 + pkg/kubemetrics/accelerator.go | 6 +- pkg/kubemetrics/kubelet.go | 9 +- pkg/kubemetrics/metricsapi_test.go | 6 +- pkg/modelmanager/materialize/materialize.go | 3 +- pkg/nodefeature/fabric_test.go | 9 +- pkg/nodefeature/rdma_test.go | 6 +- pkg/setting/types.go | 2 +- pkg/utils/bytex/pool.go | 2 +- pkg/utils/ctrlhandlerx/enqueue_mapped.go | 2 +- pkg/utils/datax/ring.go | 6 +- pkg/utils/errorx/error.go | 6 +- pkg/utils/httpx/binder.go | 55 +- pkg/utils/httpx/binder_mapping.go | 4 +- pkg/utils/httpx/binder_test.go | 171 + pkg/webhook/helper_test.go | 19 +- pkg/worker/config.go | 6 +- pkg/worker/controllers/worker/instance.go | 3 +- .../controllers/worker/instance_test.go | 9 +- .../controllers/worker/instance_type.go | 3 +- .../controllers/worker/instance_type_test.go | 8 +- .../controllers/worker/kv_cache_backend.go | 33 +- .../worker/kv_cache_backend_handover.go | 12 +- .../worker/kv_cache_backend_handover_test.go | 9 +- .../worker/kv_cache_backend_rollout.go | 15 +- .../worker/kv_cache_backend_test.go | 24 +- .../worker/kv_cache_backend_tier_test.go | 9 +- .../controllers/worker/kv_cache_pool.go | 3 +- .../kv_cache_pool_binding_reconcile_test.go | 3 +- .../worker/kv_cache_pool_reconcile_test.go | 3 +- .../worker/kv_cache_pool_teardown_test.go | 6 +- .../worker/model_artifact_image_test.go | 3 +- .../worker/model_artifact_placement.go | 21 +- .../controllers/worker/model_deployment.go | 45 +- .../model_deployment_answering_shape_test.go | 6 +- .../worker/model_deployment_artifact.go | 52 +- .../worker/model_deployment_binding.go | 15 +- .../model_deployment_cache_attached_test.go | 3 +- .../worker/model_deployment_compile_cache.go | 51 +- .../model_deployment_compile_cache_test.go | 42 +- .../model_deployment_composition_test.go | 7 +- .../worker/model_deployment_connector_epd.go | 3 +- .../model_deployment_connector_epd_test.go | 18 +- .../worker/model_deployment_connector_test.go | 72 +- .../model_deployment_drain_collector.go | 12 +- .../model_deployment_drain_collector_test.go | 27 +- .../model_deployment_elastic_allocation.go | 3 +- ...odel_deployment_elastic_allocation_test.go | 51 +- .../model_deployment_elastic_observer.go | 51 +- .../model_deployment_elastic_operation.go | 39 +- ...del_deployment_elastic_operation_kernel.go | 3 +- ...model_deployment_elastic_operation_test.go | 66 +- .../model_deployment_elastic_probe_test.go | 3 +- .../model_deployment_elastic_realization.go | 3 +- .../model_deployment_elastic_reconcile.go | 6 +- ...model_deployment_elastic_reconcile_test.go | 63 +- .../model_deployment_epd_render_test.go | 9 +- .../worker/model_deployment_events.go | 9 +- .../model_deployment_group_forward_probe.go | 30 +- ...del_deployment_group_forward_probe_test.go | 81 +- .../model_deployment_group_shape_test.go | 3 +- .../model_deployment_group_status_test.go | 39 +- .../worker/model_deployment_health.go | 9 +- .../model_deployment_initial_queue_test.go | 3 +- .../model_deployment_joint_admission.go | 29 +- .../model_deployment_joint_admission_test.go | 10 +- .../model_deployment_legacy_render_test.go | 6 +- .../worker/model_deployment_parallelism.go | 9 +- .../worker/model_deployment_pod_group.go | 6 +- .../worker/model_deployment_render.go | 36 +- .../model_deployment_render_encode_test.go | 3 +- .../worker/model_deployment_render_test.go | 33 +- .../model_deployment_replacement_slot.go | 6 +- .../worker/model_deployment_retirement.go | 21 +- .../model_deployment_retirement_release.go | 33 +- ...odel_deployment_retirement_release_test.go | 30 +- ...model_deployment_retirement_status_test.go | 30 +- .../model_deployment_retirement_test.go | 153 +- .../worker/model_deployment_rollout.go | 18 +- .../worker/model_deployment_router.go | 21 +- .../model_deployment_router_observation.go | 63 +- ...odel_deployment_router_observation_test.go | 30 +- .../worker/model_deployment_router_test.go | 57 +- .../worker/model_deployment_scaler_metrics.go | 6 +- .../worker/model_deployment_scaler_sampler.go | 15 +- .../model_deployment_scaler_sampler_test.go | 3 +- .../worker/model_deployment_scaler_test.go | 3 +- .../worker/model_deployment_service.go | 9 +- .../worker/model_deployment_status.go | 57 +- .../worker/model_deployment_status_test.go | 18 +- .../worker/model_deployment_test.go | 12 +- .../model_deployment_workload_watch_test.go | 6 +- .../controllers/worker/model_prefetch.go | 3 +- .../controllers/worker/model_store_test.go | 3 +- .../controllers/worker/node_capacity_test.go | 24 +- .../worker/node_devices_admission.go | 11 +- .../worker/node_devices_admission_test.go | 22 +- .../worker/node_devices_inflight.go | 11 +- pkg/worker/controllers/worker/node_feature.go | 3 +- pkg/worker/controllers/worker/node_queue.go | 9 +- .../controllers/worker/node_queue_test.go | 5 +- .../controllers/worker/testmain_test.go | 3 +- pkg/worker/elasticengine/client.go | 3 +- .../elasticengine/effective_observation.go | 3 +- pkg/worker/extensionapis/worker/instance.go | 3 +- .../extensionapis/worker/instance.log.go | 12 +- .../extensionapis/worker/instance.metrics.go | 9 +- .../worker/instance.metrics_test.go | 3 +- .../worker/instance_persistent_volume.go | 24 +- .../worker/instance_persistent_volume_type.go | 57 +- .../worker/instance_ssh_public_key.go | 3 +- .../extensionapis/worker/instance_type.go | 3 +- .../extensionapis/worker/kv_cache_backend.go | 3 +- .../extensionapis/worker/kv_cache_pool.go | 3 +- .../worker/kv_cache_pool_binding.go | 3 +- .../extensionapis/worker/model_artifact.go | 3 +- .../worker/model_artifact.progress.go | 3 +- .../extensionapis/worker/model_deployment.go | 3 +- .../worker/model_deployment_scaler.go | 3 +- .../model_deployment_scaler_poc_test.go | 6 +- .../extensionapis/worker/model_prefetch.go | 3 +- .../extensionapis/worker/model_store.go | 3 +- .../worker/model_store_binding.go | 4 +- .../extensionapis/worker/node_model_store.go | 3 +- .../extensionapis/worker/topology_source.go | 3 +- pkg/worker/kuberess/apps_gpustack_operator.go | 3 +- pkg/worker/kuberess/chart_test.go | 12 +- pkg/worker/kvcache/inject/vllm_ascend_test.go | 3 +- pkg/worker/kvcache/inject/vllm_ec_test.go | 9 +- pkg/worker/kvcache/mooncake/admin_test.go | 21 +- .../kvcache/mooncake/leader_workload_test.go | 3 +- .../kvcache/mooncake/member_workload.go | 9 +- .../kvcache/mooncake/member_workload_test.go | 15 +- .../kvcache/mooncake/tenant_metrics_test.go | 21 +- pkg/worker/kvcache/mooncake/tenant_quota.go | 3 +- .../kvcache/mooncake/tenant_quota_test.go | 6 +- pkg/worker/kvcache/router/router.go | 6 +- pkg/worker/settings/value.go | 3 +- pkg/worker/webhooks/worker/instance.go | 144 +- pkg/worker/webhooks/worker/instance_test.go | 3 +- pkg/worker/webhooks/worker/instance_type.go | 3 +- .../webhooks/worker/kv_cache_backend.go | 48 +- .../webhooks/worker/kv_cache_backend_test.go | 27 +- pkg/worker/webhooks/worker/kv_cache_pool.go | 6 +- .../webhooks/worker/kv_cache_pool_binding.go | 24 +- .../worker/kv_cache_pool_binding_test.go | 21 +- pkg/worker/webhooks/worker/model_artifact.go | 6 +- .../webhooks/worker/model_artifact_status.go | 3 +- .../webhooks/worker/model_deployment.go | 126 +- .../webhooks/worker/model_deployment_epd.go | 43 +- .../worker/model_deployment_epd_test.go | 3 +- .../worker/model_deployment_scaler.go | 78 +- .../webhooks/worker/model_deployment_test.go | 21 +- pkg/worker/webhooks/worker/model_prefetch.go | 3 +- pkg/worker/webhooks/worker/pod_kv_cache.go | 3 +- .../worker/pod_kv_cache_invariant_test.go | 3 +- pkg/worker/webhooks/worker/testmain_test.go | 3 +- pkg/worker/webhooks/worker/workload_test.go | 2 +- pkg/workergateway/service/helper.go | 6 +- pkg/workergateway/service/helper_test.go | 3 +- staging/k8s.io/api/_VERSION_ | 2 +- .../k8s.io/api/admission/v1/generated.proto | 7 + .../admission/v1/generated.protomessage.pb.go | 28 - staging/k8s.io/api/admission/v1/types.go | 7 + .../api/admission/v1beta1/generated.proto | 7 + staging/k8s.io/api/admission/v1beta1/types.go | 7 + .../admissionregistration/v1/generated.pb.go | 4760 ++++++++++---- .../admissionregistration/v1/generated.proto | 450 +- .../v1/generated.protomessage.pb.go | 76 - .../api/admissionregistration/v1/register.go | 4 + .../api/admissionregistration/v1/types.go | 478 +- .../v1/types_swagger_doc_generated.go | 239 +- .../v1/zz_generated.deepcopy.go | 252 + .../v1/zz_generated.model_name.go | 45 + .../v1/zz_generated.prerelease-lifecycle.go | 24 + .../v1alpha1/generated.proto | 89 +- .../v1alpha1/generated.protomessage.pb.go | 74 - .../admissionregistration/v1alpha1/types.go | 85 +- .../v1alpha1/types_swagger_doc_generated.go | 80 +- .../v1beta1/generated.proto | 155 +- .../v1beta1/generated.protomessage.pb.go | 90 - .../admissionregistration/v1beta1/types.go | 159 +- .../v1beta1/types_swagger_doc_generated.go | 148 +- .../zz_generated.prerelease-lifecycle.go | 24 + .../api/apidiscovery/v2/generated.proto | 2 +- staging/k8s.io/api/apidiscovery/v2/types.go | 2 +- .../api/apidiscovery/v2beta1/generated.proto | 2 +- .../k8s.io/api/apidiscovery/v2beta1/types.go | 2 +- .../v1alpha1/generated.proto | 41 +- .../v1alpha1/generated.protomessage.pb.go | 34 - .../api/apiserverinternal/v1alpha1/types.go | 41 +- .../v1alpha1/types_swagger_doc_generated.go | 32 +- .../api/apps/v1/generated.protomessage.pb.go | 82 - .../k8s.io/api/apps/v1beta1/generated.proto | 4 +- .../apps/v1beta1/generated.protomessage.pb.go | 68 - staging/k8s.io/api/apps/v1beta1/types.go | 6 +- .../k8s.io/api/apps/v1beta2/generated.proto | 4 +- .../apps/v1beta2/generated.protomessage.pb.go | 88 - staging/k8s.io/api/apps/v1beta2/types.go | 6 +- .../api/authentication/v1/generated.proto | 64 +- .../v1/generated.protomessage.pb.go | 44 - staging/k8s.io/api/authentication/v1/types.go | 64 +- .../v1/types_swagger_doc_generated.go | 56 +- .../authentication/v1alpha1/generated.proto | 7 +- .../api/authentication/v1alpha1/types.go | 7 +- .../v1alpha1/types_swagger_doc_generated.go | 6 +- .../authentication/v1beta1/generated.proto | 36 +- .../v1beta1/generated.protomessage.pb.go | 36 - .../api/authentication/v1beta1/types.go | 36 +- .../v1beta1/types_swagger_doc_generated.go | 32 +- .../api/authorization/v1/generated.proto | 96 +- .../v1/generated.protomessage.pb.go | 54 - staging/k8s.io/api/authorization/v1/types.go | 96 +- .../v1/types_swagger_doc_generated.go | 92 +- .../api/authorization/v1beta1/generated.proto | 96 +- .../v1beta1/generated.protomessage.pb.go | 50 - .../k8s.io/api/authorization/v1beta1/types.go | 96 +- .../v1beta1/types_swagger_doc_generated.go | 92 +- .../k8s.io/api/autoscaling/v1/generated.proto | 12 +- .../v1/generated.protomessage.pb.go | 64 - staging/k8s.io/api/autoscaling/v1/types.go | 16 +- .../k8s.io/api/autoscaling/v2/generated.proto | 8 +- .../v2/generated.protomessage.pb.go | 70 - staging/k8s.io/api/autoscaling/v2/types.go | 10 +- staging/k8s.io/api/autoscaling/v2beta1/doc.go | 23 - .../api/autoscaling/v2beta1/generated.pb.go | 5106 --------------- .../api/autoscaling/v2beta1/generated.proto | 474 -- .../v2beta1/generated.protomessage.pb.go | 58 - .../api/autoscaling/v2beta1/register.go | 52 - .../k8s.io/api/autoscaling/v2beta1/types.go | 486 -- .../v2beta1/types_swagger_doc_generated.go | 247 - .../v2beta1/zz_generated.deepcopy.go | 525 -- .../v2beta1/zz_generated.model_name.go | 112 - .../zz_generated.prerelease-lifecycle.go | 74 - staging/k8s.io/api/autoscaling/v2beta2/doc.go | 23 - .../api/autoscaling/v2beta2/generated.pb.go | 5817 ----------------- .../api/autoscaling/v2beta2/generated.proto | 493 -- .../v2beta2/generated.protomessage.pb.go | 70 - .../api/autoscaling/v2beta2/register.go | 50 - .../k8s.io/api/autoscaling/v2beta2/types.go | 578 -- .../v2beta2/types_swagger_doc_generated.go | 297 - .../v2beta2/zz_generated.deepcopy.go | 610 -- .../v2beta2/zz_generated.model_name.go | 142 - .../zz_generated.prerelease-lifecycle.go | 68 - staging/k8s.io/api/batch/v1/generated.proto | 4 +- .../api/batch/v1/generated.protomessage.pb.go | 56 - staging/k8s.io/api/batch/v1/types.go | 4 +- .../k8s.io/api/batch/v1beta1/generated.proto | 4 +- .../v1beta1/generated.protomessage.pb.go | 32 - staging/k8s.io/api/batch/v1beta1/types.go | 4 +- .../api/certificates/v1/generated.proto | 16 +- .../v1/generated.protomessage.pb.go | 34 - staging/k8s.io/api/certificates/v1/types.go | 16 +- .../v1alpha1/generated.protomessage.pb.go | 28 - .../api/certificates/v1beta1/generated.pb.go | 46 + .../api/certificates/v1beta1/generated.proto | 60 +- .../v1beta1/generated.protomessage.pb.go | 48 - .../k8s.io/api/certificates/v1beta1/types.go | 62 +- .../v1beta1/types_swagger_doc_generated.go | 5 +- .../v1beta1/zz_generated.deepcopy.go | 5 + .../zz_generated.prerelease-lifecycle.go | 8 +- .../v1/generated.protomessage.pb.go | 28 - .../api/coordination/v1alpha2/generated.proto | 2 +- .../v1alpha2/generated.protomessage.pb.go | 28 - .../k8s.io/api/coordination/v1alpha2/types.go | 2 +- .../api/coordination/v1beta1/generated.proto | 2 +- .../v1beta1/generated.protomessage.pb.go | 34 - .../k8s.io/api/coordination/v1beta1/types.go | 2 +- staging/k8s.io/api/core/v1/generated.pb.go | 1697 +++-- staging/k8s.io/api/core/v1/generated.proto | 179 +- .../api/core/v1/generated.protomessage.pb.go | 498 -- staging/k8s.io/api/core/v1/types.go | 189 +- .../core/v1/types_swagger_doc_generated.go | 114 +- .../api/core/v1/zz_generated.deepcopy.go | 132 +- .../api/core/v1/zz_generated.model_name.go | 25 +- .../k8s.io/api/discovery/v1/generated.proto | 8 + .../discovery/v1/generated.protomessage.pb.go | 38 - staging/k8s.io/api/discovery/v1/types.go | 9 + .../api/discovery/v1beta1/generated.proto | 7 + .../v1beta1/generated.protomessage.pb.go | 38 - staging/k8s.io/api/discovery/v1beta1/types.go | 9 + .../events/v1/generated.protomessage.pb.go | 28 - .../v1beta1/generated.protomessage.pb.go | 28 - .../api/extensions/v1beta1/generated.proto | 11 +- .../v1beta1/generated.protomessage.pb.go | 112 - .../k8s.io/api/extensions/v1beta1/types.go | 13 +- .../v1beta1/zz_generated.validations.go | 193 +- .../k8s.io/api/flowcontrol/v1/generated.proto | 13 + .../v1/generated.protomessage.pb.go | 68 - staging/k8s.io/api/flowcontrol/v1/types.go | 13 + .../api/flowcontrol/v1beta1/generated.proto | 13 + .../v1beta1/generated.protomessage.pb.go | 68 - .../k8s.io/api/flowcontrol/v1beta1/types.go | 13 + .../api/flowcontrol/v1beta2/generated.proto | 13 + .../v1beta2/generated.protomessage.pb.go | 68 - .../k8s.io/api/flowcontrol/v1beta2/types.go | 13 + .../api/flowcontrol/v1beta3/generated.proto | 13 + .../v1beta3/generated.protomessage.pb.go | 68 - .../k8s.io/api/flowcontrol/v1beta3/types.go | 13 + staging/k8s.io/api/go.mod | 20 +- staging/k8s.io/api/go.sum | 34 +- .../api/imagepolicy/v1alpha1/generated.proto | 2 + .../v1alpha1/generated.protomessage.pb.go | 30 - .../k8s.io/api/imagepolicy/v1alpha1/types.go | 2 + .../k8s.io/api/networking/v1/generated.proto | 18 +- .../v1/generated.protomessage.pb.go | 92 - staging/k8s.io/api/networking/v1/types.go | 18 +- .../api/networking/v1beta1/generated.proto | 11 +- .../v1beta1/generated.protomessage.pb.go | 72 - .../k8s.io/api/networking/v1beta1/types.go | 11 +- staging/k8s.io/api/node/v1/generated.proto | 4 + .../api/node/v1/generated.protomessage.pb.go | 30 - staging/k8s.io/api/node/v1/types.go | 4 + .../k8s.io/api/node/v1alpha1/generated.proto | 5 + .../v1alpha1/generated.protomessage.pb.go | 32 - staging/k8s.io/api/node/v1alpha1/types.go | 5 + .../k8s.io/api/node/v1beta1/generated.proto | 4 + .../node/v1beta1/generated.protomessage.pb.go | 30 - staging/k8s.io/api/node/v1beta1/types.go | 4 + staging/k8s.io/api/policy/v1/generated.proto | 4 + .../policy/v1/generated.protomessage.pb.go | 32 - staging/k8s.io/api/policy/v1/types.go | 4 + .../k8s.io/api/policy/v1beta1/generated.proto | 4 + .../v1beta1/generated.protomessage.pb.go | 32 - staging/k8s.io/api/policy/v1beta1/types.go | 4 + staging/k8s.io/api/rbac/v1/generated.proto | 15 +- .../api/rbac/v1/generated.protomessage.pb.go | 46 - staging/k8s.io/api/rbac/v1/types.go | 15 +- .../k8s.io/api/rbac/v1alpha1/generated.proto | 15 +- .../v1alpha1/generated.protomessage.pb.go | 46 - staging/k8s.io/api/rbac/v1alpha1/types.go | 15 +- .../k8s.io/api/rbac/v1beta1/generated.proto | 15 +- .../rbac/v1beta1/generated.protomessage.pb.go | 46 - staging/k8s.io/api/rbac/v1beta1/types.go | 15 +- .../k8s.io/api/resource/v1/generated.pb.go | 641 ++ .../k8s.io/api/resource/v1/generated.proto | 405 +- .../resource/v1/generated.protomessage.pb.go | 108 - staging/k8s.io/api/resource/v1/types.go | 450 +- .../v1/types_swagger_doc_generated.go | 89 +- .../api/resource/v1/zz_generated.deepcopy.go | 53 + .../resource/v1/zz_generated.model_name.go | 5 + .../api/resource/v1alpha3/generated.pb.go | 1762 ++++- .../api/resource/v1alpha3/generated.proto | 220 +- .../v1alpha3/generated.protomessage.pb.go | 38 - .../k8s.io/api/resource/v1alpha3/register.go | 2 + staging/k8s.io/api/resource/v1alpha3/types.go | 244 +- .../v1alpha3/types_swagger_doc_generated.go | 63 +- .../v1alpha3/zz_generated.deepcopy.go | 177 + .../v1alpha3/zz_generated.model_name.go | 25 + .../zz_generated.prerelease-lifecycle.go | 36 + .../api/resource/v1beta1/generated.pb.go | 641 ++ .../api/resource/v1beta1/generated.proto | 384 +- .../v1beta1/generated.protomessage.pb.go | 108 - staging/k8s.io/api/resource/v1beta1/types.go | 411 +- .../v1beta1/types_swagger_doc_generated.go | 75 +- .../resource/v1beta1/zz_generated.deepcopy.go | 53 + .../v1beta1/zz_generated.model_name.go | 5 + .../api/resource/v1beta2/generated.pb.go | 2038 +++++- .../api/resource/v1beta2/generated.proto | 496 +- .../v1beta2/generated.protomessage.pb.go | 108 - .../k8s.io/api/resource/v1beta2/register.go | 2 + staging/k8s.io/api/resource/v1beta2/types.go | 564 +- .../v1beta2/types_swagger_doc_generated.go | 128 +- .../resource/v1beta2/zz_generated.deepcopy.go | 190 + .../v1beta2/zz_generated.model_name.go | 30 + .../zz_generated.prerelease-lifecycle.go | 36 + staging/k8s.io/api/roundtrip_test.go | 8 +- .../k8s.io/api/scheduling/v1/generated.proto | 1 + .../v1/generated.protomessage.pb.go | 26 - staging/k8s.io/api/scheduling/v1/types.go | 1 + .../api/scheduling/v1alpha1/generated.pb.go | 2010 ------ .../api/scheduling/v1alpha1/generated.proto | 190 - .../v1alpha1/generated.protomessage.pb.go | 42 - .../k8s.io/api/scheduling/v1alpha1/types.go | 201 - .../v1alpha1/types_swagger_doc_generated.go | 131 - .../v1alpha1/zz_generated.deepcopy.go | 270 - .../v1alpha1/zz_generated.model_name.go | 72 - .../scheduling/{v1alpha1 => v1alpha2}/doc.go | 6 +- .../api/scheduling/v1alpha2/generated.pb.go | 3828 +++++++++++ .../api/scheduling/v1alpha2/generated.proto | 550 ++ .../{v1alpha1 => v1alpha2}/register.go | 13 +- .../k8s.io/api/scheduling/v1alpha2/types.go | 601 ++ .../v1alpha2/types_swagger_doc_generated.go | 217 + .../v1alpha2/zz_generated.deepcopy.go | 484 ++ .../v1alpha2/zz_generated.model_name.go | 112 + .../api/scheduling/v1beta1/generated.proto | 1 + .../v1beta1/generated.protomessage.pb.go | 26 - .../k8s.io/api/scheduling/v1beta1/types.go | 1 + staging/k8s.io/api/storage/v1/generated.pb.go | 35 + staging/k8s.io/api/storage/v1/generated.proto | 40 +- .../storage/v1/generated.protomessage.pb.go | 64 - staging/k8s.io/api/storage/v1/types.go | 41 +- .../storage/v1/types_swagger_doc_generated.go | 5 +- .../api/storage/v1/zz_generated.deepcopy.go | 5 + .../api/storage/v1alpha1/generated.proto | 6 + .../v1alpha1/generated.protomessage.pb.go | 42 - staging/k8s.io/api/storage/v1alpha1/types.go | 7 + .../api/storage/v1beta1/generated.pb.go | 35 + .../api/storage/v1beta1/generated.proto | 36 +- .../v1beta1/generated.protomessage.pb.go | 64 - staging/k8s.io/api/storage/v1beta1/types.go | 37 +- .../v1beta1/types_swagger_doc_generated.go | 1 + .../storage/v1beta1/zz_generated.deepcopy.go | 5 + .../v1beta1/generated.protomessage.pb.go | 30 - .../admission.k8s.io.v1.AdmissionReview.json | 5 +- .../admission.k8s.io.v1.AdmissionReview.pb | Bin 973 -> 990 bytes .../admission.k8s.io.v1.AdmissionReview.yaml | 2 + ...ission.k8s.io.v1beta1.AdmissionReview.json | 5 +- ...dmission.k8s.io.v1beta1.AdmissionReview.pb | Bin 978 -> 995 bytes ...ission.k8s.io.v1beta1.AdmissionReview.yaml | 2 + ...ion.k8s.io.v1.MutatingAdmissionPolicy.json | 148 + ...ation.k8s.io.v1.MutatingAdmissionPolicy.pb | Bin 0 -> 1007 bytes ...ion.k8s.io.v1.MutatingAdmissionPolicy.yaml | 94 + ....io.v1.MutatingAdmissionPolicyBinding.json | 139 + ...8s.io.v1.MutatingAdmissionPolicyBinding.pb | Bin 0 -> 978 bytes ....io.v1.MutatingAdmissionPolicyBinding.yaml | 90 + .../api/testdata/HEAD/apps.v1.DaemonSet.json | 6 +- .../api/testdata/HEAD/apps.v1.DaemonSet.pb | Bin 11514 -> 11482 bytes .../api/testdata/HEAD/apps.v1.DaemonSet.yaml | 6 +- .../api/testdata/HEAD/apps.v1.Deployment.json | 6 +- .../api/testdata/HEAD/apps.v1.Deployment.pb | Bin 11529 -> 11497 bytes .../api/testdata/HEAD/apps.v1.Deployment.yaml | 6 +- .../api/testdata/HEAD/apps.v1.ReplicaSet.json | 6 +- .../api/testdata/HEAD/apps.v1.ReplicaSet.pb | Bin 11446 -> 11414 bytes .../api/testdata/HEAD/apps.v1.ReplicaSet.yaml | 6 +- .../testdata/HEAD/apps.v1.StatefulSet.json | 6 +- .../api/testdata/HEAD/apps.v1.StatefulSet.pb | Bin 12615 -> 12583 bytes .../testdata/HEAD/apps.v1.StatefulSet.yaml | 6 +- .../HEAD/apps.v1beta1.Deployment.json | 6 +- .../testdata/HEAD/apps.v1beta1.Deployment.pb | Bin 11538 -> 11506 bytes .../HEAD/apps.v1beta1.Deployment.yaml | 6 +- .../HEAD/apps.v1beta1.StatefulSet.json | 6 +- .../testdata/HEAD/apps.v1beta1.StatefulSet.pb | Bin 12620 -> 12588 bytes .../HEAD/apps.v1beta1.StatefulSet.yaml | 6 +- .../testdata/HEAD/apps.v1beta2.DaemonSet.json | 6 +- .../testdata/HEAD/apps.v1beta2.DaemonSet.pb | Bin 11519 -> 11487 bytes .../testdata/HEAD/apps.v1beta2.DaemonSet.yaml | 6 +- .../HEAD/apps.v1beta2.Deployment.json | 6 +- .../testdata/HEAD/apps.v1beta2.Deployment.pb | Bin 11534 -> 11502 bytes .../HEAD/apps.v1beta2.Deployment.yaml | 6 +- .../HEAD/apps.v1beta2.ReplicaSet.json | 6 +- .../testdata/HEAD/apps.v1beta2.ReplicaSet.pb | Bin 11451 -> 11419 bytes .../HEAD/apps.v1beta2.ReplicaSet.yaml | 6 +- .../HEAD/apps.v1beta2.StatefulSet.json | 6 +- .../testdata/HEAD/apps.v1beta2.StatefulSet.pb | Bin 12620 -> 12588 bytes .../HEAD/apps.v1beta2.StatefulSet.yaml | 6 +- .../api/testdata/HEAD/batch.v1.CronJob.json | 6 +- .../api/testdata/HEAD/batch.v1.CronJob.pb | Bin 12107 -> 12075 bytes .../api/testdata/HEAD/batch.v1.CronJob.yaml | 6 +- .../api/testdata/HEAD/batch.v1.Job.json | 6 +- .../k8s.io/api/testdata/HEAD/batch.v1.Job.pb | Bin 11733 -> 11701 bytes .../api/testdata/HEAD/batch.v1.Job.yaml | 6 +- .../testdata/HEAD/batch.v1beta1.CronJob.json | 6 +- .../testdata/HEAD/batch.v1beta1.CronJob.pb | Bin 12112 -> 12080 bytes .../testdata/HEAD/batch.v1beta1.CronJob.yaml | 6 +- ....k8s.io.v1beta1.PodCertificateRequest.json | 1 + ...es.k8s.io.v1beta1.PodCertificateRequest.pb | Bin 737 -> 740 bytes ....k8s.io.v1beta1.PodCertificateRequest.yaml | 1 + .../testdata/HEAD/core.v1.ListOptions.json | 3 +- .../api/testdata/HEAD/core.v1.ListOptions.pb | Bin 143 -> 164 bytes .../testdata/HEAD/core.v1.ListOptions.yaml | 1 + .../k8s.io/api/testdata/HEAD/core.v1.Pod.json | 49 +- .../k8s.io/api/testdata/HEAD/core.v1.Pod.pb | Bin 12914 -> 13046 bytes .../k8s.io/api/testdata/HEAD/core.v1.Pod.yaml | 24 +- .../HEAD/core.v1.PodStatusResult.json | 43 +- .../testdata/HEAD/core.v1.PodStatusResult.pb | Bin 2389 -> 2553 bytes .../HEAD/core.v1.PodStatusResult.yaml | 18 + .../testdata/HEAD/core.v1.PodTemplate.json | 6 +- .../api/testdata/HEAD/core.v1.PodTemplate.pb | Bin 11280 -> 11248 bytes .../testdata/HEAD/core.v1.PodTemplate.yaml | 6 +- .../HEAD/core.v1.ReplicationController.json | 6 +- .../HEAD/core.v1.ReplicationController.pb | Bin 11402 -> 11370 bytes .../HEAD/core.v1.ReplicationController.yaml | 6 +- .../api/testdata/HEAD/core.v1.Status.json | 5 +- .../api/testdata/HEAD/core.v1.Status.pb | Bin 212 -> 229 bytes .../api/testdata/HEAD/core.v1.Status.yaml | 2 + .../HEAD/extensions.v1beta1.DaemonSet.json | 6 +- .../HEAD/extensions.v1beta1.DaemonSet.pb | Bin 11527 -> 11495 bytes .../HEAD/extensions.v1beta1.DaemonSet.yaml | 6 +- .../HEAD/extensions.v1beta1.Deployment.json | 6 +- .../HEAD/extensions.v1beta1.Deployment.pb | Bin 11544 -> 11512 bytes .../HEAD/extensions.v1beta1.Deployment.yaml | 6 +- .../HEAD/extensions.v1beta1.ReplicaSet.json | 6 +- .../HEAD/extensions.v1beta1.ReplicaSet.pb | Bin 11457 -> 11425 bytes .../HEAD/extensions.v1beta1.ReplicaSet.yaml | 6 +- .../resource.k8s.io.v1.ResourceSlice.json | 22 +- .../HEAD/resource.k8s.io.v1.ResourceSlice.pb | Bin 937 -> 1033 bytes .../resource.k8s.io.v1.ResourceSlice.yaml | 12 + ...io.v1alpha3.ResourcePoolStatusRequest.json | 78 + ...s.io.v1alpha3.ResourcePoolStatusRequest.pb | Bin 0 -> 602 bytes ...io.v1alpha3.ResourcePoolStatusRequest.yaml | 58 + ...resource.k8s.io.v1beta1.ResourceSlice.json | 22 +- .../resource.k8s.io.v1beta1.ResourceSlice.pb | Bin 945 -> 1041 bytes ...resource.k8s.io.v1beta1.ResourceSlice.yaml | 12 + ...source.k8s.io.v1beta2.DeviceTaintRule.json | 71 + ...resource.k8s.io.v1beta2.DeviceTaintRule.pb | Bin 0 -> 565 bytes ...source.k8s.io.v1beta2.DeviceTaintRule.yaml | 52 + ...resource.k8s.io.v1beta2.ResourceSlice.json | 22 +- .../resource.k8s.io.v1beta2.ResourceSlice.pb | Bin 942 -> 1038 bytes ...resource.k8s.io.v1beta2.ResourceSlice.yaml | 12 + .../scheduling.k8s.io.v1alpha2.PodGroup.json | 95 + .../scheduling.k8s.io.v1alpha2.PodGroup.pb | Bin 0 -> 701 bytes .../scheduling.k8s.io.v1alpha2.PodGroup.yaml | 64 + .../scheduling.k8s.io.v1alpha2.Workload.json | 81 + .../scheduling.k8s.io.v1alpha2.Workload.pb | Bin 0 -> 600 bytes .../scheduling.k8s.io.v1alpha2.Workload.yaml | 55 + .../HEAD/storage.k8s.io.v1.CSIDriver.json | 3 +- .../HEAD/storage.k8s.io.v1.CSIDriver.pb | Bin 480 -> 482 bytes .../HEAD/storage.k8s.io.v1.CSIDriver.yaml | 1 + .../storage.k8s.io.v1beta1.CSIDriver.json | 3 +- .../HEAD/storage.k8s.io.v1beta1.CSIDriver.pb | Bin 485 -> 487 bytes .../storage.k8s.io.v1beta1.CSIDriver.yaml | 1 + staging/k8s.io/api/testdata/README.md | 5 + .../core.v1.ListOptions.after_roundtrip.pb | Bin 0 -> 145 bytes .../core.v1.ListOptions.after_roundtrip.pb | Bin 0 -> 145 bytes .../admission.k8s.io.v1.AdmissionReview.json | 113 + .../admission.k8s.io.v1.AdmissionReview.pb | Bin 0 -> 973 bytes .../admission.k8s.io.v1.AdmissionReview.yaml | 84 + ...ission.k8s.io.v1beta1.AdmissionReview.json | 113 + ...dmission.k8s.io.v1beta1.AdmissionReview.pb | Bin 0 -> 978 bytes ...ission.k8s.io.v1beta1.AdmissionReview.yaml | 84 + ...8s.io.v1.MutatingWebhookConfiguration.json | 120 + ....k8s.io.v1.MutatingWebhookConfiguration.pb | Bin 0 -> 884 bytes ...8s.io.v1.MutatingWebhookConfiguration.yaml | 80 + ...n.k8s.io.v1.ValidatingAdmissionPolicy.json | 171 + ...ion.k8s.io.v1.ValidatingAdmissionPolicy.pb | Bin 0 -> 1134 bytes ...n.k8s.io.v1.ValidatingAdmissionPolicy.yaml | 108 + ...o.v1.ValidatingAdmissionPolicyBinding.json | 142 + ....io.v1.ValidatingAdmissionPolicyBinding.pb | Bin 0 -> 1004 bytes ...o.v1.ValidatingAdmissionPolicyBinding.yaml | 92 + ....io.v1.ValidatingWebhookConfiguration.json | 119 + ...8s.io.v1.ValidatingWebhookConfiguration.pb | Bin 0 -> 861 bytes ....io.v1.ValidatingWebhookConfiguration.yaml | 79 + ...s.io.v1alpha1.MutatingAdmissionPolicy.json | 148 + ...k8s.io.v1alpha1.MutatingAdmissionPolicy.pb | Bin 0 -> 1013 bytes ...s.io.v1alpha1.MutatingAdmissionPolicy.yaml | 94 + ...alpha1.MutatingAdmissionPolicyBinding.json | 139 + ...v1alpha1.MutatingAdmissionPolicyBinding.pb | Bin 0 -> 984 bytes ...alpha1.MutatingAdmissionPolicyBinding.yaml | 90 + ...io.v1alpha1.ValidatingAdmissionPolicy.json | 171 + ...s.io.v1alpha1.ValidatingAdmissionPolicy.pb | Bin 0 -> 1140 bytes ...io.v1alpha1.ValidatingAdmissionPolicy.yaml | 108 + ...pha1.ValidatingAdmissionPolicyBinding.json | 142 + ...alpha1.ValidatingAdmissionPolicyBinding.pb | Bin 0 -> 1010 bytes ...pha1.ValidatingAdmissionPolicyBinding.yaml | 92 + ...8s.io.v1beta1.MutatingAdmissionPolicy.json | 148 + ....k8s.io.v1beta1.MutatingAdmissionPolicy.pb | Bin 0 -> 1012 bytes ...8s.io.v1beta1.MutatingAdmissionPolicy.yaml | 94 + ...1beta1.MutatingAdmissionPolicyBinding.json | 139 + ....v1beta1.MutatingAdmissionPolicyBinding.pb | Bin 0 -> 983 bytes ...1beta1.MutatingAdmissionPolicyBinding.yaml | 90 + ....v1beta1.MutatingWebhookConfiguration.json | 120 + ...io.v1beta1.MutatingWebhookConfiguration.pb | Bin 0 -> 889 bytes ....v1beta1.MutatingWebhookConfiguration.yaml | 80 + ....io.v1beta1.ValidatingAdmissionPolicy.json | 171 + ...8s.io.v1beta1.ValidatingAdmissionPolicy.pb | Bin 0 -> 1139 bytes ....io.v1beta1.ValidatingAdmissionPolicy.yaml | 108 + ...eta1.ValidatingAdmissionPolicyBinding.json | 142 + ...1beta1.ValidatingAdmissionPolicyBinding.pb | Bin 0 -> 1009 bytes ...eta1.ValidatingAdmissionPolicyBinding.yaml | 92 + ...1beta1.ValidatingWebhookConfiguration.json | 119 + ....v1beta1.ValidatingWebhookConfiguration.pb | Bin 0 -> 866 bytes ...1beta1.ValidatingWebhookConfiguration.yaml | 79 + ...discovery.k8s.io.v2.APIGroupDiscovery.json | 93 + ...pidiscovery.k8s.io.v2.APIGroupDiscovery.pb | Bin 0 -> 692 bytes ...discovery.k8s.io.v2.APIGroupDiscovery.yaml | 63 + ...very.k8s.io.v2beta1.APIGroupDiscovery.json | 93 + ...covery.k8s.io.v2beta1.APIGroupDiscovery.pb | Bin 0 -> 697 bytes ...very.k8s.io.v2beta1.APIGroupDiscovery.yaml | 63 + .../v1.35.0/apps.v1.ControllerRevision.json | 57 + .../v1.35.0/apps.v1.ControllerRevision.pb | Bin 0 -> 501 bytes .../v1.35.0/apps.v1.ControllerRevision.yaml | 42 + .../apps.v1.DaemonSet.after_roundtrip.json | 1882 ++++++ .../apps.v1.DaemonSet.after_roundtrip.pb | Bin 0 -> 11460 bytes .../apps.v1.DaemonSet.after_roundtrip.yaml | 1292 ++++ .../testdata/v1.35.0/apps.v1.DaemonSet.json | 1887 ++++++ .../api/testdata/v1.35.0/apps.v1.DaemonSet.pb | Bin 0 -> 11514 bytes .../testdata/v1.35.0/apps.v1.DaemonSet.yaml | 1296 ++++ .../apps.v1.Deployment.after_roundtrip.json | 1885 ++++++ .../apps.v1.Deployment.after_roundtrip.pb | Bin 0 -> 11475 bytes .../apps.v1.Deployment.after_roundtrip.yaml | 1295 ++++ .../testdata/v1.35.0/apps.v1.Deployment.json | 1890 ++++++ .../testdata/v1.35.0/apps.v1.Deployment.pb | Bin 0 -> 11529 bytes .../testdata/v1.35.0/apps.v1.Deployment.yaml | 1299 ++++ .../apps.v1.ReplicaSet.after_roundtrip.json | 1872 ++++++ .../apps.v1.ReplicaSet.after_roundtrip.pb | Bin 0 -> 11392 bytes .../apps.v1.ReplicaSet.after_roundtrip.yaml | 1284 ++++ .../testdata/v1.35.0/apps.v1.ReplicaSet.json | 1877 ++++++ .../testdata/v1.35.0/apps.v1.ReplicaSet.pb | Bin 0 -> 11446 bytes .../testdata/v1.35.0/apps.v1.ReplicaSet.yaml | 1288 ++++ .../apps.v1.StatefulSet.after_roundtrip.json | 2010 ++++++ .../apps.v1.StatefulSet.after_roundtrip.pb | Bin 0 -> 12561 bytes .../apps.v1.StatefulSet.after_roundtrip.yaml | 1383 ++++ .../testdata/v1.35.0/apps.v1.StatefulSet.json | 2015 ++++++ .../testdata/v1.35.0/apps.v1.StatefulSet.pb | Bin 0 -> 12615 bytes .../testdata/v1.35.0/apps.v1.StatefulSet.yaml | 1387 ++++ .../apps.v1beta1.ControllerRevision.json | 57 + .../apps.v1beta1.ControllerRevision.pb | Bin 0 -> 506 bytes .../apps.v1beta1.ControllerRevision.yaml | 42 + ...ps.v1beta1.Deployment.after_roundtrip.json | 1888 ++++++ ...apps.v1beta1.Deployment.after_roundtrip.pb | Bin 0 -> 11484 bytes ...ps.v1beta1.Deployment.after_roundtrip.yaml | 1297 ++++ .../v1.35.0/apps.v1beta1.Deployment.json | 1893 ++++++ .../v1.35.0/apps.v1beta1.Deployment.pb | Bin 0 -> 11538 bytes .../v1.35.0/apps.v1beta1.Deployment.yaml | 1301 ++++ .../apps.v1beta1.DeploymentRollback.json | 11 + .../apps.v1beta1.DeploymentRollback.pb | Bin 0 -> 111 bytes .../apps.v1beta1.DeploymentRollback.yaml | 7 + .../testdata/v1.35.0/apps.v1beta1.Scale.json | 56 + .../testdata/v1.35.0/apps.v1beta1.Scale.pb | Bin 0 -> 448 bytes .../testdata/v1.35.0/apps.v1beta1.Scale.yaml | 41 + ...s.v1beta1.StatefulSet.after_roundtrip.json | 2010 ++++++ ...pps.v1beta1.StatefulSet.after_roundtrip.pb | Bin 0 -> 12566 bytes ...s.v1beta1.StatefulSet.after_roundtrip.yaml | 1383 ++++ .../v1.35.0/apps.v1beta1.StatefulSet.json | 2015 ++++++ .../v1.35.0/apps.v1beta1.StatefulSet.pb | Bin 0 -> 12620 bytes .../v1.35.0/apps.v1beta1.StatefulSet.yaml | 1387 ++++ .../apps.v1beta2.ControllerRevision.json | 57 + .../apps.v1beta2.ControllerRevision.pb | Bin 0 -> 506 bytes .../apps.v1beta2.ControllerRevision.yaml | 42 + ...pps.v1beta2.DaemonSet.after_roundtrip.json | 1882 ++++++ .../apps.v1beta2.DaemonSet.after_roundtrip.pb | Bin 0 -> 11465 bytes ...pps.v1beta2.DaemonSet.after_roundtrip.yaml | 1292 ++++ .../v1.35.0/apps.v1beta2.DaemonSet.json | 1887 ++++++ .../v1.35.0/apps.v1beta2.DaemonSet.pb | Bin 0 -> 11519 bytes .../v1.35.0/apps.v1beta2.DaemonSet.yaml | 1296 ++++ ...ps.v1beta2.Deployment.after_roundtrip.json | 1885 ++++++ ...apps.v1beta2.Deployment.after_roundtrip.pb | Bin 0 -> 11480 bytes ...ps.v1beta2.Deployment.after_roundtrip.yaml | 1295 ++++ .../v1.35.0/apps.v1beta2.Deployment.json | 1890 ++++++ .../v1.35.0/apps.v1beta2.Deployment.pb | Bin 0 -> 11534 bytes .../v1.35.0/apps.v1beta2.Deployment.yaml | 1299 ++++ ...ps.v1beta2.ReplicaSet.after_roundtrip.json | 1872 ++++++ ...apps.v1beta2.ReplicaSet.after_roundtrip.pb | Bin 0 -> 11397 bytes ...ps.v1beta2.ReplicaSet.after_roundtrip.yaml | 1284 ++++ .../v1.35.0/apps.v1beta2.ReplicaSet.json | 1877 ++++++ .../v1.35.0/apps.v1beta2.ReplicaSet.pb | Bin 0 -> 11451 bytes .../v1.35.0/apps.v1beta2.ReplicaSet.yaml | 1288 ++++ .../testdata/v1.35.0/apps.v1beta2.Scale.json | 56 + .../testdata/v1.35.0/apps.v1beta2.Scale.pb | Bin 0 -> 448 bytes .../testdata/v1.35.0/apps.v1beta2.Scale.yaml | 41 + ...s.v1beta2.StatefulSet.after_roundtrip.json | 2010 ++++++ ...pps.v1beta2.StatefulSet.after_roundtrip.pb | Bin 0 -> 12566 bytes ...s.v1beta2.StatefulSet.after_roundtrip.yaml | 1383 ++++ .../v1.35.0/apps.v1beta2.StatefulSet.json | 2015 ++++++ .../v1.35.0/apps.v1beta2.StatefulSet.pb | Bin 0 -> 12620 bytes .../v1.35.0/apps.v1beta2.StatefulSet.yaml | 1387 ++++ ...ntication.k8s.io.v1.SelfSubjectReview.json | 60 + ...hentication.k8s.io.v1.SelfSubjectReview.pb | Bin 0 -> 481 bytes ...ntication.k8s.io.v1.SelfSubjectReview.yaml | 43 + ...authentication.k8s.io.v1.TokenRequest.json | 62 + .../authentication.k8s.io.v1.TokenRequest.pb | Bin 0 -> 503 bytes ...authentication.k8s.io.v1.TokenRequest.yaml | 46 + .../authentication.k8s.io.v1.TokenReview.json | 71 + .../authentication.k8s.io.v1.TokenReview.pb | Bin 0 -> 535 bytes .../authentication.k8s.io.v1.TokenReview.yaml | 51 + ...tion.k8s.io.v1beta1.SelfSubjectReview.json | 60 + ...cation.k8s.io.v1beta1.SelfSubjectReview.pb | Bin 0 -> 486 bytes ...tion.k8s.io.v1beta1.SelfSubjectReview.yaml | 43 + ...entication.k8s.io.v1beta1.TokenReview.json | 71 + ...thentication.k8s.io.v1beta1.TokenReview.pb | Bin 0 -> 540 bytes ...entication.k8s.io.v1beta1.TokenReview.yaml | 51 + ...on.k8s.io.v1.LocalSubjectAccessReview.json | 101 + ...tion.k8s.io.v1.LocalSubjectAccessReview.pb | Bin 0 -> 767 bytes ...on.k8s.io.v1.LocalSubjectAccessReview.yaml | 72 + ...ion.k8s.io.v1.SelfSubjectAccessReview.json | 91 + ...ation.k8s.io.v1.SelfSubjectAccessReview.pb | Bin 0 -> 706 bytes ...ion.k8s.io.v1.SelfSubjectAccessReview.yaml | 65 + ...tion.k8s.io.v1.SelfSubjectRulesReview.json | 79 + ...zation.k8s.io.v1.SelfSubjectRulesReview.pb | Bin 0 -> 563 bytes ...tion.k8s.io.v1.SelfSubjectRulesReview.yaml | 53 + ...ization.k8s.io.v1.SubjectAccessReview.json | 101 + ...orization.k8s.io.v1.SubjectAccessReview.pb | Bin 0 -> 762 bytes ...ization.k8s.io.v1.SubjectAccessReview.yaml | 72 + ...s.io.v1beta1.LocalSubjectAccessReview.json | 101 + ...k8s.io.v1beta1.LocalSubjectAccessReview.pb | Bin 0 -> 771 bytes ...s.io.v1beta1.LocalSubjectAccessReview.yaml | 72 + ...8s.io.v1beta1.SelfSubjectAccessReview.json | 91 + ....k8s.io.v1beta1.SelfSubjectAccessReview.pb | Bin 0 -> 711 bytes ...8s.io.v1beta1.SelfSubjectAccessReview.yaml | 65 + ...k8s.io.v1beta1.SelfSubjectRulesReview.json | 79 + ...n.k8s.io.v1beta1.SelfSubjectRulesReview.pb | Bin 0 -> 568 bytes ...k8s.io.v1beta1.SelfSubjectRulesReview.yaml | 53 + ...on.k8s.io.v1beta1.SubjectAccessReview.json | 101 + ...tion.k8s.io.v1beta1.SubjectAccessReview.pb | Bin 0 -> 766 bytes ...on.k8s.io.v1beta1.SubjectAccessReview.yaml | 72 + ...utoscaling.v1.HorizontalPodAutoscaler.json | 63 + .../autoscaling.v1.HorizontalPodAutoscaler.pb | Bin 0 -> 478 bytes ...utoscaling.v1.HorizontalPodAutoscaler.yaml | 48 + .../v1.35.0/autoscaling.v1.Scale.json | 53 + .../testdata/v1.35.0/autoscaling.v1.Scale.pb | Bin 0 -> 414 bytes .../v1.35.0/autoscaling.v1.Scale.yaml | 39 + ...utoscaling.v2.HorizontalPodAutoscaler.json | 299 + .../autoscaling.v2.HorizontalPodAutoscaler.pb | Bin 0 -> 1580 bytes ...utoscaling.v2.HorizontalPodAutoscaler.yaml | 202 + ...aling.v2beta1.HorizontalPodAutoscaler.json | 0 ...scaling.v2beta1.HorizontalPodAutoscaler.pb | Bin ...aling.v2beta1.HorizontalPodAutoscaler.yaml | 0 ...aling.v2beta2.HorizontalPodAutoscaler.json | 0 ...scaling.v2beta2.HorizontalPodAutoscaler.pb | Bin ...aling.v2beta2.HorizontalPodAutoscaler.yaml | 0 .../batch.v1.CronJob.after_roundtrip.json | 1961 ++++++ .../batch.v1.CronJob.after_roundtrip.pb | Bin 0 -> 12053 bytes .../batch.v1.CronJob.after_roundtrip.yaml | 1348 ++++ .../testdata/v1.35.0/batch.v1.CronJob.json | 1966 ++++++ .../api/testdata/v1.35.0/batch.v1.CronJob.pb | Bin 0 -> 12107 bytes .../testdata/v1.35.0/batch.v1.CronJob.yaml | 1352 ++++ .../v1.35.0/batch.v1.Job.after_roundtrip.json | 1922 ++++++ .../v1.35.0/batch.v1.Job.after_roundtrip.pb | Bin 0 -> 11679 bytes .../v1.35.0/batch.v1.Job.after_roundtrip.yaml | 1318 ++++ .../api/testdata/v1.35.0/batch.v1.Job.json | 1927 ++++++ .../api/testdata/v1.35.0/batch.v1.Job.pb | Bin 0 -> 11733 bytes .../api/testdata/v1.35.0/batch.v1.Job.yaml | 1322 ++++ ...batch.v1beta1.CronJob.after_roundtrip.json | 1961 ++++++ .../batch.v1beta1.CronJob.after_roundtrip.pb | Bin 0 -> 12058 bytes ...batch.v1beta1.CronJob.after_roundtrip.yaml | 1348 ++++ .../v1.35.0/batch.v1beta1.CronJob.json | 1966 ++++++ .../testdata/v1.35.0/batch.v1beta1.CronJob.pb | Bin 0 -> 12112 bytes .../v1.35.0/batch.v1beta1.CronJob.yaml | 1352 ++++ ...s.k8s.io.v1.CertificateSigningRequest.json | 77 + ...tes.k8s.io.v1.CertificateSigningRequest.pb | Bin 0 -> 598 bytes ...s.k8s.io.v1.CertificateSigningRequest.yaml | 56 + ...es.k8s.io.v1alpha1.ClusterTrustBundle.json | 50 + ...ates.k8s.io.v1alpha1.ClusterTrustBundle.pb | Bin 0 -> 455 bytes ...es.k8s.io.v1alpha1.ClusterTrustBundle.yaml | 37 + ....io.v1beta1.CertificateSigningRequest.json | 77 + ...8s.io.v1beta1.CertificateSigningRequest.pb | Bin 0 -> 603 bytes ....io.v1beta1.CertificateSigningRequest.yaml | 56 + ...tes.k8s.io.v1beta1.ClusterTrustBundle.json | 50 + ...cates.k8s.io.v1beta1.ClusterTrustBundle.pb | Bin 0 -> 454 bytes ...tes.k8s.io.v1beta1.ClusterTrustBundle.yaml | 37 + ...PodCertificateRequest.after_roundtrip.json | 78 + ...PodCertificateRequest.after_roundtrip.yaml | 60 + ....k8s.io.v1beta1.PodCertificateRequest.json | 77 + ...es.k8s.io.v1beta1.PodCertificateRequest.pb | Bin 0 -> 737 bytes ....k8s.io.v1beta1.PodCertificateRequest.yaml | 59 + .../v1.35.0/coordination.k8s.io.v1.Lease.json | 55 + .../v1.35.0/coordination.k8s.io.v1.Lease.pb | Bin 0 -> 485 bytes .../v1.35.0/coordination.k8s.io.v1.Lease.yaml | 42 + ...nation.k8s.io.v1alpha2.LeaseCandidate.json | 54 + ...dination.k8s.io.v1alpha2.LeaseCandidate.pb | Bin 0 -> 512 bytes ...nation.k8s.io.v1alpha2.LeaseCandidate.yaml | 41 + .../coordination.k8s.io.v1beta1.Lease.json | 55 + .../coordination.k8s.io.v1beta1.Lease.pb | Bin 0 -> 490 bytes .../coordination.k8s.io.v1beta1.Lease.yaml | 42 + ...ination.k8s.io.v1beta1.LeaseCandidate.json | 54 + ...rdination.k8s.io.v1beta1.LeaseCandidate.pb | Bin 0 -> 511 bytes ...ination.k8s.io.v1beta1.LeaseCandidate.yaml | 41 + .../testdata/v1.35.0/core.v1.APIGroup.json | 21 + .../api/testdata/v1.35.0/core.v1.APIGroup.pb | Bin 0 -> 146 bytes .../testdata/v1.35.0/core.v1.APIGroup.yaml | 12 + .../testdata/v1.35.0/core.v1.APIVersions.json | 13 + .../testdata/v1.35.0/core.v1.APIVersions.pb | Bin 0 -> 83 bytes .../testdata/v1.35.0/core.v1.APIVersions.yaml | 7 + .../api/testdata/v1.35.0/core.v1.Binding.json | 55 + .../api/testdata/v1.35.0/core.v1.Binding.pb | Bin 0 -> 486 bytes .../api/testdata/v1.35.0/core.v1.Binding.yaml | 42 + .../v1.35.0/core.v1.ComponentStatus.json | 54 + .../v1.35.0/core.v1.ComponentStatus.pb | Bin 0 -> 441 bytes .../v1.35.0/core.v1.ComponentStatus.yaml | 39 + .../testdata/v1.35.0/core.v1.ConfigMap.json | 53 + .../api/testdata/v1.35.0/core.v1.ConfigMap.pb | Bin 0 -> 427 bytes .../testdata/v1.35.0/core.v1.ConfigMap.yaml | 39 + .../v1.35.0/core.v1.CreateOptions.json | 9 + .../testdata/v1.35.0/core.v1.CreateOptions.pb | Bin 0 -> 85 bytes .../v1.35.0/core.v1.CreateOptions.yaml | 6 + .../v1.35.0/core.v1.DeleteOptions.json | 15 + .../testdata/v1.35.0/core.v1.DeleteOptions.pb | Bin 0 -> 108 bytes .../v1.35.0/core.v1.DeleteOptions.yaml | 11 + .../testdata/v1.35.0/core.v1.Endpoints.json | 90 + .../api/testdata/v1.35.0/core.v1.Endpoints.pb | Bin 0 -> 728 bytes .../testdata/v1.35.0/core.v1.Endpoints.yaml | 64 + .../api/testdata/v1.35.0/core.v1.Event.json | 82 + .../api/testdata/v1.35.0/core.v1.Event.pb | Bin 0 -> 766 bytes .../api/testdata/v1.35.0/core.v1.Event.yaml | 66 + .../testdata/v1.35.0/core.v1.GetOptions.json | 5 + .../testdata/v1.35.0/core.v1.GetOptions.pb | Bin 0 -> 50 bytes .../testdata/v1.35.0/core.v1.GetOptions.yaml | 3 + .../testdata/v1.35.0/core.v1.LimitRange.json | 68 + .../testdata/v1.35.0/core.v1.LimitRange.pb | Bin 0 -> 506 bytes .../testdata/v1.35.0/core.v1.LimitRange.yaml | 47 + .../core.v1.ListOptions.after_roundtrip.pb | Bin 0 -> 145 bytes .../testdata/v1.35.0/core.v1.ListOptions.json | 14 + .../testdata/v1.35.0/core.v1.ListOptions.pb | Bin 0 -> 143 bytes .../testdata/v1.35.0/core.v1.ListOptions.yaml | 12 + .../testdata/v1.35.0/core.v1.Namespace.json | 63 + .../api/testdata/v1.35.0/core.v1.Namespace.pb | Bin 0 -> 479 bytes .../testdata/v1.35.0/core.v1.Namespace.yaml | 45 + .../api/testdata/v1.35.0/core.v1.Node.json | 179 + .../api/testdata/v1.35.0/core.v1.Node.pb | Bin 0 -> 1329 bytes .../api/testdata/v1.35.0/core.v1.Node.yaml | 126 + .../v1.35.0/core.v1.NodeProxyOptions.json | 5 + .../v1.35.0/core.v1.NodeProxyOptions.pb | Bin 0 -> 45 bytes .../v1.35.0/core.v1.NodeProxyOptions.yaml | 3 + .../v1.35.0/core.v1.PatchOptions.json | 10 + .../testdata/v1.35.0/core.v1.PatchOptions.pb | Bin 0 -> 86 bytes .../v1.35.0/core.v1.PatchOptions.yaml | 7 + .../v1.35.0/core.v1.PersistentVolume.json | 311 + .../v1.35.0/core.v1.PersistentVolume.pb | Bin 0 -> 2470 bytes .../v1.35.0/core.v1.PersistentVolume.yaml | 239 + .../core.v1.PersistentVolumeClaim.json | 118 + .../v1.35.0/core.v1.PersistentVolumeClaim.pb | Bin 0 -> 1029 bytes .../core.v1.PersistentVolumeClaim.yaml | 84 + .../v1.35.0/core.v1.Pod.after_roundtrip.json | 2138 ++++++ .../v1.35.0/core.v1.Pod.after_roundtrip.pb | Bin 0 -> 12860 bytes .../v1.35.0/core.v1.Pod.after_roundtrip.yaml | 1458 +++++ .../api/testdata/v1.35.0/core.v1.Pod.json | 2143 ++++++ .../api/testdata/v1.35.0/core.v1.Pod.pb | Bin 0 -> 12914 bytes .../api/testdata/v1.35.0/core.v1.Pod.yaml | 1462 +++++ .../v1.35.0/core.v1.PodAttachOptions.json | 9 + .../v1.35.0/core.v1.PodAttachOptions.pb | Bin 0 -> 58 bytes .../v1.35.0/core.v1.PodAttachOptions.yaml | 7 + .../v1.35.0/core.v1.PodExecOptions.json | 12 + .../v1.35.0/core.v1.PodExecOptions.pb | Bin 0 -> 70 bytes .../v1.35.0/core.v1.PodExecOptions.yaml | 9 + .../v1.35.0/core.v1.PodLogOptions.json | 14 + .../testdata/v1.35.0/core.v1.PodLogOptions.pb | Bin 0 -> 84 bytes .../v1.35.0/core.v1.PodLogOptions.yaml | 12 + .../core.v1.PodPortForwardOptions.json | 7 + .../v1.35.0/core.v1.PodPortForwardOptions.pb | Bin 0 -> 41 bytes .../core.v1.PodPortForwardOptions.yaml | 4 + .../v1.35.0/core.v1.PodProxyOptions.json | 5 + .../v1.35.0/core.v1.PodProxyOptions.pb | Bin 0 -> 44 bytes .../v1.35.0/core.v1.PodProxyOptions.yaml | 3 + .../v1.35.0/core.v1.PodStatusResult.json | 391 ++ .../v1.35.0/core.v1.PodStatusResult.pb | Bin 0 -> 2389 bytes .../v1.35.0/core.v1.PodStatusResult.yaml | 265 + .../core.v1.PodTemplate.after_roundtrip.json | 1837 ++++++ .../core.v1.PodTemplate.after_roundtrip.pb | Bin 0 -> 11226 bytes .../core.v1.PodTemplate.after_roundtrip.yaml | 1260 ++++ .../testdata/v1.35.0/core.v1.PodTemplate.json | 1842 ++++++ .../testdata/v1.35.0/core.v1.PodTemplate.pb | Bin 0 -> 11280 bytes .../testdata/v1.35.0/core.v1.PodTemplate.yaml | 1264 ++++ .../v1.35.0/core.v1.RangeAllocation.json | 48 + .../v1.35.0/core.v1.RangeAllocation.pb | Bin 0 -> 404 bytes .../v1.35.0/core.v1.RangeAllocation.yaml | 36 + ...ReplicationController.after_roundtrip.json | 1860 ++++++ ...1.ReplicationController.after_roundtrip.pb | Bin 0 -> 11348 bytes ...ReplicationController.after_roundtrip.yaml | 1277 ++++ .../core.v1.ReplicationController.json | 1865 ++++++ .../v1.35.0/core.v1.ReplicationController.pb | Bin 0 -> 11402 bytes .../core.v1.ReplicationController.yaml | 1281 ++++ .../v1.35.0/core.v1.ResourceQuota.json | 73 + .../testdata/v1.35.0/core.v1.ResourceQuota.pb | Bin 0 -> 500 bytes .../v1.35.0/core.v1.ResourceQuota.yaml | 50 + .../api/testdata/v1.35.0/core.v1.Secret.json | 54 + .../api/testdata/v1.35.0/core.v1.Secret.pb | Bin 0 -> 441 bytes .../api/testdata/v1.35.0/core.v1.Secret.yaml | 40 + .../v1.35.0/core.v1.SerializedReference.json | 13 + .../v1.35.0/core.v1.SerializedReference.pb | Bin 0 -> 142 bytes .../v1.35.0/core.v1.SerializedReference.yaml | 10 + .../api/testdata/v1.35.0/core.v1.Service.json | 119 + .../api/testdata/v1.35.0/core.v1.Service.pb | Bin 0 -> 945 bytes .../api/testdata/v1.35.0/core.v1.Service.yaml | 85 + .../v1.35.0/core.v1.ServiceAccount.json | 63 + .../v1.35.0/core.v1.ServiceAccount.pb | Bin 0 -> 508 bytes .../v1.35.0/core.v1.ServiceAccount.yaml | 45 + .../v1.35.0/core.v1.ServiceProxyOptions.json | 5 + .../v1.35.0/core.v1.ServiceProxyOptions.pb | Bin 0 -> 48 bytes .../v1.35.0/core.v1.ServiceProxyOptions.yaml | 3 + .../api/testdata/v1.35.0/core.v1.Status.json | 28 + .../api/testdata/v1.35.0/core.v1.Status.pb | Bin 0 -> 212 bytes .../api/testdata/v1.35.0/core.v1.Status.yaml | 21 + .../v1.35.0/core.v1.UpdateOptions.json | 9 + .../testdata/v1.35.0/core.v1.UpdateOptions.pb | Bin 0 -> 85 bytes .../v1.35.0/core.v1.UpdateOptions.yaml | 6 + .../testdata/v1.35.0/core.v1.WatchEvent.json | 13 + .../testdata/v1.35.0/core.v1.WatchEvent.pb | Bin 0 -> 129 bytes .../testdata/v1.35.0/core.v1.WatchEvent.yaml | 8 + .../discovery.k8s.io.v1.EndpointSlice.json | 94 + .../discovery.k8s.io.v1.EndpointSlice.pb | Bin 0 -> 721 bytes .../discovery.k8s.io.v1.EndpointSlice.yaml | 65 + ...iscovery.k8s.io.v1beta1.EndpointSlice.json | 93 + .../discovery.k8s.io.v1beta1.EndpointSlice.pb | Bin 0 -> 695 bytes ...iscovery.k8s.io.v1beta1.EndpointSlice.yaml | 64 + .../v1.35.0/events.k8s.io.v1.Event.json | 82 + .../v1.35.0/events.k8s.io.v1.Event.pb | Bin 0 -> 778 bytes .../v1.35.0/events.k8s.io.v1.Event.yaml | 66 + .../v1.35.0/events.k8s.io.v1beta1.Event.json | 82 + .../v1.35.0/events.k8s.io.v1beta1.Event.pb | Bin 0 -> 783 bytes .../v1.35.0/events.k8s.io.v1beta1.Event.yaml | 66 + ...ons.v1beta1.DaemonSet.after_roundtrip.json | 1883 ++++++ ...sions.v1beta1.DaemonSet.after_roundtrip.pb | Bin 0 -> 11473 bytes ...ons.v1beta1.DaemonSet.after_roundtrip.yaml | 1293 ++++ .../v1.35.0/extensions.v1beta1.DaemonSet.json | 1888 ++++++ .../v1.35.0/extensions.v1beta1.DaemonSet.pb | Bin 0 -> 11527 bytes .../v1.35.0/extensions.v1beta1.DaemonSet.yaml | 1297 ++++ ...ns.v1beta1.Deployment.after_roundtrip.json | 1888 ++++++ ...ions.v1beta1.Deployment.after_roundtrip.pb | Bin 0 -> 11490 bytes ...ns.v1beta1.Deployment.after_roundtrip.yaml | 1297 ++++ .../extensions.v1beta1.Deployment.json | 1893 ++++++ .../v1.35.0/extensions.v1beta1.Deployment.pb | Bin 0 -> 11544 bytes .../extensions.v1beta1.Deployment.yaml | 1301 ++++ ...extensions.v1beta1.DeploymentRollback.json | 11 + .../extensions.v1beta1.DeploymentRollback.pb | Bin 0 -> 117 bytes ...extensions.v1beta1.DeploymentRollback.yaml | 7 + .../v1.35.0/extensions.v1beta1.Ingress.json | 105 + .../v1.35.0/extensions.v1beta1.Ingress.pb | Bin 0 -> 726 bytes .../v1.35.0/extensions.v1beta1.Ingress.yaml | 69 + .../extensions.v1beta1.NetworkPolicy.json | 163 + .../extensions.v1beta1.NetworkPolicy.pb | Bin 0 -> 950 bytes .../extensions.v1beta1.NetworkPolicy.yaml | 97 + ...ns.v1beta1.ReplicaSet.after_roundtrip.json | 1872 ++++++ ...ions.v1beta1.ReplicaSet.after_roundtrip.pb | Bin 0 -> 11403 bytes ...ns.v1beta1.ReplicaSet.after_roundtrip.yaml | 1284 ++++ .../extensions.v1beta1.ReplicaSet.json | 1877 ++++++ .../v1.35.0/extensions.v1beta1.ReplicaSet.pb | Bin 0 -> 11457 bytes .../extensions.v1beta1.ReplicaSet.yaml | 1288 ++++ .../v1.35.0/extensions.v1beta1.Scale.json | 56 + .../v1.35.0/extensions.v1beta1.Scale.pb | Bin 0 -> 454 bytes .../v1.35.0/extensions.v1beta1.Scale.yaml | 41 + ...ontrol.apiserver.k8s.io.v1.FlowSchema.json | 112 + ...wcontrol.apiserver.k8s.io.v1.FlowSchema.pb | Bin 0 -> 681 bytes ...ontrol.apiserver.k8s.io.v1.FlowSchema.yaml | 72 + ....k8s.io.v1.PriorityLevelConfiguration.json | 77 + ...er.k8s.io.v1.PriorityLevelConfiguration.pb | Bin 0 -> 542 bytes ....k8s.io.v1.PriorityLevelConfiguration.yaml | 56 + ...l.apiserver.k8s.io.v1beta1.FlowSchema.json | 112 + ...rol.apiserver.k8s.io.v1beta1.FlowSchema.pb | Bin 0 -> 686 bytes ...l.apiserver.k8s.io.v1beta1.FlowSchema.yaml | 72 + ...io.v1beta1.PriorityLevelConfiguration.json | 77 + ...s.io.v1beta1.PriorityLevelConfiguration.pb | Bin 0 -> 547 bytes ...io.v1beta1.PriorityLevelConfiguration.yaml | 56 + ...l.apiserver.k8s.io.v1beta2.FlowSchema.json | 112 + ...rol.apiserver.k8s.io.v1beta2.FlowSchema.pb | Bin 0 -> 686 bytes ...l.apiserver.k8s.io.v1beta2.FlowSchema.yaml | 72 + ...io.v1beta2.PriorityLevelConfiguration.json | 77 + ...s.io.v1beta2.PriorityLevelConfiguration.pb | Bin 0 -> 547 bytes ...io.v1beta2.PriorityLevelConfiguration.yaml | 56 + ...l.apiserver.k8s.io.v1beta3.FlowSchema.json | 112 + ...rol.apiserver.k8s.io.v1beta3.FlowSchema.pb | Bin 0 -> 686 bytes ...l.apiserver.k8s.io.v1beta3.FlowSchema.yaml | 72 + ...io.v1beta3.PriorityLevelConfiguration.json | 77 + ...s.io.v1beta3.PriorityLevelConfiguration.pb | Bin 0 -> 547 bytes ...io.v1beta3.PriorityLevelConfiguration.yaml | 56 + ...agepolicy.k8s.io.v1alpha1.ImageReview.json | 64 + ...imagepolicy.k8s.io.v1alpha1.ImageReview.pb | Bin 0 -> 541 bytes ...agepolicy.k8s.io.v1alpha1.ImageReview.yaml | 45 + ...server.k8s.io.v1alpha1.StorageVersion.json | 72 + ...piserver.k8s.io.v1alpha1.StorageVersion.pb | Bin 0 -> 605 bytes ...server.k8s.io.v1alpha1.StorageVersion.yaml | 51 + .../networking.k8s.io.v1.IPAddress.json | 54 + .../v1.35.0/networking.k8s.io.v1.IPAddress.pb | Bin 0 -> 459 bytes .../networking.k8s.io.v1.IPAddress.yaml | 40 + .../v1.35.0/networking.k8s.io.v1.Ingress.json | 115 + .../v1.35.0/networking.k8s.io.v1.Ingress.pb | Bin 0 -> 700 bytes .../v1.35.0/networking.k8s.io.v1.Ingress.yaml | 75 + .../networking.k8s.io.v1.IngressClass.json | 56 + .../networking.k8s.io.v1.IngressClass.pb | Bin 0 -> 490 bytes .../networking.k8s.io.v1.IngressClass.yaml | 42 + .../networking.k8s.io.v1.NetworkPolicy.json | 163 + .../networking.k8s.io.v1.NetworkPolicy.pb | Bin 0 -> 952 bytes .../networking.k8s.io.v1.NetworkPolicy.yaml | 97 + .../networking.k8s.io.v1.ServiceCIDR.json | 63 + .../networking.k8s.io.v1.ServiceCIDR.pb | Bin 0 -> 484 bytes .../networking.k8s.io.v1.ServiceCIDR.yaml | 45 + .../networking.k8s.io.v1beta1.IPAddress.json | 54 + .../networking.k8s.io.v1beta1.IPAddress.pb | Bin 0 -> 464 bytes .../networking.k8s.io.v1beta1.IPAddress.yaml | 40 + .../networking.k8s.io.v1beta1.Ingress.json | 105 + .../networking.k8s.io.v1beta1.Ingress.pb | Bin 0 -> 733 bytes .../networking.k8s.io.v1beta1.Ingress.yaml | 69 + ...etworking.k8s.io.v1beta1.IngressClass.json | 56 + .../networking.k8s.io.v1beta1.IngressClass.pb | Bin 0 -> 495 bytes ...etworking.k8s.io.v1beta1.IngressClass.yaml | 42 + ...networking.k8s.io.v1beta1.ServiceCIDR.json | 63 + .../networking.k8s.io.v1beta1.ServiceCIDR.pb | Bin 0 -> 489 bytes ...networking.k8s.io.v1beta1.ServiceCIDR.yaml | 45 + .../v1.35.0/node.k8s.io.v1.RuntimeClass.json | 66 + .../v1.35.0/node.k8s.io.v1.RuntimeClass.pb | Bin 0 -> 528 bytes .../v1.35.0/node.k8s.io.v1.RuntimeClass.yaml | 47 + .../node.k8s.io.v1alpha1.RuntimeClass.json | 68 + .../node.k8s.io.v1alpha1.RuntimeClass.pb | Bin 0 -> 544 bytes .../node.k8s.io.v1alpha1.RuntimeClass.yaml | 48 + .../node.k8s.io.v1beta1.RuntimeClass.json | 66 + .../node.k8s.io.v1beta1.RuntimeClass.pb | Bin 0 -> 533 bytes .../node.k8s.io.v1beta1.RuntimeClass.yaml | 47 + .../testdata/v1.35.0/policy.v1.Eviction.json | 59 + .../testdata/v1.35.0/policy.v1.Eviction.pb | Bin 0 -> 468 bytes .../testdata/v1.35.0/policy.v1.Eviction.yaml | 44 + .../policy.v1.PodDisruptionBudget.json | 85 + .../v1.35.0/policy.v1.PodDisruptionBudget.pb | Bin 0 -> 665 bytes .../policy.v1.PodDisruptionBudget.yaml | 61 + .../v1.35.0/policy.v1beta1.Eviction.json | 59 + .../v1.35.0/policy.v1beta1.Eviction.pb | Bin 0 -> 473 bytes .../v1.35.0/policy.v1beta1.Eviction.yaml | 44 + .../policy.v1beta1.PodDisruptionBudget.json | 85 + .../policy.v1beta1.PodDisruptionBudget.pb | Bin 0 -> 670 bytes .../policy.v1beta1.PodDisruptionBudget.yaml | 61 + ...c.authorization.k8s.io.v1.ClusterRole.json | 83 + ...bac.authorization.k8s.io.v1.ClusterRole.pb | Bin 0 -> 579 bytes ...c.authorization.k8s.io.v1.ClusterRole.yaml | 54 + ...rization.k8s.io.v1.ClusterRoleBinding.json | 59 + ...horization.k8s.io.v1.ClusterRoleBinding.pb | Bin 0 -> 512 bytes ...rization.k8s.io.v1.ClusterRoleBinding.yaml | 43 + .../rbac.authorization.k8s.io.v1.Role.json | 65 + .../rbac.authorization.k8s.io.v1.Role.pb | Bin 0 -> 492 bytes .../rbac.authorization.k8s.io.v1.Role.yaml | 45 + ...c.authorization.k8s.io.v1.RoleBinding.json | 59 + ...bac.authorization.k8s.io.v1.RoleBinding.pb | Bin 0 -> 505 bytes ...c.authorization.k8s.io.v1.RoleBinding.yaml | 43 + ...orization.k8s.io.v1alpha1.ClusterRole.json | 83 + ...thorization.k8s.io.v1alpha1.ClusterRole.pb | Bin 0 -> 585 bytes ...orization.k8s.io.v1alpha1.ClusterRole.yaml | 54 + ...on.k8s.io.v1alpha1.ClusterRoleBinding.json | 59 + ...tion.k8s.io.v1alpha1.ClusterRoleBinding.pb | Bin 0 -> 520 bytes ...on.k8s.io.v1alpha1.ClusterRoleBinding.yaml | 43 + ...ac.authorization.k8s.io.v1alpha1.Role.json | 65 + ...rbac.authorization.k8s.io.v1alpha1.Role.pb | Bin 0 -> 498 bytes ...ac.authorization.k8s.io.v1alpha1.Role.yaml | 45 + ...orization.k8s.io.v1alpha1.RoleBinding.json | 59 + ...thorization.k8s.io.v1alpha1.RoleBinding.pb | Bin 0 -> 513 bytes ...orization.k8s.io.v1alpha1.RoleBinding.yaml | 43 + ...horization.k8s.io.v1beta1.ClusterRole.json | 83 + ...uthorization.k8s.io.v1beta1.ClusterRole.pb | Bin 0 -> 584 bytes ...horization.k8s.io.v1beta1.ClusterRole.yaml | 54 + ...ion.k8s.io.v1beta1.ClusterRoleBinding.json | 59 + ...ation.k8s.io.v1beta1.ClusterRoleBinding.pb | Bin 0 -> 517 bytes ...ion.k8s.io.v1beta1.ClusterRoleBinding.yaml | 43 + ...bac.authorization.k8s.io.v1beta1.Role.json | 65 + .../rbac.authorization.k8s.io.v1beta1.Role.pb | Bin 0 -> 497 bytes ...bac.authorization.k8s.io.v1beta1.Role.yaml | 45 + ...horization.k8s.io.v1beta1.RoleBinding.json | 59 + ...uthorization.k8s.io.v1beta1.RoleBinding.pb | Bin 0 -> 510 bytes ...horization.k8s.io.v1beta1.RoleBinding.yaml | 43 + .../resource.k8s.io.v1.DeviceClass.json | 73 + .../v1.35.0/resource.k8s.io.v1.DeviceClass.pb | Bin 0 -> 573 bytes .../resource.k8s.io.v1.DeviceClass.yaml | 49 + .../resource.k8s.io.v1.ResourceClaim.json | 263 + .../resource.k8s.io.v1.ResourceClaim.pb | Bin 0 -> 1713 bytes .../resource.k8s.io.v1.ResourceClaim.yaml | 166 + ...ource.k8s.io.v1.ResourceClaimTemplate.json | 184 + ...esource.k8s.io.v1.ResourceClaimTemplate.pb | Bin 0 -> 1291 bytes ...ource.k8s.io.v1.ResourceClaimTemplate.yaml | 122 + .../resource.k8s.io.v1.ResourceSlice.json | 172 + .../resource.k8s.io.v1.ResourceSlice.pb | Bin 0 -> 937 bytes .../resource.k8s.io.v1.ResourceSlice.yaml | 109 + ...ource.k8s.io.v1alpha3.DeviceTaintRule.json | 71 + ...esource.k8s.io.v1alpha3.DeviceTaintRule.pb | Bin 0 -> 566 bytes ...ource.k8s.io.v1alpha3.DeviceTaintRule.yaml | 52 + .../resource.k8s.io.v1beta1.DeviceClass.json | 73 + .../resource.k8s.io.v1beta1.DeviceClass.pb | Bin 0 -> 578 bytes .../resource.k8s.io.v1beta1.DeviceClass.yaml | 49 + ...resource.k8s.io.v1beta1.ResourceClaim.json | 261 + .../resource.k8s.io.v1beta1.ResourceClaim.pb | Bin 0 -> 1715 bytes ...resource.k8s.io.v1beta1.ResourceClaim.yaml | 165 + ....k8s.io.v1beta1.ResourceClaimTemplate.json | 182 + ...ce.k8s.io.v1beta1.ResourceClaimTemplate.pb | Bin 0 -> 1293 bytes ....k8s.io.v1beta1.ResourceClaimTemplate.yaml | 121 + ...resource.k8s.io.v1beta1.ResourceSlice.json | 174 + .../resource.k8s.io.v1beta1.ResourceSlice.pb | Bin 0 -> 945 bytes ...resource.k8s.io.v1beta1.ResourceSlice.yaml | 110 + .../resource.k8s.io.v1beta2.DeviceClass.json | 73 + .../resource.k8s.io.v1beta2.DeviceClass.pb | Bin 0 -> 578 bytes .../resource.k8s.io.v1beta2.DeviceClass.yaml | 49 + ...resource.k8s.io.v1beta2.ResourceClaim.json | 263 + .../resource.k8s.io.v1beta2.ResourceClaim.pb | Bin 0 -> 1718 bytes ...resource.k8s.io.v1beta2.ResourceClaim.yaml | 166 + ....k8s.io.v1beta2.ResourceClaimTemplate.json | 184 + ...ce.k8s.io.v1beta2.ResourceClaimTemplate.pb | Bin 0 -> 1296 bytes ....k8s.io.v1beta2.ResourceClaimTemplate.yaml | 122 + ...resource.k8s.io.v1beta2.ResourceSlice.json | 172 + .../resource.k8s.io.v1beta2.ResourceSlice.pb | Bin 0 -> 942 bytes ...resource.k8s.io.v1beta2.ResourceSlice.yaml | 109 + .../scheduling.k8s.io.v1.PriorityClass.json | 50 + .../scheduling.k8s.io.v1.PriorityClass.pb | Bin 0 -> 450 bytes .../scheduling.k8s.io.v1.PriorityClass.yaml | 38 + ...eduling.k8s.io.v1alpha1.PriorityClass.json | 0 ...cheduling.k8s.io.v1alpha1.PriorityClass.pb | Bin ...eduling.k8s.io.v1alpha1.PriorityClass.yaml | 0 .../scheduling.k8s.io.v1alpha1.Workload.json | 0 .../scheduling.k8s.io.v1alpha1.Workload.pb | Bin .../scheduling.k8s.io.v1alpha1.Workload.yaml | 0 ...heduling.k8s.io.v1beta1.PriorityClass.json | 50 + ...scheduling.k8s.io.v1beta1.PriorityClass.pb | Bin 0 -> 455 bytes ...heduling.k8s.io.v1beta1.PriorityClass.yaml | 38 + .../v1.35.0/storage.k8s.io.v1.CSIDriver.json | 65 + .../v1.35.0/storage.k8s.io.v1.CSIDriver.pb | Bin 0 -> 480 bytes .../v1.35.0/storage.k8s.io.v1.CSIDriver.yaml | 48 + .../v1.35.0/storage.k8s.io.v1.CSINode.json | 60 + .../v1.35.0/storage.k8s.io.v1.CSINode.pb | Bin 0 -> 447 bytes .../v1.35.0/storage.k8s.io.v1.CSINode.yaml | 42 + .../storage.k8s.io.v1.CSIStorageCapacity.json | 63 + .../storage.k8s.io.v1.CSIStorageCapacity.pb | Bin 0 -> 518 bytes .../storage.k8s.io.v1.CSIStorageCapacity.yaml | 45 + .../storage.k8s.io.v1.StorageClass.json | 68 + .../v1.35.0/storage.k8s.io.v1.StorageClass.pb | Bin 0 -> 545 bytes .../storage.k8s.io.v1.StorageClass.yaml | 47 + .../storage.k8s.io.v1.VolumeAttachment.json | 328 + .../storage.k8s.io.v1.VolumeAttachment.pb | Bin 0 -> 2607 bytes .../storage.k8s.io.v1.VolumeAttachment.yaml | 251 + ...orage.k8s.io.v1.VolumeAttributesClass.json | 50 + ...storage.k8s.io.v1.VolumeAttributesClass.pb | Bin 0 -> 461 bytes ...orage.k8s.io.v1.VolumeAttributesClass.yaml | 37 + ...ge.k8s.io.v1alpha1.CSIStorageCapacity.json | 63 + ...rage.k8s.io.v1alpha1.CSIStorageCapacity.pb | Bin 0 -> 524 bytes ...ge.k8s.io.v1alpha1.CSIStorageCapacity.yaml | 45 + ...rage.k8s.io.v1alpha1.VolumeAttachment.json | 328 + ...torage.k8s.io.v1alpha1.VolumeAttachment.pb | Bin 0 -> 2613 bytes ...rage.k8s.io.v1alpha1.VolumeAttachment.yaml | 251 + ...k8s.io.v1alpha1.VolumeAttributesClass.json | 50 + ...e.k8s.io.v1alpha1.VolumeAttributesClass.pb | Bin 0 -> 467 bytes ...k8s.io.v1alpha1.VolumeAttributesClass.yaml | 37 + .../storage.k8s.io.v1beta1.CSIDriver.json | 65 + .../storage.k8s.io.v1beta1.CSIDriver.pb | Bin 0 -> 485 bytes .../storage.k8s.io.v1beta1.CSIDriver.yaml | 48 + .../storage.k8s.io.v1beta1.CSINode.json | 60 + .../v1.35.0/storage.k8s.io.v1beta1.CSINode.pb | Bin 0 -> 452 bytes .../storage.k8s.io.v1beta1.CSINode.yaml | 42 + ...age.k8s.io.v1beta1.CSIStorageCapacity.json | 63 + ...orage.k8s.io.v1beta1.CSIStorageCapacity.pb | Bin 0 -> 523 bytes ...age.k8s.io.v1beta1.CSIStorageCapacity.yaml | 45 + .../storage.k8s.io.v1beta1.StorageClass.json | 68 + .../storage.k8s.io.v1beta1.StorageClass.pb | Bin 0 -> 550 bytes .../storage.k8s.io.v1beta1.StorageClass.yaml | 47 + ...orage.k8s.io.v1beta1.VolumeAttachment.json | 328 + ...storage.k8s.io.v1beta1.VolumeAttachment.pb | Bin 0 -> 2612 bytes ...orage.k8s.io.v1beta1.VolumeAttachment.yaml | 251 + ....k8s.io.v1beta1.VolumeAttributesClass.json | 50 + ...ge.k8s.io.v1beta1.VolumeAttributesClass.pb | Bin 0 -> 466 bytes ....k8s.io.v1beta1.VolumeAttributesClass.yaml | 37 + ...8s.io.v1beta1.StorageVersionMigration.json | 65 + ....k8s.io.v1beta1.StorageVersionMigration.pb | Bin 0 -> 546 bytes ...8s.io.v1beta1.StorageVersionMigration.yaml | 47 + staging/k8s.io/apiextensions-apiserver/OWNERS | 1 - .../k8s.io/apiextensions-apiserver/_VERSION_ | 2 +- .../examples/client-go/hack/tools.go | 1 - .../versioned/fake/clientset_generated.go | 2 +- .../externalversions/cr/v1/example.go | 48 +- .../informers/externalversions/factory.go | 110 +- .../internalinterfaces/factory_interfaces.go | 19 + staging/k8s.io/apiextensions-apiserver/go.mod | 120 +- staging/k8s.io/apiextensions-apiserver/go.sum | 248 +- .../v1/generated.protomessage.pb.go | 76 - .../pkg/apis/apiextensions/v1/types.go | 3 + .../v1beta1/generated.protomessage.pb.go | 74 - ...extensions.k8s.io.v1.ConversionReview.json | 5 +- ...piextensions.k8s.io.v1.ConversionReview.pb | Bin 500 -> 517 bytes ...extensions.k8s.io.v1.ConversionReview.yaml | 2 + ...sions.k8s.io.v1beta1.ConversionReview.json | 5 +- ...ensions.k8s.io.v1beta1.ConversionReview.pb | Bin 505 -> 522 bytes ...sions.k8s.io.v1beta1.ConversionReview.yaml | 2 + .../pkg/apiserver/apiserver.go | 2 +- .../schema/cel/celcoststability_test.go | 6 - .../pkg/apiserver/schema/cel/model/adaptor.go | 3 - .../apiserver/schema/cel/validation_test.go | 4 - .../pkg/apiserver/schema/convert.go | 13 +- .../pkg/apiserver/schema/convert_test.go | 4 - .../pkg/apiserver/schema/kubeopenapi.go | 7 + .../pkg/apiserver/schema/kubeopenapi_test.go | 29 +- .../schema/objectmeta/coerce_test.go | 5 +- .../apiserver/schema/objectmeta/validation.go | 11 +- .../pkg/apiserver/schema/structural.go | 18 +- .../pkg/apiserver/schema/validation_test.go | 3 + .../apiserver/schema/zz_generated.deepcopy.go | 22 + .../pkg/apiserver/validation/formats.go | 40 +- .../pkg/apiserver/validation/formats_test.go | 12 +- .../apiserver/validation/ratcheting_test.go | 47 + .../apiserver/validation/validation_test.go | 90 + .../clientset/fake/clientset_generated.go | 2 +- .../v1/customresourcedefinition.go | 48 +- .../v1beta1/customresourcedefinition.go | 48 +- .../informers/externalversions/factory.go | 110 +- .../internalinterfaces/factory_interfaces.go | 19 + .../pkg/controller/finalizer/crd_finalizer.go | 11 +- .../controller/openapi/v2/conversion_test.go | 2 - .../pkg/features/kube_features.go | 1 + .../generated/openapi/zz_generated.openapi.go | 39 + .../customresource/status_strategy.go | 1 + .../customresourcedefinition/strategy.go | 10 +- .../apiextensions-apiserver/pkg/test/cel.go | 1 - .../pkg/test/pattern.go | 1 - .../test/integration/apply_test.go | 146 + .../integration/conversion/conversion_test.go | 13 +- .../test/integration/fixtures/server.go | 2 +- .../test/integration/subresources_test.go | 4 +- .../test/integration/table_test.go | 4 +- staging/k8s.io/apimachinery/OWNERS | 1 - staging/k8s.io/apimachinery/_VERSION_ | 2 +- staging/k8s.io/apimachinery/go.mod | 30 +- staging/k8s.io/apimachinery/go.sum | 62 +- .../pkg/api/apitesting/roundtrip/construct.go | 2 +- .../api/apitesting/roundtrip/fuzz_norace.go | 1 - .../pkg/api/apitesting/roundtrip/fuzz_race.go | 1 - .../pkg/api/apitesting/roundtrip/roundtrip.go | 2 +- .../apimachinery/pkg/api/equality/semantic.go | 3 + .../api/resource/generated.protomessage.pb.go | 26 - .../pkg/api/validate/content/errors.go | 6 + .../pkg/api/validate/content/path.go | 63 + .../content/path_test.go} | 140 +- .../pkg/api/validate/discriminator.go | 71 + .../pkg/api/validate/discriminator_test.go | 265 + .../apimachinery/pkg/api/validate/limits.go | 85 +- .../pkg/api/validate/limits_test.go | 453 +- .../apimachinery/pkg/api/validate/strfmt.go | 17 + .../pkg/api/validate/strfmt_test.go | 95 + .../apimachinery/pkg/api/validate/union.go | 19 +- .../pkg/api/validate/union_test.go | 229 +- .../pkg/api/validate/zeroorone_test.go | 4 +- .../pkg/api/validation/objectmeta.go | 2 +- .../pkg/api/validation/path/name.go | 44 +- .../apis/meta/internalversion/conversion.go} | 24 +- .../pkg/apis/meta/internalversion/types.go | 5 + .../zz_generated.conversion.go | 16 +- .../apimachinery/pkg/apis/meta/v1/fieldsv1.go | 170 + .../apis/meta/v1/fieldsv1_benchmark_test.go | 118 + .../pkg/apis/meta/v1/fieldsv1_byte.go | 105 + .../pkg/apis/meta/v1/fieldsv1_string.go | 113 + .../pkg/apis/meta/v1/fieldsv1_string_test.go | 362 + .../pkg/apis/meta/v1/generated.pb.go | 353 +- .../pkg/apis/meta/v1/generated.proto | 56 + .../apis/meta/v1/generated.protomessage.pb.go | 112 - .../apimachinery/pkg/apis/meta/v1/helpers.go | 27 +- .../pkg/apis/meta/v1/helpers_test.go | 54 +- .../apimachinery/pkg/apis/meta/v1/meta.go | 9 + .../pkg/apis/meta/v1/micro_time_fuzz.go | 1 - .../pkg/apis/meta/v1/time_fuzz.go | 1 - .../apimachinery/pkg/apis/meta/v1/types.go | 73 +- .../meta/v1/types_swagger_doc_generated.go | 19 +- .../apis/meta/v1/zz_generated.conversion.go | 7 + .../pkg/apis/meta/v1/zz_generated.deepcopy.go | 45 +- .../apis/meta/v1/zz_generated.model_name.go | 5 + .../v1/generated.protomessage.pb.go | 34 - .../pkg/runtime/converter_test.go | 2 - .../pkg/runtime/generated.protomessage.pb.go | 28 - .../pkg/runtime/serializer/cbor/cbor_test.go | 8 +- .../serializer/cbor/internal/modes/decode.go | 18 +- .../pkg/runtime/serializer/cbor/raw.go | 4 +- .../pkg/runtime/serializer/cbor/raw_test.go | 36 +- .../pkg/runtime/testing/validation.go | 25 +- .../apimachinery/pkg/sharding/accessor.go | 50 + .../pkg/sharding/accessor_test.go | 64 + .../pkg/sharding/hash.go} | 20 +- .../apimachinery/pkg/sharding/hash_test.go | 58 + .../apimachinery/pkg/sharding/selector.go | 137 + .../pkg/sharding/selector_test.go | 141 + .../k8s.io/apimachinery/pkg/sharding/types.go | 32 + ...pis_meta_v1_unstructed_unstructure_test.go | 1 - .../pkg/util/diff/complex_test.go | 3 - .../k8s.io/apimachinery/pkg/util/diff/diff.go | 5 +- .../apimachinery/pkg/util/diff/legacy_diff.go | 2 +- .../k8s.io/apimachinery/pkg/util/dump/dump.go | 38 +- .../apimachinery/pkg/util/dump/dump_test.go | 304 - .../apimachinery/pkg/util/httpstream/doc.go | 5 +- .../pkg/util/httpstream/httpstream_test.go | 231 - .../pkg/util/httpstream/spdy/connection.go | 204 - .../util/httpstream/spdy/connection_test.go | 333 - .../httpstream/spdy/doc.go} | 12 +- .../pkg/util/httpstream/spdy/roundtripper.go | 399 -- .../util/httpstream/spdy/roundtripper_test.go | 895 --- .../pkg/util/httpstream/spdy/spdy.go | 236 + .../pkg/util/httpstream/spdy/upgrade.go | 120 - .../pkg/util/httpstream/spdy/upgrade_test.go | 93 - .../pkg/util/httpstream/wsstream/conn.go | 452 -- .../pkg/util/httpstream/wsstream/conn_test.go | 418 -- .../pkg/util/httpstream/wsstream/doc.go | 53 +- .../pkg/util/httpstream/wsstream/stream.go | 177 - .../util/httpstream/wsstream/stream_test.go | 293 - .../pkg/util/httpstream/wsstream/wsstream.go | 91 + .../pkg/util/intstr/instr_fuzz.go | 1 - .../apimachinery/pkg/util/json/json_test.go | 1 - .../pkg/util/jsonmergepatch/patch_test.go | 2 +- .../pkg/util/managedfields/extract.go | 3 +- .../pkg/util/managedfields/extract_test.go | 2 +- .../util/managedfields/fieldmanager_test.go | 6 +- .../internal/capmanagers_test.go | 4 +- .../pkg/util/managedfields/internal/fields.go | 7 +- .../managedfields/internal/fields_test.go | 10 +- .../util/managedfields/scalehandler_test.go | 138 +- .../apimachinery/pkg/util/mergepatch/util.go | 2 +- .../k8s.io/apimachinery/pkg/util/net/http.go | 5 + .../apimachinery/pkg/util/net/http_test.go | 1 - .../apimachinery/pkg/util/net/interface.go | 112 +- .../pkg/util/net/interface_test.go | 19 +- .../apimachinery/pkg/util/proxy/dial.go | 6 +- .../apimachinery/pkg/util/proxy/transport.go | 4 +- .../pkg/util/proxy/upgradeaware.go | 33 +- .../pkg/util/proxy/upgradeaware_test.go | 2 +- .../apimachinery/pkg/util/runtime/runtime.go | 33 +- .../pkg/util/runtime/runtime_test.go | 36 + .../pkg/util/strategicpatch/patch.go | 8 +- .../pkg/util/strategicpatch/patch_test.go | 2 +- .../util/validation/field/error_matcher.go | 40 +- .../validation/field/error_matcher_test.go | 62 + .../pkg/util/validation/field/errors.go | 232 +- .../pkg/util/validation/field/errors_test.go | 39 + .../apimachinery/pkg/util/validation/ip.go | 4 +- .../pkg/util/validation/ip_test.go | 12 +- .../forked/golang/reflect/deep_equal.go | 4 +- .../forked/golang/reflect/deep_equal_test.go | 108 +- staging/k8s.io/code-generator/_VERSION_ | 2 +- .../fake/generator_fake_for_clientset.go | 2 +- .../cmd/deepcopy-gen/args/args.go | 3 - .../cmd/deepcopy-gen/generators/deepcopy.go | 16 +- .../deepcopy-gen/output_tests/output_test.go | 2 +- .../cmd/defaulter-gen/generators/defaulter.go | 19 +- .../cmd/go-to-protobuf/protobuf/cmd.go | 6 +- .../cmd/go-to-protobuf/protobuf/package.go | 6 +- .../cmd/go-to-protobuf/protobuf/parser.go | 41 +- .../cmd/informer-gen/generators/factory.go | 171 +- .../generators/factoryinterface.go | 21 + .../cmd/informer-gen/generators/informer.go | 58 +- .../cmd/informer-gen/generators/types.go | 9 + .../code-generator/cmd/validation-gen/lint.go | 67 +- .../cmd/validation-gen/lint_rules.go | 274 +- .../cmd/validation-gen/lint_test.go | 539 +- .../code-generator/cmd/validation-gen/main.go | 3 - .../output_tests/_codegenignore/other/doc.go | 1 + .../all_types_match/trivial/doc.go | 1 + .../with_field_validations/doc.go | 1 + .../with_type_validations/doc.go | 1 + .../output_tests/cohorts/doc.go | 1 + .../output_tests/cross_pkg/doc.go | 1 + .../output_tests/elide_no_validations/doc.go | 1 + .../output_tests/embedded/doc.go | 1 + .../output_tests/maps/keys/doc.go | 1 + .../output_tests/maps/map_of_primitive/doc.go | 1 + .../output_tests/maps/map_of_struct/doc.go | 1 + .../maps/multiple_validations/doc.go | 1 + .../output_tests/maps/typedef_to_map/doc.go | 1 + .../output_tests/multiple_tags/doc.go | 1 + .../output_tests/no_generation/doc.go | 2 + .../output_tests/no_types_match/doc.go | 1 + .../one_type_match/trivial/doc.go | 1 + .../with_field_validations/doc.go | 1 + .../with_type_validations/doc.go | 1 + .../output_tests/ordering/structs/doc.go | 1 + .../output_tests/ordering/typedefs/doc.go | 1 + .../output_tests/pointers/doc.go | 1 + .../output_tests/primitives/doc.go | 1 + .../output_tests/public_private/doc.go | 4 +- .../ratcheting/default_behavior/doc.go | 1 + .../output_tests/ratcheting/list/doc.go | 1 + .../ratcheting/maps/eachkey/doc.go | 1 + .../ratcheting/maps/eachval/doc.go | 1 + .../output_tests/ratcheting/subfield/doc.go | 1 + .../output_tests/recursive/maps/doc.go | 1 + .../output_tests/recursive/pointers/doc.go | 1 + .../output_tests/recursive/slices/doc.go | 1 + .../slices/multiple_validations/doc.go | 1 + .../slices/slice_of_primitive/doc.go | 1 + .../slices/slice_of_struct/doc.go | 1 + .../slices/typedef_to_slice/doc.go | 1 + .../output_tests/tags/discriminator/doc.go | 121 + .../tags/discriminator/doc_test.go | 204 + .../discriminator/zz_generated.validations.go | 391 ++ .../output_tests/tags/eachkey/doc.go | 1 + .../tags/eachval/map_of_primitive/doc.go | 1 + .../tags/eachval/map_of_struct/doc.go | 1 + .../tags/eachval/slice_of_primitive/doc.go | 1 + .../tags/eachval/slice_of_struct/doc.go | 1 + .../tags/eachval/typedef_to_map/doc.go | 1 + .../tags/eachval/typedef_to_slice/doc.go | 1 + .../output_tests/tags/enum/doc.go | 1 + .../output_tests/tags/enum/options/doc.go | 1 + .../output_tests/tags/forbidden/doc.go | 91 + .../output_tests/tags/forbidden/doc_test.go | 91 + .../forbidden/zz_generated.validations.go | 432 ++ .../format/k8s-extended-resource-name/doc.go | 1 + .../tags/format/k8s-label-key/doc.go | 1 + .../tags/format/k8s-label-value/doc.go | 1 + .../tags/format/k8s-long-name-caseless/doc.go | 1 + .../format/k8s-long-name/k8s-long-name/doc.go | 1 + .../k8s-resource-fully-qualified-name/doc.go | 1 + .../tags/format/k8s-resource-pool-name/doc.go | 1 + .../k8s-short-name/k8s-short-name/doc.go | 1 + .../output_tests/tags/format/k8s-uuid/doc.go | 1 + .../output_tests/tags/immutable/doc.go | 1 + .../tags/item/immutable_transitions/doc.go | 1 + .../tags/item/multiple_keys/doc.go | 1 + .../output_tests/tags/item/single_key/doc.go | 1 + .../output_tests/tags/item/subfield/doc.go | 1 + .../output_tests/tags/item/typedef/doc.go | 1 + .../tags/item/union/simple/doc.go | 1 + .../tags/item/union/typedef/doc.go | 1 + .../tags/item/zerorooneof/simple/doc.go | 1 + .../tags/item/zerorooneof/typedef/doc.go | 1 + .../tags/levels/atomicslice/doc.go | 54 + .../tags/levels/atomicslice/doc_test.go | 50 + .../atomicslice/zz_generated.validations.go | 128 + .../tags/levels/discriminators/doc.go | 103 + .../tags/levels/discriminators/doc_test.go | 162 + .../zz_generated.validations.go | 357 + .../output_tests/tags/levels/enums/doc.go | 47 + .../tags/levels/enums/doc_test.go | 57 + .../levels/enums/zz_generated.validations.go | 102 + .../output_tests/tags/levels/listkeys/doc.go | 118 + .../tags/levels/listkeys/doc_test.go | 147 + .../listkeys/zz_generated.validations.go | 240 + .../tags/levels/listmapitem/doc.go | 80 + .../tags/levels/listmapitem/doc_test.go | 59 + .../listmapitem/zz_generated.validations.go | 198 + .../output_tests/tags/levels/listset/doc.go | 72 + .../tags/levels/listset/doc_test.go | 70 + .../listset/zz_generated.validations.go | 192 + .../tags/levels/mapvalidation/doc.go | 61 + .../tags/levels/mapvalidation/doc_test.go | 62 + .../mapvalidation/zz_generated.validations.go | 170 + .../tags/levels/optionalrequired/doc.go} | 25 +- .../tags/levels/optionalrequired/doc_test.go | 64 + .../zz_generated.validations.go | 95 + .../output_tests/tags/levels/simple/doc.go | 91 + .../tags/levels/simple/doc_test.go | 140 + .../levels/simple/zz_generated.validations.go | 368 ++ .../output_tests/tags/levels/structs/doc.go | 61 + .../tags/levels/structs/doc_test.go | 92 + .../structs/zz_generated.validations.go | 198 + .../output_tests/tags/levels/subfields/doc.go | 48 + .../tags/levels/subfields/doc_test.go | 71 + .../subfields/zz_generated.validations.go | 114 + .../output_tests/tags/levels/unions/doc.go | 130 + .../tags/levels/unions/doc_test.go | 91 + .../levels/unions/zz_generated.validations.go | 410 ++ .../output_tests/tags/levels/uniquetag/doc.go | 37 + .../tags/levels/uniquetag/doc_test.go | 35 + .../uniquetag/zz_generated.validations.go | 84 + .../tags/listmap/multiple_keys/doc.go | 1 + .../tags/listmap/single_key/doc.go | 1 + .../output_tests/tags/listset/doc.go | 1 + .../output_tests/tags/maxbytes/doc.go | 81 + .../output_tests/tags/maxbytes/doc_test.go | 118 + .../tags/maxbytes/zz_generated.validations.go | 217 + .../output_tests/tags/maximum/doc.go | 62 + .../output_tests/tags/maximum/doc_test.go | 100 + .../tags/maximum/zz_generated.validations.go | 209 + .../tags/maxitems/slice_of_primitive/doc.go | 1 + .../tags/maxitems/slice_of_struct/doc.go | 1 + .../tags/maxitems/typedef_to_slice/doc.go | 1 + .../output_tests/tags/maxlength/doc.go | 1 + .../output_tests/tags/maxlength/doc_test.go | 24 +- .../output_tests/tags/minimum/doc.go | 1 + .../tags/minitems/slice_of_primitive/doc.go | 44 + .../minitems/slice_of_primitive/doc_test.go | 87 + .../zz_generated.validations.go | 106 + .../tags/minitems/slice_of_struct/doc.go | 46 + .../tags/minitems/slice_of_struct/doc_test.go | 87 + .../zz_generated.validations.go | 106 + .../tags/minitems/typedef_to_slice/doc.go | 60 + .../minitems/typedef_to_slice/doc_test.go | 87 + .../zz_generated.validations.go | 139 + .../output_tests/tags/minlength/doc.go | 105 + .../output_tests/tags/minlength/doc_test.go | 160 + .../minlength/zz_generated.validations.go | 361 + .../tags/neq/neq/neqchained/doc.go | 1 + .../output_tests/tags/neq/neqbool/doc.go | 1 + .../output_tests/tags/neq/neqint/doc.go | 1 + .../output_tests/tags/neq/neqstring/doc.go | 1 + .../output_tests/tags/opaque/doc.go | 1 + .../output_tests/tags/optional/doc.go | 1 + .../tags/optional/nonzero_defaults/doc.go | 1 + .../tags/optional/zero_defaults/doc.go | 1 + .../output_tests/tags/options/doc.go | 1 + .../output_tests/tags/required/doc.go | 115 + .../output_tests/tags/required/doc_test.go | 127 + .../tags/required/zz_generated.validations.go | 452 ++ .../output_tests/tags/subfield/deep/doc.go | 1 + .../tags/subfield/nonincluded/doc.go | 1 + .../output_tests/tags/subfield/shallow/doc.go | 1 + .../supported_resources/issubresource/doc.go | 3 +- .../tags/supported_resources/root/doc.go | 1 + .../supported_resources/subresource/doc.go | 7 +- .../union/discriminated/custom_members/doc.go | 1 + .../discriminated/custom_members/doc_test.go | 4 +- .../union/union/discriminated/empty/doc.go | 1 + .../union/union/discriminated/multiple/doc.go | 1 + .../union/discriminated/multiple/doc_test.go | 6 +- .../union/union/discriminated/simple/doc.go | 11 + .../union/discriminated/simple/doc_test.go | 54 +- .../simple/zz_generated.validations.go | 49 +- .../union/union/discriminated/sparse/doc.go | 1 + .../union/discriminated/sparse/doc_test.go | 4 +- .../undiscriminated/custom_members/doc.go | 1 + .../custom_members/doc_test.go | 4 +- .../union/undiscriminated/multiple/doc.go | 1 + .../undiscriminated/multiple/doc_test.go | 16 +- .../union/union/undiscriminated/simple/doc.go | 9 + .../union/undiscriminated/simple/doc_test.go | 28 +- .../simple/zz_generated.validations.go | 49 +- .../output_tests/tags/unique/doc.go | 1 + .../output_tests/tags/update/doc.go | 1 + .../output_tests/tags/validate_false/doc.go | 1 + .../output_tests/tags/validate_true/doc.go | 1 + .../tags/validatetruealpha/doc.go} | 23 +- .../tags/validatetruealpha/doc_test.go} | 23 +- .../zz_generated.validations.go | 69 + .../tags/validatetruebeta/doc.go} | 26 +- .../tags/validatetruebeta/doc_test.go} | 23 +- .../zz_generated.validations.go | 69 + .../zerooroneof/custom_members/doc.go | 1 + .../zerooroneof/zerooroneof/multiple/doc.go | 1 + .../zerooroneof/zerooroneof/simple/doc.go | 1 + .../zerooroneof/simple/doc_test.go | 8 + .../output_tests/type_args/doc.go | 1 + .../output_tests/typedefs/doc.go | 1 + .../update_validations/lists/doc.go | 1 + .../update_validations/maps/doc.go | 1 + .../primitive_pointers/doc.go | 2 + .../update_validations/primitives/doc.go | 1 + .../cmd/validation-gen/targets.go | 106 +- .../cmd/validation-gen/util/util.go | 37 + .../cmd/validation-gen/util/util_test.go | 126 + .../cmd/validation-gen/validation.go | 83 +- .../cmd/validation-gen/validators/common.go | 9 + .../validators/discriminator.go | 508 ++ .../cmd/validation-gen/validators/each.go | 40 +- .../cmd/validation-gen/validators/enum.go | 12 +- .../cmd/validation-gen/validators/equality.go | 9 +- .../cmd/validation-gen/validators/format.go | 10 +- .../validation-gen/validators/immutable.go | 4 +- .../cmd/validation-gen/validators/item.go | 26 +- .../cmd/validation-gen/validators/levels.go | 117 + .../cmd/validation-gen/validators/limits.go | 272 +- .../cmd/validation-gen/validators/list.go | 27 +- .../cmd/validation-gen/validators/opaque.go | 2 +- .../cmd/validation-gen/validators/options.go | 10 +- .../cmd/validation-gen/validators/registry.go | 95 +- .../validators/registry_test.go | 59 + .../cmd/validation-gen/validators/required.go | 8 +- .../cmd/validation-gen/validators/subfield.go | 24 +- .../cmd/validation-gen/validators/testing.go | 28 +- .../cmd/validation-gen/validators/union.go | 30 +- .../cmd/validation-gen/validators/update.go | 57 +- .../validation-gen/validators/validators.go | 84 +- .../validation-gen/validators/zeroorone.go | 10 +- .../versioned/fake/clientset_generated.go | 2 +- .../example/v1/clustertesttype.go | 48 +- .../externalversions/example/v1/testtype.go | 48 +- .../informers/externalversions/factory.go | 110 +- .../internalinterfaces/factory_interfaces.go | 19 + .../versioned/fake/clientset_generated.go | 2 +- .../example/v1/clustertesttype.go | 48 +- .../externalversions/example/v1/testtype.go | 48 +- .../informers/externalversions/factory.go | 110 +- .../internalinterfaces/factory_interfaces.go | 19 + .../versioned/fake/clientset_generated.go | 2 +- .../externalversions/core/v1/testtype.go | 48 +- .../externalversions/example/v1/testtype.go | 48 +- .../externalversions/example2/v1/testtype.go | 48 +- .../example3.io/v1/testtype.go | 48 +- .../informers/externalversions/factory.go | 110 +- .../internalinterfaces/factory_interfaces.go | 19 + .../apiserver/openapi/zz_generated.openapi.go | 38 + .../versioned/fake/clientset_generated.go | 2 +- .../conflicting/v1/testtype.go | 48 +- .../example/v1/clustertesttype.go | 48 +- .../externalversions/example/v1/testtype.go | 48 +- .../externalversions/example2/v1/testtype.go | 48 +- .../extensions/v1/testtype.go | 48 +- .../crd/informers/externalversions/factory.go | 110 +- .../internalinterfaces/factory_interfaces.go | 19 + staging/k8s.io/code-generator/examples/go.mod | 31 +- staging/k8s.io/code-generator/examples/go.sum | 67 +- .../versioned/fake/clientset_generated.go | 2 +- .../api/v1/clustertesttype.go | 48 +- .../externalversions/api/v1/testtype.go | 48 +- .../informers/externalversions/factory.go | 110 +- .../externalversions/factory_test.go | 111 + .../internalinterfaces/factory_interfaces.go | 19 + staging/k8s.io/code-generator/go.mod | 32 +- staging/k8s.io/code-generator/go.sum | 66 +- staging/k8s.io/code-generator/kube_codegen.sh | 34 + staging/k8s.io/code-generator/tools.go | 1 - staging/k8s.io/kube-aggregator/OWNERS | 1 - staging/k8s.io/kube-aggregator/_VERSION_ | 2 +- staging/k8s.io/kube-aggregator/go.mod | 113 +- staging/k8s.io/kube-aggregator/go.sum | 248 +- staging/k8s.io/kube-aggregator/hack/tools.go | 1 - .../kube-aggregator/hack/update-codegen.sh | 2 + .../kube-aggregator/hack/verify-codegen.sh | 13 + .../v1/generated.protomessage.pb.go | 34 - .../v1beta1/generated.protomessage.pb.go | 34 - .../apiregistration/validation/validation.go | 4 +- .../pkg/apiserver/handler_discovery.go | 42 +- .../pkg/apiserver/handler_discovery_test.go | 4 +- .../pkg/apiserver/handler_proxy.go | 14 +- .../apiregistration/v1/apiservice.go | 292 + .../apiregistration/v1/apiservicecondition.go | 88 + .../apiregistration/v1/apiservicespec.go | 124 + .../apiregistration/v1/apiservicestatus.go | 47 + .../apiregistration/v1/servicereference.go | 64 + .../apiregistration/v1beta1/apiservice.go | 292 + .../v1beta1/apiservicecondition.go | 88 + .../apiregistration/v1beta1/apiservicespec.go | 124 + .../v1beta1/apiservicestatus.go | 47 + .../v1beta1/servicereference.go | 64 + .../applyconfiguration/internal/internal.go | 369 ++ .../pkg/client/applyconfiguration/utils.go | 66 + .../clientset/fake/clientset_generated.go | 43 +- .../typed/apiregistration/v1/apiservice.go | 8 +- .../v1/fake/fake_apiservice.go | 9 +- .../apiregistration/v1beta1/apiservice.go | 8 +- .../v1beta1/fake/fake_apiservice.go | 9 +- .../apiregistration/v1/apiservice.go | 48 +- .../apiregistration/v1beta1/apiservice.go | 48 +- .../informers/externalversions/factory.go | 110 +- .../internalinterfaces/factory_interfaces.go | 19 + .../pkg/controllers/openapi/controller.go | 33 +- .../pkg/controllers/openapiv3/controller.go | 40 +- .../local/local_available_controller_test.go | 2 +- .../remote/remote_available_controller.go | 115 +- .../remote_available_controller_test.go | 79 +- .../openapi/cmd/models-schema/main.go | 76 + .../generated/openapi/zz_generated.openapi.go | 38 + 2089 files changed, 202804 insertions(+), 39017 deletions(-) delete mode 100644 api/v1/generated.protomessage.pb.go delete mode 100644 api/worker/v1/generated.protomessage.pb.go delete mode 100644 api/worker/v1alpha1/generated.protomessage.pb.go create mode 100644 pkg/kubeclients/applyconfiguration/admissionregistration/v1/applyconfiguration.go create mode 100644 pkg/kubeclients/applyconfiguration/admissionregistration/v1/jsonpatch.go create mode 100644 pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingadmissionpolicy.go create mode 100644 pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingadmissionpolicybinding.go create mode 100644 pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingadmissionpolicybindingspec.go create mode 100644 pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingadmissionpolicyspec.go create mode 100644 pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutation.go create mode 100644 pkg/kubeclients/applyconfiguration/core/v1/imagevolumestatus.go create mode 100644 pkg/kubeclients/applyconfiguration/core/v1/nodeallocatableresourceclaimstatus.go create mode 100644 pkg/kubeclients/applyconfiguration/core/v1/podschedulinggroup.go create mode 100644 pkg/kubeclients/applyconfiguration/core/v1/volumestatus.go create mode 100644 pkg/kubeclients/applyconfiguration/kueue/v1beta2/concurrentadmissionconstraints.go create mode 100644 pkg/kubeclients/applyconfiguration/kueue/v1beta2/concurrentadmissionmigration.go create mode 100644 pkg/kubeclients/applyconfiguration/kueue/v1beta2/concurrentadmissionpolicy.go create mode 100644 pkg/kubeclients/applyconfiguration/resource/v1/nodeallocatableresourcemapping.go create mode 100644 pkg/kubeclients/informers/admissionregistration/v1/mutatingadmissionpolicy.go create mode 100644 pkg/kubeclients/informers/admissionregistration/v1/mutatingadmissionpolicybinding.go create mode 100644 pkg/kubeclients/kubernetes/typed/admissionregistration/v1/fake/fake_mutatingadmissionpolicy.go create mode 100644 pkg/kubeclients/kubernetes/typed/admissionregistration/v1/fake/fake_mutatingadmissionpolicybinding.go create mode 100644 pkg/kubeclients/kubernetes/typed/admissionregistration/v1/mutatingadmissionpolicy.go create mode 100644 pkg/kubeclients/kubernetes/typed/admissionregistration/v1/mutatingadmissionpolicybinding.go create mode 100644 pkg/kubeclients/listers/admissionregistration/v1/mutatingadmissionpolicy.go create mode 100644 pkg/kubeclients/listers/admissionregistration/v1/mutatingadmissionpolicybinding.go create mode 100644 pkg/utils/httpx/binder_test.go delete mode 100644 staging/k8s.io/api/admission/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/admissionregistration/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/admissionregistration/v1alpha1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/admissionregistration/v1beta1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/apiserverinternal/v1alpha1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/apps/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/apps/v1beta1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/apps/v1beta2/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/authentication/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/authentication/v1beta1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/authorization/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/authorization/v1beta1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/autoscaling/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/autoscaling/v2/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/autoscaling/v2beta1/doc.go delete mode 100644 staging/k8s.io/api/autoscaling/v2beta1/generated.pb.go delete mode 100644 staging/k8s.io/api/autoscaling/v2beta1/generated.proto delete mode 100644 staging/k8s.io/api/autoscaling/v2beta1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/autoscaling/v2beta1/register.go delete mode 100644 staging/k8s.io/api/autoscaling/v2beta1/types.go delete mode 100644 staging/k8s.io/api/autoscaling/v2beta1/types_swagger_doc_generated.go delete mode 100644 staging/k8s.io/api/autoscaling/v2beta1/zz_generated.deepcopy.go delete mode 100644 staging/k8s.io/api/autoscaling/v2beta1/zz_generated.model_name.go delete mode 100644 staging/k8s.io/api/autoscaling/v2beta1/zz_generated.prerelease-lifecycle.go delete mode 100644 staging/k8s.io/api/autoscaling/v2beta2/doc.go delete mode 100644 staging/k8s.io/api/autoscaling/v2beta2/generated.pb.go delete mode 100644 staging/k8s.io/api/autoscaling/v2beta2/generated.proto delete mode 100644 staging/k8s.io/api/autoscaling/v2beta2/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/autoscaling/v2beta2/register.go delete mode 100644 staging/k8s.io/api/autoscaling/v2beta2/types.go delete mode 100644 staging/k8s.io/api/autoscaling/v2beta2/types_swagger_doc_generated.go delete mode 100644 staging/k8s.io/api/autoscaling/v2beta2/zz_generated.deepcopy.go delete mode 100644 staging/k8s.io/api/autoscaling/v2beta2/zz_generated.model_name.go delete mode 100644 staging/k8s.io/api/autoscaling/v2beta2/zz_generated.prerelease-lifecycle.go delete mode 100644 staging/k8s.io/api/batch/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/batch/v1beta1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/certificates/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/certificates/v1alpha1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/certificates/v1beta1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/coordination/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/coordination/v1alpha2/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/coordination/v1beta1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/core/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/discovery/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/discovery/v1beta1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/events/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/events/v1beta1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/extensions/v1beta1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/flowcontrol/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/flowcontrol/v1beta1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/flowcontrol/v1beta2/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/flowcontrol/v1beta3/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/imagepolicy/v1alpha1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/networking/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/networking/v1beta1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/node/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/node/v1alpha1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/node/v1beta1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/policy/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/policy/v1beta1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/rbac/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/rbac/v1alpha1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/rbac/v1beta1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/resource/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/resource/v1alpha3/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/resource/v1beta1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/resource/v1beta2/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/scheduling/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/scheduling/v1alpha1/generated.pb.go delete mode 100644 staging/k8s.io/api/scheduling/v1alpha1/generated.proto delete mode 100644 staging/k8s.io/api/scheduling/v1alpha1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/scheduling/v1alpha1/types.go delete mode 100644 staging/k8s.io/api/scheduling/v1alpha1/types_swagger_doc_generated.go delete mode 100644 staging/k8s.io/api/scheduling/v1alpha1/zz_generated.deepcopy.go delete mode 100644 staging/k8s.io/api/scheduling/v1alpha1/zz_generated.model_name.go rename staging/k8s.io/api/scheduling/{v1alpha1 => v1alpha2}/doc.go (84%) create mode 100644 staging/k8s.io/api/scheduling/v1alpha2/generated.pb.go create mode 100644 staging/k8s.io/api/scheduling/v1alpha2/generated.proto rename staging/k8s.io/api/scheduling/{v1alpha1 => v1alpha2}/register.go (90%) create mode 100644 staging/k8s.io/api/scheduling/v1alpha2/types.go create mode 100644 staging/k8s.io/api/scheduling/v1alpha2/types_swagger_doc_generated.go create mode 100644 staging/k8s.io/api/scheduling/v1alpha2/zz_generated.deepcopy.go create mode 100644 staging/k8s.io/api/scheduling/v1alpha2/zz_generated.model_name.go delete mode 100644 staging/k8s.io/api/scheduling/v1beta1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/storage/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/storage/v1alpha1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/storage/v1beta1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/api/storagemigration/v1beta1/generated.protomessage.pb.go create mode 100644 staging/k8s.io/api/testdata/HEAD/admissionregistration.k8s.io.v1.MutatingAdmissionPolicy.json create mode 100644 staging/k8s.io/api/testdata/HEAD/admissionregistration.k8s.io.v1.MutatingAdmissionPolicy.pb create mode 100644 staging/k8s.io/api/testdata/HEAD/admissionregistration.k8s.io.v1.MutatingAdmissionPolicy.yaml create mode 100644 staging/k8s.io/api/testdata/HEAD/admissionregistration.k8s.io.v1.MutatingAdmissionPolicyBinding.json create mode 100644 staging/k8s.io/api/testdata/HEAD/admissionregistration.k8s.io.v1.MutatingAdmissionPolicyBinding.pb create mode 100644 staging/k8s.io/api/testdata/HEAD/admissionregistration.k8s.io.v1.MutatingAdmissionPolicyBinding.yaml create mode 100644 staging/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha3.ResourcePoolStatusRequest.json create mode 100644 staging/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha3.ResourcePoolStatusRequest.pb create mode 100644 staging/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha3.ResourcePoolStatusRequest.yaml create mode 100644 staging/k8s.io/api/testdata/HEAD/resource.k8s.io.v1beta2.DeviceTaintRule.json create mode 100644 staging/k8s.io/api/testdata/HEAD/resource.k8s.io.v1beta2.DeviceTaintRule.pb create mode 100644 staging/k8s.io/api/testdata/HEAD/resource.k8s.io.v1beta2.DeviceTaintRule.yaml create mode 100644 staging/k8s.io/api/testdata/HEAD/scheduling.k8s.io.v1alpha2.PodGroup.json create mode 100644 staging/k8s.io/api/testdata/HEAD/scheduling.k8s.io.v1alpha2.PodGroup.pb create mode 100644 staging/k8s.io/api/testdata/HEAD/scheduling.k8s.io.v1alpha2.PodGroup.yaml create mode 100644 staging/k8s.io/api/testdata/HEAD/scheduling.k8s.io.v1alpha2.Workload.json create mode 100644 staging/k8s.io/api/testdata/HEAD/scheduling.k8s.io.v1alpha2.Workload.pb create mode 100644 staging/k8s.io/api/testdata/HEAD/scheduling.k8s.io.v1alpha2.Workload.yaml create mode 100644 staging/k8s.io/api/testdata/v1.33.0/core.v1.ListOptions.after_roundtrip.pb create mode 100644 staging/k8s.io/api/testdata/v1.34.0/core.v1.ListOptions.after_roundtrip.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admission.k8s.io.v1.AdmissionReview.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admission.k8s.io.v1.AdmissionReview.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admission.k8s.io.v1.AdmissionReview.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admission.k8s.io.v1beta1.AdmissionReview.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admission.k8s.io.v1beta1.AdmissionReview.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admission.k8s.io.v1beta1.AdmissionReview.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1.MutatingWebhookConfiguration.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1.MutatingWebhookConfiguration.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1.MutatingWebhookConfiguration.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1.ValidatingAdmissionPolicy.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1.ValidatingAdmissionPolicy.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1.ValidatingAdmissionPolicy.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1.ValidatingAdmissionPolicyBinding.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1.ValidatingAdmissionPolicyBinding.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1.ValidatingAdmissionPolicyBinding.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1.ValidatingWebhookConfiguration.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1.ValidatingWebhookConfiguration.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1.ValidatingWebhookConfiguration.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1alpha1.MutatingAdmissionPolicy.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1alpha1.MutatingAdmissionPolicy.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1alpha1.MutatingAdmissionPolicy.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1alpha1.MutatingAdmissionPolicyBinding.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1alpha1.MutatingAdmissionPolicyBinding.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1alpha1.MutatingAdmissionPolicyBinding.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicy.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicy.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicy.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicyBinding.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicyBinding.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicyBinding.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1beta1.MutatingAdmissionPolicy.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1beta1.MutatingAdmissionPolicy.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1beta1.MutatingAdmissionPolicy.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1beta1.MutatingAdmissionPolicyBinding.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1beta1.MutatingAdmissionPolicyBinding.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1beta1.MutatingAdmissionPolicyBinding.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1beta1.MutatingWebhookConfiguration.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1beta1.MutatingWebhookConfiguration.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1beta1.MutatingWebhookConfiguration.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1beta1.ValidatingAdmissionPolicy.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1beta1.ValidatingAdmissionPolicy.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1beta1.ValidatingAdmissionPolicy.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1beta1.ValidatingAdmissionPolicyBinding.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1beta1.ValidatingAdmissionPolicyBinding.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1beta1.ValidatingAdmissionPolicyBinding.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1beta1.ValidatingWebhookConfiguration.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1beta1.ValidatingWebhookConfiguration.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/admissionregistration.k8s.io.v1beta1.ValidatingWebhookConfiguration.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apidiscovery.k8s.io.v2.APIGroupDiscovery.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apidiscovery.k8s.io.v2.APIGroupDiscovery.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apidiscovery.k8s.io.v2.APIGroupDiscovery.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apidiscovery.k8s.io.v2beta1.APIGroupDiscovery.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apidiscovery.k8s.io.v2beta1.APIGroupDiscovery.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apidiscovery.k8s.io.v2beta1.APIGroupDiscovery.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.ControllerRevision.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.ControllerRevision.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.ControllerRevision.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.DaemonSet.after_roundtrip.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.DaemonSet.after_roundtrip.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.DaemonSet.after_roundtrip.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.DaemonSet.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.DaemonSet.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.DaemonSet.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.Deployment.after_roundtrip.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.Deployment.after_roundtrip.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.Deployment.after_roundtrip.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.Deployment.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.Deployment.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.Deployment.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.ReplicaSet.after_roundtrip.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.ReplicaSet.after_roundtrip.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.ReplicaSet.after_roundtrip.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.ReplicaSet.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.ReplicaSet.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.ReplicaSet.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.StatefulSet.after_roundtrip.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.StatefulSet.after_roundtrip.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.StatefulSet.after_roundtrip.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.StatefulSet.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.StatefulSet.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1.StatefulSet.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta1.ControllerRevision.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta1.ControllerRevision.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta1.ControllerRevision.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta1.Deployment.after_roundtrip.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta1.Deployment.after_roundtrip.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta1.Deployment.after_roundtrip.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta1.Deployment.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta1.Deployment.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta1.Deployment.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta1.DeploymentRollback.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta1.DeploymentRollback.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta1.DeploymentRollback.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta1.Scale.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta1.Scale.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta1.Scale.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta1.StatefulSet.after_roundtrip.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta1.StatefulSet.after_roundtrip.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta1.StatefulSet.after_roundtrip.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta1.StatefulSet.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta1.StatefulSet.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta1.StatefulSet.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.ControllerRevision.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.ControllerRevision.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.ControllerRevision.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.DaemonSet.after_roundtrip.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.DaemonSet.after_roundtrip.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.DaemonSet.after_roundtrip.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.DaemonSet.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.DaemonSet.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.DaemonSet.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.Deployment.after_roundtrip.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.Deployment.after_roundtrip.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.Deployment.after_roundtrip.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.Deployment.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.Deployment.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.Deployment.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.ReplicaSet.after_roundtrip.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.ReplicaSet.after_roundtrip.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.ReplicaSet.after_roundtrip.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.ReplicaSet.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.ReplicaSet.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.ReplicaSet.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.Scale.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.Scale.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.Scale.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.StatefulSet.after_roundtrip.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.StatefulSet.after_roundtrip.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.StatefulSet.after_roundtrip.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.StatefulSet.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.StatefulSet.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/apps.v1beta2.StatefulSet.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authentication.k8s.io.v1.SelfSubjectReview.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authentication.k8s.io.v1.SelfSubjectReview.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authentication.k8s.io.v1.SelfSubjectReview.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authentication.k8s.io.v1.TokenRequest.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authentication.k8s.io.v1.TokenRequest.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authentication.k8s.io.v1.TokenRequest.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authentication.k8s.io.v1.TokenReview.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authentication.k8s.io.v1.TokenReview.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authentication.k8s.io.v1.TokenReview.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authentication.k8s.io.v1beta1.SelfSubjectReview.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authentication.k8s.io.v1beta1.SelfSubjectReview.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authentication.k8s.io.v1beta1.SelfSubjectReview.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authentication.k8s.io.v1beta1.TokenReview.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authentication.k8s.io.v1beta1.TokenReview.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authentication.k8s.io.v1beta1.TokenReview.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1.LocalSubjectAccessReview.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1.LocalSubjectAccessReview.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1.LocalSubjectAccessReview.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1.SelfSubjectAccessReview.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1.SelfSubjectAccessReview.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1.SelfSubjectAccessReview.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1.SelfSubjectRulesReview.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1.SelfSubjectRulesReview.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1.SelfSubjectRulesReview.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1.SubjectAccessReview.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1.SubjectAccessReview.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1.SubjectAccessReview.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1beta1.LocalSubjectAccessReview.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1beta1.LocalSubjectAccessReview.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1beta1.LocalSubjectAccessReview.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1beta1.SelfSubjectAccessReview.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1beta1.SelfSubjectAccessReview.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1beta1.SelfSubjectAccessReview.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1beta1.SelfSubjectRulesReview.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1beta1.SelfSubjectRulesReview.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1beta1.SelfSubjectRulesReview.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1beta1.SubjectAccessReview.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1beta1.SubjectAccessReview.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/authorization.k8s.io.v1beta1.SubjectAccessReview.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/autoscaling.v1.HorizontalPodAutoscaler.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/autoscaling.v1.HorizontalPodAutoscaler.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/autoscaling.v1.HorizontalPodAutoscaler.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/autoscaling.v1.Scale.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/autoscaling.v1.Scale.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/autoscaling.v1.Scale.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/autoscaling.v2.HorizontalPodAutoscaler.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/autoscaling.v2.HorizontalPodAutoscaler.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/autoscaling.v2.HorizontalPodAutoscaler.yaml rename staging/k8s.io/api/testdata/{HEAD => v1.35.0}/autoscaling.v2beta1.HorizontalPodAutoscaler.json (100%) rename staging/k8s.io/api/testdata/{HEAD => v1.35.0}/autoscaling.v2beta1.HorizontalPodAutoscaler.pb (100%) rename staging/k8s.io/api/testdata/{HEAD => v1.35.0}/autoscaling.v2beta1.HorizontalPodAutoscaler.yaml (100%) rename staging/k8s.io/api/testdata/{HEAD => v1.35.0}/autoscaling.v2beta2.HorizontalPodAutoscaler.json (100%) rename staging/k8s.io/api/testdata/{HEAD => v1.35.0}/autoscaling.v2beta2.HorizontalPodAutoscaler.pb (100%) rename staging/k8s.io/api/testdata/{HEAD => v1.35.0}/autoscaling.v2beta2.HorizontalPodAutoscaler.yaml (100%) create mode 100644 staging/k8s.io/api/testdata/v1.35.0/batch.v1.CronJob.after_roundtrip.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/batch.v1.CronJob.after_roundtrip.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/batch.v1.CronJob.after_roundtrip.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/batch.v1.CronJob.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/batch.v1.CronJob.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/batch.v1.CronJob.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/batch.v1.Job.after_roundtrip.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/batch.v1.Job.after_roundtrip.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/batch.v1.Job.after_roundtrip.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/batch.v1.Job.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/batch.v1.Job.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/batch.v1.Job.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/batch.v1beta1.CronJob.after_roundtrip.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/batch.v1beta1.CronJob.after_roundtrip.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/batch.v1beta1.CronJob.after_roundtrip.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/batch.v1beta1.CronJob.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/batch.v1beta1.CronJob.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/batch.v1beta1.CronJob.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/certificates.k8s.io.v1.CertificateSigningRequest.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/certificates.k8s.io.v1.CertificateSigningRequest.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/certificates.k8s.io.v1.CertificateSigningRequest.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/certificates.k8s.io.v1alpha1.ClusterTrustBundle.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/certificates.k8s.io.v1alpha1.ClusterTrustBundle.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/certificates.k8s.io.v1alpha1.ClusterTrustBundle.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/certificates.k8s.io.v1beta1.CertificateSigningRequest.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/certificates.k8s.io.v1beta1.CertificateSigningRequest.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/certificates.k8s.io.v1beta1.CertificateSigningRequest.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/certificates.k8s.io.v1beta1.ClusterTrustBundle.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/certificates.k8s.io.v1beta1.ClusterTrustBundle.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/certificates.k8s.io.v1beta1.ClusterTrustBundle.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/certificates.k8s.io.v1beta1.PodCertificateRequest.after_roundtrip.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/certificates.k8s.io.v1beta1.PodCertificateRequest.after_roundtrip.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/certificates.k8s.io.v1beta1.PodCertificateRequest.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/certificates.k8s.io.v1beta1.PodCertificateRequest.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/certificates.k8s.io.v1beta1.PodCertificateRequest.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/coordination.k8s.io.v1.Lease.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/coordination.k8s.io.v1.Lease.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/coordination.k8s.io.v1.Lease.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/coordination.k8s.io.v1alpha2.LeaseCandidate.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/coordination.k8s.io.v1alpha2.LeaseCandidate.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/coordination.k8s.io.v1alpha2.LeaseCandidate.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/coordination.k8s.io.v1beta1.Lease.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/coordination.k8s.io.v1beta1.Lease.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/coordination.k8s.io.v1beta1.Lease.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/coordination.k8s.io.v1beta1.LeaseCandidate.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/coordination.k8s.io.v1beta1.LeaseCandidate.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/coordination.k8s.io.v1beta1.LeaseCandidate.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.APIGroup.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.APIGroup.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.APIGroup.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.APIVersions.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.APIVersions.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.APIVersions.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Binding.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Binding.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Binding.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ComponentStatus.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ComponentStatus.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ComponentStatus.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ConfigMap.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ConfigMap.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ConfigMap.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.CreateOptions.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.CreateOptions.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.CreateOptions.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.DeleteOptions.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.DeleteOptions.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.DeleteOptions.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Endpoints.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Endpoints.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Endpoints.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Event.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Event.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Event.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.GetOptions.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.GetOptions.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.GetOptions.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.LimitRange.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.LimitRange.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.LimitRange.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ListOptions.after_roundtrip.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ListOptions.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ListOptions.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ListOptions.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Namespace.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Namespace.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Namespace.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Node.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Node.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Node.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.NodeProxyOptions.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.NodeProxyOptions.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.NodeProxyOptions.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PatchOptions.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PatchOptions.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PatchOptions.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PersistentVolume.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PersistentVolume.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PersistentVolume.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PersistentVolumeClaim.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PersistentVolumeClaim.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PersistentVolumeClaim.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Pod.after_roundtrip.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Pod.after_roundtrip.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Pod.after_roundtrip.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Pod.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Pod.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Pod.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodAttachOptions.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodAttachOptions.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodAttachOptions.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodExecOptions.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodExecOptions.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodExecOptions.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodLogOptions.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodLogOptions.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodLogOptions.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodPortForwardOptions.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodPortForwardOptions.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodPortForwardOptions.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodProxyOptions.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodProxyOptions.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodProxyOptions.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodStatusResult.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodStatusResult.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodStatusResult.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodTemplate.after_roundtrip.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodTemplate.after_roundtrip.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodTemplate.after_roundtrip.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodTemplate.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodTemplate.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.PodTemplate.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.RangeAllocation.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.RangeAllocation.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.RangeAllocation.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ReplicationController.after_roundtrip.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ReplicationController.after_roundtrip.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ReplicationController.after_roundtrip.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ReplicationController.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ReplicationController.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ReplicationController.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ResourceQuota.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ResourceQuota.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ResourceQuota.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Secret.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Secret.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Secret.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.SerializedReference.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.SerializedReference.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.SerializedReference.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Service.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Service.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Service.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ServiceAccount.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ServiceAccount.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ServiceAccount.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ServiceProxyOptions.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ServiceProxyOptions.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.ServiceProxyOptions.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Status.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Status.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.Status.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.UpdateOptions.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.UpdateOptions.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.UpdateOptions.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.WatchEvent.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.WatchEvent.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/core.v1.WatchEvent.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/discovery.k8s.io.v1.EndpointSlice.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/discovery.k8s.io.v1.EndpointSlice.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/discovery.k8s.io.v1.EndpointSlice.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/discovery.k8s.io.v1beta1.EndpointSlice.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/discovery.k8s.io.v1beta1.EndpointSlice.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/discovery.k8s.io.v1beta1.EndpointSlice.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/events.k8s.io.v1.Event.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/events.k8s.io.v1.Event.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/events.k8s.io.v1.Event.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/events.k8s.io.v1beta1.Event.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/events.k8s.io.v1beta1.Event.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/events.k8s.io.v1beta1.Event.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.DaemonSet.after_roundtrip.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.DaemonSet.after_roundtrip.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.DaemonSet.after_roundtrip.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.DaemonSet.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.DaemonSet.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.DaemonSet.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.Deployment.after_roundtrip.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.Deployment.after_roundtrip.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.Deployment.after_roundtrip.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.Deployment.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.Deployment.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.Deployment.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.DeploymentRollback.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.DeploymentRollback.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.DeploymentRollback.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.Ingress.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.Ingress.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.Ingress.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.NetworkPolicy.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.NetworkPolicy.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.NetworkPolicy.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.ReplicaSet.after_roundtrip.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.ReplicaSet.after_roundtrip.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.ReplicaSet.after_roundtrip.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.ReplicaSet.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.ReplicaSet.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.ReplicaSet.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.Scale.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.Scale.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/extensions.v1beta1.Scale.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1.FlowSchema.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1.FlowSchema.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1.FlowSchema.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1.PriorityLevelConfiguration.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1.PriorityLevelConfiguration.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1.PriorityLevelConfiguration.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1beta1.FlowSchema.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1beta1.FlowSchema.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1beta1.FlowSchema.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1beta1.PriorityLevelConfiguration.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1beta1.PriorityLevelConfiguration.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1beta1.PriorityLevelConfiguration.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1beta2.PriorityLevelConfiguration.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1beta2.PriorityLevelConfiguration.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1beta2.PriorityLevelConfiguration.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1beta3.FlowSchema.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1beta3.FlowSchema.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1beta3.FlowSchema.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1beta3.PriorityLevelConfiguration.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1beta3.PriorityLevelConfiguration.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/flowcontrol.apiserver.k8s.io.v1beta3.PriorityLevelConfiguration.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/imagepolicy.k8s.io.v1alpha1.ImageReview.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/imagepolicy.k8s.io.v1alpha1.ImageReview.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/imagepolicy.k8s.io.v1alpha1.ImageReview.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/internal.apiserver.k8s.io.v1alpha1.StorageVersion.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/internal.apiserver.k8s.io.v1alpha1.StorageVersion.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/internal.apiserver.k8s.io.v1alpha1.StorageVersion.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1.IPAddress.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1.IPAddress.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1.IPAddress.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1.Ingress.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1.Ingress.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1.Ingress.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1.IngressClass.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1.IngressClass.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1.IngressClass.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1.NetworkPolicy.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1.NetworkPolicy.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1.NetworkPolicy.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1.ServiceCIDR.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1.ServiceCIDR.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1.ServiceCIDR.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1beta1.IPAddress.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1beta1.IPAddress.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1beta1.IPAddress.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1beta1.Ingress.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1beta1.Ingress.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1beta1.Ingress.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1beta1.IngressClass.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1beta1.IngressClass.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1beta1.IngressClass.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1beta1.ServiceCIDR.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1beta1.ServiceCIDR.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/networking.k8s.io.v1beta1.ServiceCIDR.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/node.k8s.io.v1.RuntimeClass.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/node.k8s.io.v1.RuntimeClass.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/node.k8s.io.v1.RuntimeClass.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/node.k8s.io.v1alpha1.RuntimeClass.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/node.k8s.io.v1alpha1.RuntimeClass.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/node.k8s.io.v1alpha1.RuntimeClass.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/node.k8s.io.v1beta1.RuntimeClass.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/node.k8s.io.v1beta1.RuntimeClass.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/node.k8s.io.v1beta1.RuntimeClass.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/policy.v1.Eviction.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/policy.v1.Eviction.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/policy.v1.Eviction.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/policy.v1.PodDisruptionBudget.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/policy.v1.PodDisruptionBudget.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/policy.v1.PodDisruptionBudget.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/policy.v1beta1.Eviction.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/policy.v1beta1.Eviction.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/policy.v1beta1.Eviction.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/policy.v1beta1.PodDisruptionBudget.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/policy.v1beta1.PodDisruptionBudget.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/policy.v1beta1.PodDisruptionBudget.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1.ClusterRole.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1.ClusterRole.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1.ClusterRole.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1.ClusterRoleBinding.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1.ClusterRoleBinding.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1.ClusterRoleBinding.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1.Role.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1.Role.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1.Role.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1.RoleBinding.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1.RoleBinding.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1.RoleBinding.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1alpha1.ClusterRole.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1alpha1.ClusterRole.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1alpha1.ClusterRole.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1alpha1.ClusterRoleBinding.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1alpha1.ClusterRoleBinding.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1alpha1.ClusterRoleBinding.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1alpha1.Role.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1alpha1.Role.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1alpha1.Role.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1alpha1.RoleBinding.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1alpha1.RoleBinding.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1alpha1.RoleBinding.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1beta1.ClusterRole.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1beta1.ClusterRole.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1beta1.ClusterRole.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1beta1.ClusterRoleBinding.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1beta1.ClusterRoleBinding.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1beta1.ClusterRoleBinding.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1beta1.Role.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1beta1.Role.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1beta1.Role.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1beta1.RoleBinding.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1beta1.RoleBinding.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/rbac.authorization.k8s.io.v1beta1.RoleBinding.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1.DeviceClass.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1.DeviceClass.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1.DeviceClass.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1.ResourceClaim.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1.ResourceClaim.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1.ResourceClaim.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1.ResourceClaimTemplate.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1.ResourceClaimTemplate.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1.ResourceClaimTemplate.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1.ResourceSlice.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1.ResourceSlice.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1.ResourceSlice.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1alpha3.DeviceTaintRule.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1alpha3.DeviceTaintRule.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1alpha3.DeviceTaintRule.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta1.DeviceClass.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta1.DeviceClass.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta1.DeviceClass.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta1.ResourceClaim.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta1.ResourceClaim.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta1.ResourceClaim.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta1.ResourceClaimTemplate.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta1.ResourceClaimTemplate.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta1.ResourceClaimTemplate.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta1.ResourceSlice.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta1.ResourceSlice.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta1.ResourceSlice.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta2.DeviceClass.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta2.DeviceClass.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta2.DeviceClass.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta2.ResourceClaim.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta2.ResourceClaim.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta2.ResourceClaim.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta2.ResourceClaimTemplate.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta2.ResourceClaimTemplate.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta2.ResourceClaimTemplate.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta2.ResourceSlice.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta2.ResourceSlice.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/resource.k8s.io.v1beta2.ResourceSlice.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/scheduling.k8s.io.v1.PriorityClass.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/scheduling.k8s.io.v1.PriorityClass.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/scheduling.k8s.io.v1.PriorityClass.yaml rename staging/k8s.io/api/testdata/{HEAD => v1.35.0}/scheduling.k8s.io.v1alpha1.PriorityClass.json (100%) rename staging/k8s.io/api/testdata/{HEAD => v1.35.0}/scheduling.k8s.io.v1alpha1.PriorityClass.pb (100%) rename staging/k8s.io/api/testdata/{HEAD => v1.35.0}/scheduling.k8s.io.v1alpha1.PriorityClass.yaml (100%) rename staging/k8s.io/api/testdata/{HEAD => v1.35.0}/scheduling.k8s.io.v1alpha1.Workload.json (100%) rename staging/k8s.io/api/testdata/{HEAD => v1.35.0}/scheduling.k8s.io.v1alpha1.Workload.pb (100%) rename staging/k8s.io/api/testdata/{HEAD => v1.35.0}/scheduling.k8s.io.v1alpha1.Workload.yaml (100%) create mode 100644 staging/k8s.io/api/testdata/v1.35.0/scheduling.k8s.io.v1beta1.PriorityClass.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/scheduling.k8s.io.v1beta1.PriorityClass.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/scheduling.k8s.io.v1beta1.PriorityClass.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1.CSIDriver.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1.CSIDriver.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1.CSIDriver.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1.CSINode.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1.CSINode.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1.CSINode.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1.CSIStorageCapacity.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1.CSIStorageCapacity.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1.CSIStorageCapacity.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1.StorageClass.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1.StorageClass.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1.StorageClass.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1.VolumeAttachment.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1.VolumeAttachment.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1.VolumeAttachment.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1.VolumeAttributesClass.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1.VolumeAttributesClass.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1.VolumeAttributesClass.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1alpha1.CSIStorageCapacity.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1alpha1.CSIStorageCapacity.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1alpha1.CSIStorageCapacity.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1alpha1.VolumeAttachment.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1alpha1.VolumeAttachment.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1alpha1.VolumeAttachment.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1alpha1.VolumeAttributesClass.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1alpha1.VolumeAttributesClass.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1alpha1.VolumeAttributesClass.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1beta1.CSIDriver.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1beta1.CSIDriver.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1beta1.CSIDriver.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1beta1.CSINode.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1beta1.CSINode.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1beta1.CSINode.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1beta1.CSIStorageCapacity.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1beta1.CSIStorageCapacity.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1beta1.CSIStorageCapacity.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1beta1.StorageClass.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1beta1.StorageClass.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1beta1.StorageClass.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1beta1.VolumeAttachment.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1beta1.VolumeAttachment.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1beta1.VolumeAttachment.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1beta1.VolumeAttributesClass.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1beta1.VolumeAttributesClass.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storage.k8s.io.v1beta1.VolumeAttributesClass.yaml create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storagemigration.k8s.io.v1beta1.StorageVersionMigration.json create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storagemigration.k8s.io.v1beta1.StorageVersionMigration.pb create mode 100644 staging/k8s.io/api/testdata/v1.35.0/storagemigration.k8s.io.v1beta1.StorageVersionMigration.yaml delete mode 100644 staging/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/apimachinery/pkg/api/resource/generated.protomessage.pb.go create mode 100644 staging/k8s.io/apimachinery/pkg/api/validate/content/path.go rename staging/k8s.io/apimachinery/pkg/api/{validation/path/name_test.go => validate/content/path_test.go} (58%) create mode 100644 staging/k8s.io/apimachinery/pkg/api/validate/discriminator.go create mode 100644 staging/k8s.io/apimachinery/pkg/api/validate/discriminator_test.go rename staging/k8s.io/{api/apidiscovery/v2/generated.protomessage.pb.go => apimachinery/pkg/apis/meta/internalversion/conversion.go} (51%) create mode 100644 staging/k8s.io/apimachinery/pkg/apis/meta/v1/fieldsv1.go create mode 100644 staging/k8s.io/apimachinery/pkg/apis/meta/v1/fieldsv1_benchmark_test.go create mode 100644 staging/k8s.io/apimachinery/pkg/apis/meta/v1/fieldsv1_byte.go create mode 100644 staging/k8s.io/apimachinery/pkg/apis/meta/v1/fieldsv1_string.go create mode 100644 staging/k8s.io/apimachinery/pkg/apis/meta/v1/fieldsv1_string_test.go delete mode 100644 staging/k8s.io/apimachinery/pkg/apis/meta/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/apimachinery/pkg/runtime/generated.protomessage.pb.go create mode 100644 staging/k8s.io/apimachinery/pkg/sharding/accessor.go create mode 100644 staging/k8s.io/apimachinery/pkg/sharding/accessor_test.go rename staging/k8s.io/{api/authentication/v1alpha1/generated.protomessage.pb.go => apimachinery/pkg/sharding/hash.go} (66%) create mode 100644 staging/k8s.io/apimachinery/pkg/sharding/hash_test.go create mode 100644 staging/k8s.io/apimachinery/pkg/sharding/selector.go create mode 100644 staging/k8s.io/apimachinery/pkg/sharding/selector_test.go create mode 100644 staging/k8s.io/apimachinery/pkg/sharding/types.go delete mode 100644 staging/k8s.io/apimachinery/pkg/util/dump/dump_test.go delete mode 100644 staging/k8s.io/apimachinery/pkg/util/httpstream/httpstream_test.go delete mode 100644 staging/k8s.io/apimachinery/pkg/util/httpstream/spdy/connection.go delete mode 100644 staging/k8s.io/apimachinery/pkg/util/httpstream/spdy/connection_test.go rename staging/k8s.io/apimachinery/pkg/{runtime/schema/generated.protomessage.pb.go => util/httpstream/spdy/doc.go} (72%) delete mode 100644 staging/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper.go delete mode 100644 staging/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper_test.go create mode 100644 staging/k8s.io/apimachinery/pkg/util/httpstream/spdy/spdy.go delete mode 100644 staging/k8s.io/apimachinery/pkg/util/httpstream/spdy/upgrade.go delete mode 100644 staging/k8s.io/apimachinery/pkg/util/httpstream/spdy/upgrade_test.go delete mode 100644 staging/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn.go delete mode 100644 staging/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn_test.go delete mode 100644 staging/k8s.io/apimachinery/pkg/util/httpstream/wsstream/stream.go delete mode 100644 staging/k8s.io/apimachinery/pkg/util/httpstream/wsstream/stream_test.go create mode 100644 staging/k8s.io/apimachinery/pkg/util/httpstream/wsstream/wsstream.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/discriminator/doc.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/discriminator/doc_test.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/discriminator/zz_generated.validations.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/forbidden/doc.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/forbidden/doc_test.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/forbidden/zz_generated.validations.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/atomicslice/doc.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/atomicslice/doc_test.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/atomicslice/zz_generated.validations.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/discriminators/doc.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/discriminators/doc_test.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/discriminators/zz_generated.validations.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/enums/doc.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/enums/doc_test.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/enums/zz_generated.validations.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/listkeys/doc.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/listkeys/doc_test.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/listkeys/zz_generated.validations.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/listmapitem/doc.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/listmapitem/doc_test.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/listmapitem/zz_generated.validations.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/listset/doc.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/listset/doc_test.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/listset/zz_generated.validations.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/mapvalidation/doc.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/mapvalidation/doc_test.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/mapvalidation/zz_generated.validations.go rename staging/k8s.io/{api/apidiscovery/v2beta1/generated.protomessage.pb.go => code-generator/cmd/validation-gen/output_tests/tags/levels/optionalrequired/doc.go} (50%) create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/optionalrequired/doc_test.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/optionalrequired/zz_generated.validations.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/simple/doc.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/simple/doc_test.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/simple/zz_generated.validations.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/structs/doc.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/structs/doc_test.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/structs/zz_generated.validations.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/subfields/doc.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/subfields/doc_test.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/subfields/zz_generated.validations.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/unions/doc.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/unions/doc_test.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/unions/zz_generated.validations.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/uniquetag/doc.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/uniquetag/doc_test.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/levels/uniquetag/zz_generated.validations.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/maxbytes/doc.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/maxbytes/doc_test.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/maxbytes/zz_generated.validations.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/maximum/doc.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/maximum/doc_test.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/maximum/zz_generated.validations.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/minitems/slice_of_primitive/doc.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/minitems/slice_of_primitive/doc_test.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/minitems/slice_of_primitive/zz_generated.validations.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/minitems/slice_of_struct/doc.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/minitems/slice_of_struct/doc_test.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/minitems/slice_of_struct/zz_generated.validations.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/minitems/typedef_to_slice/doc.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/minitems/typedef_to_slice/doc_test.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/minitems/typedef_to_slice/zz_generated.validations.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/minlength/doc.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/minlength/doc_test.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/minlength/zz_generated.validations.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/required/doc.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/required/doc_test.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/required/zz_generated.validations.go rename staging/k8s.io/{api/admission/v1beta1/generated.protomessage.pb.go => code-generator/cmd/validation-gen/output_tests/tags/validatetruealpha/doc.go} (52%) rename staging/k8s.io/{apimachinery/pkg/apis/meta/v1beta1/generated.protomessage.pb.go => code-generator/cmd/validation-gen/output_tests/tags/validatetruealpha/doc_test.go} (66%) create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/validatetruealpha/zz_generated.validations.go rename staging/k8s.io/{apimachinery/pkg/util/diff/cmp.go => code-generator/cmd/validation-gen/output_tests/tags/validatetruebeta/doc.go} (56%) rename staging/k8s.io/{apimachinery/pkg/util/intstr/generated.protomessage.pb.go => code-generator/cmd/validation-gen/output_tests/tags/validatetruebeta/doc_test.go} (66%) create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/output_tests/tags/validatetruebeta/zz_generated.validations.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/validators/discriminator.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/validators/levels.go create mode 100644 staging/k8s.io/code-generator/cmd/validation-gen/validators/registry_test.go create mode 100644 staging/k8s.io/code-generator/examples/single/informers/externalversions/factory_test.go delete mode 100644 staging/k8s.io/kube-aggregator/pkg/apis/apiregistration/v1/generated.protomessage.pb.go delete mode 100644 staging/k8s.io/kube-aggregator/pkg/apis/apiregistration/v1beta1/generated.protomessage.pb.go create mode 100644 staging/k8s.io/kube-aggregator/pkg/client/applyconfiguration/apiregistration/v1/apiservice.go create mode 100644 staging/k8s.io/kube-aggregator/pkg/client/applyconfiguration/apiregistration/v1/apiservicecondition.go create mode 100644 staging/k8s.io/kube-aggregator/pkg/client/applyconfiguration/apiregistration/v1/apiservicespec.go create mode 100644 staging/k8s.io/kube-aggregator/pkg/client/applyconfiguration/apiregistration/v1/apiservicestatus.go create mode 100644 staging/k8s.io/kube-aggregator/pkg/client/applyconfiguration/apiregistration/v1/servicereference.go create mode 100644 staging/k8s.io/kube-aggregator/pkg/client/applyconfiguration/apiregistration/v1beta1/apiservice.go create mode 100644 staging/k8s.io/kube-aggregator/pkg/client/applyconfiguration/apiregistration/v1beta1/apiservicecondition.go create mode 100644 staging/k8s.io/kube-aggregator/pkg/client/applyconfiguration/apiregistration/v1beta1/apiservicespec.go create mode 100644 staging/k8s.io/kube-aggregator/pkg/client/applyconfiguration/apiregistration/v1beta1/apiservicestatus.go create mode 100644 staging/k8s.io/kube-aggregator/pkg/client/applyconfiguration/apiregistration/v1beta1/servicereference.go create mode 100644 staging/k8s.io/kube-aggregator/pkg/client/applyconfiguration/internal/internal.go create mode 100644 staging/k8s.io/kube-aggregator/pkg/client/applyconfiguration/utils.go create mode 100644 staging/k8s.io/kube-aggregator/pkg/generated/openapi/cmd/models-schema/main.go diff --git a/api/v1/generated.protomessage.pb.go b/api/v1/generated.protomessage.pb.go deleted file mode 100644 index 78943aac1..000000000 --- a/api/v1/generated.protomessage.pb.go +++ /dev/null @@ -1,23 +0,0 @@ -//go:build kubernetes_protomessage_one_more_release -// +build kubernetes_protomessage_one_more_release - -// SPDX-FileCopyrightText: 2026 GPUStack, Inc. -// SPDX-License-Identifier: Apache-2.0 - -// Code generated by "gpustack", DO NOT EDIT. - -// Code generated by go-to-protobuf. DO NOT EDIT. - -package v1 - -func (*Condition) ProtoMessage() {} - -func (*Setting) ProtoMessage() {} - -func (*SettingList) ProtoMessage() {} - -func (*SettingSpec) ProtoMessage() {} - -func (*SettingStatus) ProtoMessage() {} - -func (*Status) ProtoMessage() {} diff --git a/api/worker/v1/generated.protomessage.pb.go b/api/worker/v1/generated.protomessage.pb.go deleted file mode 100644 index 22dd4b1f1..000000000 --- a/api/worker/v1/generated.protomessage.pb.go +++ /dev/null @@ -1,133 +0,0 @@ -//go:build kubernetes_protomessage_one_more_release -// +build kubernetes_protomessage_one_more_release - -// SPDX-FileCopyrightText: 2026 GPUStack, Inc. -// SPDX-License-Identifier: Apache-2.0 - -// Code generated by "gpustack", DO NOT EDIT. - -// Code generated by go-to-protobuf. DO NOT EDIT. - -package v1 - -func (*Devices) ProtoMessage() {} - -func (*DevicesList) ProtoMessage() {} - -func (*Instance) ProtoMessage() {} - -func (*InstanceAcceleratorMetrics) ProtoMessage() {} - -func (*InstanceEvents) ProtoMessage() {} - -func (*InstanceImagePullSecret) ProtoMessage() {} - -func (*InstanceImagePullSecretList) ProtoMessage() {} - -func (*InstanceImagePullSecretSpec) ProtoMessage() {} - -func (*InstanceList) ProtoMessage() {} - -func (*InstanceLog) ProtoMessage() {} - -func (*InstanceLogOptions) ProtoMessage() {} - -func (*InstanceMetrics) ProtoMessage() {} - -func (*InstanceMetricsSample) ProtoMessage() {} - -func (*InstancePersistentVolume) ProtoMessage() {} - -func (*InstancePersistentVolumeEvents) ProtoMessage() {} - -func (*InstancePersistentVolumeList) ProtoMessage() {} - -func (*InstancePersistentVolumeSource) ProtoMessage() {} - -func (*InstancePersistentVolumeSpec) ProtoMessage() {} - -func (*InstancePersistentVolumeStatus) ProtoMessage() {} - -func (*InstancePersistentVolumeType) ProtoMessage() {} - -func (*InstancePersistentVolumeTypeList) ProtoMessage() {} - -func (*InstancePersistentVolumeTypeSpec) ProtoMessage() {} - -func (*InstanceSSHPublicKey) ProtoMessage() {} - -func (*InstanceSSHPublicKeyList) ProtoMessage() {} - -func (*InstanceSSHPublicKeySpec) ProtoMessage() {} - -func (*InstanceType) ProtoMessage() {} - -func (*InstanceTypeFlavor) ProtoMessage() {} - -func (*InstanceTypeFlavorList) ProtoMessage() {} - -func (*InstanceTypeFlavorSpec) ProtoMessage() {} - -func (*InstanceTypeList) ProtoMessage() {} - -func (*KVCacheBackend) ProtoMessage() {} - -func (*KVCacheBackendList) ProtoMessage() {} - -func (*KVCachePool) ProtoMessage() {} - -func (*KVCachePoolBinding) ProtoMessage() {} - -func (*KVCachePoolBindingList) ProtoMessage() {} - -func (*KVCachePoolList) ProtoMessage() {} - -func (*ModelArtifact) ProtoMessage() {} - -func (*ModelArtifactList) ProtoMessage() {} - -func (*ModelArtifactProgress) ProtoMessage() {} - -func (*ModelArtifactProgressReason) ProtoMessage() {} - -func (*ModelDeployment) ProtoMessage() {} - -func (*ModelDeploymentCacheHit) ProtoMessage() {} - -func (*ModelDeploymentList) ProtoMessage() {} - -func (*ModelDeploymentMetricGauge) ProtoMessage() {} - -func (*ModelDeploymentMetricMissing) ProtoMessage() {} - -func (*ModelDeploymentMetricWindow) ProtoMessage() {} - -func (*ModelDeploymentMetrics) ProtoMessage() {} - -func (*ModelDeploymentScaler) ProtoMessage() {} - -func (*ModelDeploymentScalerList) ProtoMessage() {} - -func (*ModelPrefetch) ProtoMessage() {} - -func (*ModelPrefetchList) ProtoMessage() {} - -func (*ModelStore) ProtoMessage() {} - -func (*ModelStoreBinding) ProtoMessage() {} - -func (*ModelStoreBindingList) ProtoMessage() {} - -func (*ModelStoreList) ProtoMessage() {} - -func (*NFSInstancePersistentVolumeSource) ProtoMessage() {} - -func (*NodeModelStore) ProtoMessage() {} - -func (*NodeModelStoreList) ProtoMessage() {} - -func (*S3InstancePersistentVolumeSource) ProtoMessage() {} - -func (*TopologySource) ProtoMessage() {} - -func (*TopologySourceList) ProtoMessage() {} diff --git a/api/worker/v1alpha1/generated.protomessage.pb.go b/api/worker/v1alpha1/generated.protomessage.pb.go deleted file mode 100644 index 34c44ba97..000000000 --- a/api/worker/v1alpha1/generated.protomessage.pb.go +++ /dev/null @@ -1,399 +0,0 @@ -//go:build kubernetes_protomessage_one_more_release -// +build kubernetes_protomessage_one_more_release - -// SPDX-FileCopyrightText: 2026 GPUStack, Inc. -// SPDX-License-Identifier: Apache-2.0 - -// Code generated by "gpustack", DO NOT EDIT. - -// Code generated by go-to-protobuf. DO NOT EDIT. - -package v1alpha1 - -func (*Accelerator) ProtoMessage() {} - -func (*AcceleratorAllocation) ProtoMessage() {} - -func (*AcceleratorLogicalSliced) ProtoMessage() {} - -func (*AcceleratorPhysicalSliced) ProtoMessage() {} - -func (*AcceleratorPhysicalSlicedProfile) ProtoMessage() {} - -func (*AcceleratorPlacement) ProtoMessage() {} - -func (*AcceleratorProfileCount) ProtoMessage() {} - -func (*AcceleratorSlicedDetail) ProtoMessage() {} - -func (*AcceleratorSlicedLogicalDetail) ProtoMessage() {} - -func (*AcceleratorSlicedPhysicalDetail) ProtoMessage() {} - -func (*AcceleratorSlicedPhysicalDetailProfile) ProtoMessage() {} - -func (*AcceleratorStatus) ProtoMessage() {} - -func (*DeviceEthernet) ProtoMessage() {} - -func (*DeviceFabric) ProtoMessage() {} - -func (*DeviceInterface) ProtoMessage() {} - -func (*DeviceInterfaceLink) ProtoMessage() {} - -func (*DeviceInterfaceVirtualFunction) ProtoMessage() {} - -func (*DeviceTopology) ProtoMessage() {} - -func (*Devices) ProtoMessage() {} - -func (*DevicesAllocationGroup) ProtoMessage() {} - -func (*DevicesGroup) ProtoMessage() {} - -func (*DevicesList) ProtoMessage() {} - -func (*DevicesSpec) ProtoMessage() {} - -func (*DevicesStatus) ProtoMessage() {} - -func (*Instance) ProtoMessage() {} - -func (*InstanceAdditionalVolume) ProtoMessage() {} - -func (*InstanceEnvVar) ProtoMessage() {} - -func (*InstanceEphemeralVolume) ProtoMessage() {} - -func (*InstanceList) ProtoMessage() {} - -func (*InstanceModelVolumeSource) ProtoMessage() {} - -func (*InstancePort) ProtoMessage() {} - -func (*InstanceResources) ProtoMessage() {} - -func (*InstanceServicePort) ProtoMessage() {} - -func (*InstanceSpec) ProtoMessage() {} - -func (*InstanceStatus) ProtoMessage() {} - -func (*InstanceTemplate) ProtoMessage() {} - -func (*InstanceType) ProtoMessage() {} - -func (*InstanceTypeAcceleratorCPU) ProtoMessage() {} - -func (*InstanceTypeAcceleratorDetail) ProtoMessage() {} - -func (*InstanceTypeCPU) ProtoMessage() {} - -func (*InstanceTypeCPUCache) ProtoMessage() {} - -func (*InstanceTypeDetail) ProtoMessage() {} - -func (*InstanceTypeList) ProtoMessage() {} - -func (*InstanceTypePartitionedResource) ProtoMessage() {} - -func (*InstanceTypeResource) ProtoMessage() {} - -func (*InstanceTypeSpec) ProtoMessage() {} - -func (*InstanceTypeStatus) ProtoMessage() {} - -func (*InstanceTypeUnitResources) ProtoMessage() {} - -func (*InstanceVolume) ProtoMessage() {} - -func (*KVCacheBackend) ProtoMessage() {} - -func (*KVCacheBackendCapacity) ProtoMessage() {} - -func (*KVCacheBackendConnection) ProtoMessage() {} - -func (*KVCacheBackendEndpoint) ProtoMessage() {} - -func (*KVCacheBackendExternal) ProtoMessage() {} - -func (*KVCacheBackendLeader) ProtoMessage() {} - -func (*KVCacheBackendList) ProtoMessage() {} - -func (*KVCacheBackendManaged) ProtoMessage() {} - -func (*KVCacheBackendMember) ProtoMessage() {} - -func (*KVCacheBackendMemberHostPath) ProtoMessage() {} - -func (*KVCacheBackendMemberLocalDisk) ProtoMessage() {} - -func (*KVCacheBackendMemberLocalDiskEviction) ProtoMessage() {} - -func (*KVCacheBackendMemberLocalDiskEvictionWatermark) ProtoMessage() {} - -func (*KVCacheBackendMemberStatus) ProtoMessage() {} - -func (*KVCacheBackendMemberTransport) ProtoMessage() {} - -func (*KVCacheBackendScaleIn) ProtoMessage() {} - -func (*KVCacheBackendSpec) ProtoMessage() {} - -func (*KVCacheBackendStatus) ProtoMessage() {} - -func (*KVCacheBackendTransport) ProtoMessage() {} - -func (*KVCacheObjectReference) ProtoMessage() {} - -func (*KVCachePool) ProtoMessage() {} - -func (*KVCachePoolBinding) ProtoMessage() {} - -func (*KVCachePoolBindingDomain) ProtoMessage() {} - -func (*KVCachePoolBindingList) ProtoMessage() {} - -func (*KVCachePoolBindingPoolReference) ProtoMessage() {} - -func (*KVCachePoolBindingQuota) ProtoMessage() {} - -func (*KVCachePoolBindingReference) ProtoMessage() {} - -func (*KVCachePoolBindingSpec) ProtoMessage() {} - -func (*KVCachePoolBindingStatus) ProtoMessage() {} - -func (*KVCachePoolDomain) ProtoMessage() {} - -func (*KVCachePoolList) ProtoMessage() {} - -func (*KVCachePoolQuota) ProtoMessage() {} - -func (*KVCachePoolSpec) ProtoMessage() {} - -func (*KVCachePoolStatus) ProtoMessage() {} - -func (*KVCachePoolUsage) ProtoMessage() {} - -func (*ModelArtifact) ProtoMessage() {} - -func (*ModelArtifactHubSource) ProtoMessage() {} - -func (*ModelArtifactImageSource) ProtoMessage() {} - -func (*ModelArtifactList) ProtoMessage() {} - -func (*ModelArtifactNodes) ProtoMessage() {} - -func (*ModelArtifactPersistentVolumeClaimSource) ProtoMessage() {} - -func (*ModelArtifactResolved) ProtoMessage() {} - -func (*ModelArtifactSource) ProtoMessage() {} - -func (*ModelArtifactSpec) ProtoMessage() {} - -func (*ModelArtifactStatus) ProtoMessage() {} - -func (*ModelDeployment) ProtoMessage() {} - -func (*ModelDeploymentAdditionalVolume) ProtoMessage() {} - -func (*ModelDeploymentEngine) ProtoMessage() {} - -func (*ModelDeploymentEnvVar) ProtoMessage() {} - -func (*ModelDeploymentGroupMemberStatus) ProtoMessage() {} - -func (*ModelDeploymentGroupStatus) ProtoMessage() {} - -func (*ModelDeploymentKVCache) ProtoMessage() {} - -func (*ModelDeploymentKVCacheDomain) ProtoMessage() {} - -func (*ModelDeploymentKVCacheStatus) ProtoMessage() {} - -func (*ModelDeploymentKVTransfer) ProtoMessage() {} - -func (*ModelDeploymentList) ProtoMessage() {} - -func (*ModelDeploymentModel) ProtoMessage() {} - -func (*ModelDeploymentModelStatus) ProtoMessage() {} - -func (*ModelDeploymentParallelismDeclaredStatus) ProtoMessage() {} - -func (*ModelDeploymentParallelismSourceStatus) ProtoMessage() {} - -func (*ModelDeploymentPort) ProtoMessage() {} - -func (*ModelDeploymentRetirementStatus) ProtoMessage() {} - -func (*ModelDeploymentRole) ProtoMessage() {} - -func (*ModelDeploymentRoleElasticEP) ProtoMessage() {} - -func (*ModelDeploymentRoleEndpointsStatus) ProtoMessage() {} - -func (*ModelDeploymentRoleParallelismStatus) ProtoMessage() {} - -func (*ModelDeploymentRoleResources) ProtoMessage() {} - -func (*ModelDeploymentRoleStatus) ProtoMessage() {} - -func (*ModelDeploymentRoleTopology) ProtoMessage() {} - -func (*ModelDeploymentRouter) ProtoMessage() {} - -func (*ModelDeploymentRouterKVEvents) ProtoMessage() {} - -func (*ModelDeploymentRouterMetrics) ProtoMessage() {} - -func (*ModelDeploymentRouterRoleStatus) ProtoMessage() {} - -func (*ModelDeploymentRouterStatus) ProtoMessage() {} - -func (*ModelDeploymentScaler) ProtoMessage() {} - -func (*ModelDeploymentScalerAlgorithmSpec) ProtoMessage() {} - -func (*ModelDeploymentScalerBehaviorSpec) ProtoMessage() {} - -func (*ModelDeploymentScalerBinding) ProtoMessage() {} - -func (*ModelDeploymentScalerBindingStatus) ProtoMessage() {} - -func (*ModelDeploymentScalerCommitStatus) ProtoMessage() {} - -func (*ModelDeploymentScalerDecision) ProtoMessage() {} - -func (*ModelDeploymentScalerDemandSample) ProtoMessage() {} - -func (*ModelDeploymentScalerKalmanCovariance) ProtoMessage() {} - -func (*ModelDeploymentScalerList) ProtoMessage() {} - -func (*ModelDeploymentScalerPendingCohortStatus) ProtoMessage() {} - -func (*ModelDeploymentScalerPredictiveSpec) ProtoMessage() {} - -func (*ModelDeploymentScalerPredictorStatus) ProtoMessage() {} - -func (*ModelDeploymentScalerProportionalSpec) ProtoMessage() {} - -func (*ModelDeploymentScalerRebalanceSpec) ProtoMessage() {} - -func (*ModelDeploymentScalerRebalanceStatus) ProtoMessage() {} - -func (*ModelDeploymentScalerRoleBounds) ProtoMessage() {} - -func (*ModelDeploymentScalerRoleRatio) ProtoMessage() {} - -func (*ModelDeploymentScalerRoleStatus) ProtoMessage() {} - -func (*ModelDeploymentScalerRoleTarget) ProtoMessage() {} - -func (*ModelDeploymentScalerSamplingSpec) ProtoMessage() {} - -func (*ModelDeploymentScalerScaleDownRules) ProtoMessage() {} - -func (*ModelDeploymentScalerScaleDownStatus) ProtoMessage() {} - -func (*ModelDeploymentScalerScaleUpRules) ProtoMessage() {} - -func (*ModelDeploymentScalerSpec) ProtoMessage() {} - -func (*ModelDeploymentScalerStabilizationSample) ProtoMessage() {} - -func (*ModelDeploymentScalerStatus) ProtoMessage() {} - -func (*ModelDeploymentScalerStepPolicy) ProtoMessage() {} - -func (*ModelDeploymentScalerTargetReference) ProtoMessage() {} - -func (*ModelDeploymentScalerTokenThroughputSpec) ProtoMessage() {} - -func (*ModelDeploymentServingStatus) ProtoMessage() {} - -func (*ModelDeploymentSpec) ProtoMessage() {} - -func (*ModelDeploymentStatus) ProtoMessage() {} - -func (*ModelPrefetch) ProtoMessage() {} - -func (*ModelPrefetchArtifactReference) ProtoMessage() {} - -func (*ModelPrefetchBindingReference) ProtoMessage() {} - -func (*ModelPrefetchList) ProtoMessage() {} - -func (*ModelPrefetchPlacement) ProtoMessage() {} - -func (*ModelPrefetchRetention) ProtoMessage() {} - -func (*ModelPrefetchSpec) ProtoMessage() {} - -func (*ModelPrefetchStatus) ProtoMessage() {} - -func (*ModelStore) ProtoMessage() {} - -func (*ModelStoreBinding) ProtoMessage() {} - -func (*ModelStoreBindingList) ProtoMessage() {} - -func (*ModelStoreBindingQuota) ProtoMessage() {} - -func (*ModelStoreBindingSpec) ProtoMessage() {} - -func (*ModelStoreBindingStatus) ProtoMessage() {} - -func (*ModelStoreBindingStoreReference) ProtoMessage() {} - -func (*ModelStoreCapacity) ProtoMessage() {} - -func (*ModelStoreDownload) ProtoMessage() {} - -func (*ModelStoreList) ProtoMessage() {} - -func (*ModelStoreSpec) ProtoMessage() {} - -func (*ModelStoreStatus) ProtoMessage() {} - -func (*NodeModelStore) ProtoMessage() {} - -func (*NodeModelStoreCapacity) ProtoMessage() {} - -func (*NodeModelStoreDownload) ProtoMessage() {} - -func (*NodeModelStoreHub) ProtoMessage() {} - -func (*NodeModelStoreKubelet) ProtoMessage() {} - -func (*NodeModelStoreList) ProtoMessage() {} - -func (*NodeModelStoreModel) ProtoMessage() {} - -func (*NodeModelStoreSpec) ProtoMessage() {} - -func (*NodeModelStoreStatus) ProtoMessage() {} - -func (*NodeModelStoreWatermarks) ProtoMessage() {} - -func (*TopologySource) ProtoMessage() {} - -func (*TopologySourceConfigMap) ProtoMessage() {} - -func (*TopologySourceList) ProtoMessage() {} - -func (*TopologySourceNodeLabels) ProtoMessage() {} - -func (*TopologySourceObjectReference) ProtoMessage() {} - -func (*TopologySourceSpec) ProtoMessage() {} - -func (*TopologySourceStatus) ProtoMessage() {} - -func (*TopologySourceWebhook) ProtoMessage() {} diff --git a/api/worker/v1alpha1/model_deployment_test.go b/api/worker/v1alpha1/model_deployment_test.go index a6ff8ce8b..3e7c10eb8 100644 --- a/api/worker/v1alpha1/model_deployment_test.go +++ b/api/worker/v1alpha1/model_deployment_test.go @@ -532,7 +532,8 @@ func modelDeploymentSchemaValidator(t *testing.T) apiservervalidation.SchemaVali internal := &apiextensions.JSONSchemaProps{} require.NoError(t, extension.Convert_v1_JSONSchemaProps_To_apiextensions_JSONSchemaProps( - crd.Spec.Versions[0].Schema.OpenAPIV3Schema, internal, nil), + crd.Spec.Versions[0].Schema.OpenAPIV3Schema, internal, nil, + ), "the generated schema must convert for validation") validator, _, err := apiservervalidation.NewSchemaValidator(internal) require.NoError(t, err, "the generated schema must build a validator") diff --git a/api/worker/v1alpha1/zz_generated.crds.go b/api/worker/v1alpha1/zz_generated.crds.go index 4ea09f5cd..bd542e781 100644 --- a/api/worker/v1alpha1/zz_generated.crds.go +++ b/api/worker/v1alpha1/zz_generated.crds.go @@ -2897,7 +2897,7 @@ func crd_gpustack_api_worker_v1alpha1_KVCacheBackend() *v1.CustomResourceDefinit Nullable: true, }, "procMount": { - Description: "procMount denotes the type of proc mount to use for the containers.\nThe default value is Default which uses the container runtime defaults for\nreadonly paths and masked paths.\nThis requires the ProcMountType feature flag to be enabled.\nNote that this field cannot be set when spec.os.name is windows.", + Description: "procMount denotes the type of proc mount to use for the containers.\nThe default value is Default which uses the container runtime defaults for\nreadonly paths and masked paths.\nNote that this field cannot be set when spec.os.name is windows.", Type: "string", Nullable: true, }, diff --git a/api/worker/zz_generated.openapi.go b/api/worker/zz_generated.openapi.go index 7edc3da8a..1966a29de 100644 --- a/api/worker/zz_generated.openapi.go +++ b/api/worker/zz_generated.openapi.go @@ -357,6 +357,7 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA corev1.ISCSIPersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ISCSIPersistentVolumeSource(ref), corev1.ISCSIVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ISCSIVolumeSource(ref), corev1.ImageVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ImageVolumeSource(ref), + corev1.ImageVolumeStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ImageVolumeStatus(ref), corev1.KeyToPath{}.OpenAPIModelName(): schema_k8sio_api_core_v1_KeyToPath(ref), corev1.Lifecycle{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Lifecycle(ref), corev1.LifecycleHandler{}.OpenAPIModelName(): schema_k8sio_api_core_v1_LifecycleHandler(ref), @@ -380,6 +381,7 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA corev1.Node{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Node(ref), corev1.NodeAddress{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeAddress(ref), corev1.NodeAffinity{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeAffinity(ref), + corev1.NodeAllocatableResourceClaimStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeAllocatableResourceClaimStatus(ref), corev1.NodeCondition{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeCondition(ref), corev1.NodeConfigSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeConfigSource(ref), corev1.NodeConfigStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeConfigStatus(ref), @@ -432,6 +434,7 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA corev1.PodResourceClaim{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodResourceClaim(ref), corev1.PodResourceClaimStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodResourceClaimStatus(ref), corev1.PodSchedulingGate{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodSchedulingGate(ref), + corev1.PodSchedulingGroup{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodSchedulingGroup(ref), corev1.PodSecurityContext{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodSecurityContext(ref), corev1.PodSignature{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodSignature(ref), corev1.PodSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodSpec(ref), @@ -510,10 +513,10 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA corev1.VolumeProjection{}.OpenAPIModelName(): schema_k8sio_api_core_v1_VolumeProjection(ref), corev1.VolumeResourceRequirements{}.OpenAPIModelName(): schema_k8sio_api_core_v1_VolumeResourceRequirements(ref), corev1.VolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_VolumeSource(ref), + corev1.VolumeStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_VolumeStatus(ref), corev1.VsphereVirtualDiskVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_VsphereVirtualDiskVolumeSource(ref), corev1.WeightedPodAffinityTerm{}.OpenAPIModelName(): schema_k8sio_api_core_v1_WeightedPodAffinityTerm(ref), corev1.WindowsSecurityContextOptions{}.OpenAPIModelName(): schema_k8sio_api_core_v1_WindowsSecurityContextOptions(ref), - corev1.WorkloadReference{}.OpenAPIModelName(): schema_k8sio_api_core_v1_WorkloadReference(ref), resource.Quantity{}.OpenAPIModelName(): schema_apimachinery_pkg_api_resource_Quantity(ref), metav1.APIGroup{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_APIGroup(ref), metav1.APIGroupList{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_APIGroupList(ref), @@ -551,6 +554,7 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA metav1.Preconditions{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_Preconditions(ref), metav1.RootPaths{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_RootPaths(ref), metav1.ServerAddressByClientCIDR{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref), + metav1.ShardInfo{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_ShardInfo(ref), metav1.Status{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_Status(ref), metav1.StatusCause{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_StatusCause(ref), metav1.StatusDetails{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_StatusDetails(ref), @@ -653,8 +657,7 @@ func schema_gpustack_api_worker_v1_DevicesList(ref common.ReferenceCallback) com Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.Devices{}.OpenAPIModelName()), + Ref: ref(v1.Devices{}.OpenAPIModelName()), }, }, }, @@ -829,8 +832,7 @@ func schema_gpustack_api_worker_v1_InstanceEvents(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Event{}.OpenAPIModelName()), + Ref: ref(corev1.Event{}.OpenAPIModelName()), }, }, }, @@ -919,8 +921,7 @@ func schema_gpustack_api_worker_v1_InstanceImagePullSecretList(ref common.Refere Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.InstanceImagePullSecret{}.OpenAPIModelName()), + Ref: ref(v1.InstanceImagePullSecret{}.OpenAPIModelName()), }, }, }, @@ -1025,8 +1026,7 @@ func schema_gpustack_api_worker_v1_InstanceList(ref common.ReferenceCallback) co Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.Instance{}.OpenAPIModelName()), + Ref: ref(v1.Instance{}.OpenAPIModelName()), }, }, }, @@ -1262,8 +1262,7 @@ func schema_gpustack_api_worker_v1_InstanceMetricsSample(ref common.ReferenceCal Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.InstanceAcceleratorMetrics{}.OpenAPIModelName()), + Ref: ref(v1.InstanceAcceleratorMetrics{}.OpenAPIModelName()), }, }, }, @@ -1359,8 +1358,7 @@ func schema_gpustack_api_worker_v1_InstancePersistentVolumeEvents(ref common.Ref Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Event{}.OpenAPIModelName()), + Ref: ref(corev1.Event{}.OpenAPIModelName()), }, }, }, @@ -1408,8 +1406,7 @@ func schema_gpustack_api_worker_v1_InstancePersistentVolumeList(ref common.Refer Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.InstancePersistentVolume{}.OpenAPIModelName()), + Ref: ref(v1.InstancePersistentVolume{}.OpenAPIModelName()), }, }, }, @@ -1607,8 +1604,7 @@ func schema_gpustack_api_worker_v1_InstancePersistentVolumeTypeList(ref common.R Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.InstancePersistentVolumeType{}.OpenAPIModelName()), + Ref: ref(v1.InstancePersistentVolumeType{}.OpenAPIModelName()), }, }, }, @@ -1740,8 +1736,7 @@ func schema_gpustack_api_worker_v1_InstanceSSHPublicKeyList(ref common.Reference Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.InstanceSSHPublicKey{}.OpenAPIModelName()), + Ref: ref(v1.InstanceSSHPublicKey{}.OpenAPIModelName()), }, }, }, @@ -1912,8 +1907,7 @@ func schema_gpustack_api_worker_v1_InstanceTypeFlavorList(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.InstanceTypeFlavor{}.OpenAPIModelName()), + Ref: ref(v1.InstanceTypeFlavor{}.OpenAPIModelName()), }, }, }, @@ -2032,8 +2026,7 @@ func schema_gpustack_api_worker_v1_InstanceTypeList(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.InstanceType{}.OpenAPIModelName()), + Ref: ref(v1.InstanceType{}.OpenAPIModelName()), }, }, }, @@ -2129,8 +2122,7 @@ func schema_gpustack_api_worker_v1_KVCacheBackendList(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.KVCacheBackend{}.OpenAPIModelName()), + Ref: ref(v1.KVCacheBackend{}.OpenAPIModelName()), }, }, }, @@ -2274,8 +2266,7 @@ func schema_gpustack_api_worker_v1_KVCachePoolBindingList(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.KVCachePoolBinding{}.OpenAPIModelName()), + Ref: ref(v1.KVCachePoolBinding{}.OpenAPIModelName()), }, }, }, @@ -2323,8 +2314,7 @@ func schema_gpustack_api_worker_v1_KVCachePoolList(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.KVCachePool{}.OpenAPIModelName()), + Ref: ref(v1.KVCachePool{}.OpenAPIModelName()), }, }, }, @@ -2420,8 +2410,7 @@ func schema_gpustack_api_worker_v1_ModelArtifactList(ref common.ReferenceCallbac Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ModelArtifact{}.OpenAPIModelName()), + Ref: ref(v1.ModelArtifact{}.OpenAPIModelName()), }, }, }, @@ -2539,8 +2528,7 @@ func schema_gpustack_api_worker_v1_ModelArtifactProgress(ref common.ReferenceCal Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ModelArtifactProgressReason{}.OpenAPIModelName()), + Ref: ref(v1.ModelArtifactProgressReason{}.OpenAPIModelName()), }, }, }, @@ -2755,8 +2743,7 @@ func schema_gpustack_api_worker_v1_ModelDeploymentList(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ModelDeployment{}.OpenAPIModelName()), + Ref: ref(v1.ModelDeployment{}.OpenAPIModelName()), }, }, }, @@ -2989,8 +2976,7 @@ func schema_gpustack_api_worker_v1_ModelDeploymentMetrics(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ModelDeploymentMetricGauge{}.OpenAPIModelName()), + Ref: ref(v1.ModelDeploymentMetricGauge{}.OpenAPIModelName()), }, }, }, @@ -3007,8 +2993,7 @@ func schema_gpustack_api_worker_v1_ModelDeploymentMetrics(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ModelDeploymentMetricGauge{}.OpenAPIModelName()), + Ref: ref(v1.ModelDeploymentMetricGauge{}.OpenAPIModelName()), }, }, }, @@ -3025,8 +3010,7 @@ func schema_gpustack_api_worker_v1_ModelDeploymentMetrics(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ModelDeploymentCacheHit{}.OpenAPIModelName()), + Ref: ref(v1.ModelDeploymentCacheHit{}.OpenAPIModelName()), }, }, }, @@ -3043,8 +3027,7 @@ func schema_gpustack_api_worker_v1_ModelDeploymentMetrics(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ModelDeploymentMetricMissing{}.OpenAPIModelName()), + Ref: ref(v1.ModelDeploymentMetricMissing{}.OpenAPIModelName()), }, }, }, @@ -3068,8 +3051,7 @@ func schema_gpustack_api_worker_v1_ModelDeploymentMetrics(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ModelDeploymentMetricWindow{}.OpenAPIModelName()), + Ref: ref(v1.ModelDeploymentMetricWindow{}.OpenAPIModelName()), }, }, }, @@ -3086,8 +3068,7 @@ func schema_gpustack_api_worker_v1_ModelDeploymentMetrics(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ModelDeploymentMetricWindow{}.OpenAPIModelName()), + Ref: ref(v1.ModelDeploymentMetricWindow{}.OpenAPIModelName()), }, }, }, @@ -3104,8 +3085,7 @@ func schema_gpustack_api_worker_v1_ModelDeploymentMetrics(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ModelDeploymentMetricWindow{}.OpenAPIModelName()), + Ref: ref(v1.ModelDeploymentMetricWindow{}.OpenAPIModelName()), }, }, }, @@ -3201,8 +3181,7 @@ func schema_gpustack_api_worker_v1_ModelDeploymentScalerList(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ModelDeploymentScaler{}.OpenAPIModelName()), + Ref: ref(v1.ModelDeploymentScaler{}.OpenAPIModelName()), }, }, }, @@ -3298,8 +3277,7 @@ func schema_gpustack_api_worker_v1_ModelPrefetchList(ref common.ReferenceCallbac Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ModelPrefetch{}.OpenAPIModelName()), + Ref: ref(v1.ModelPrefetch{}.OpenAPIModelName()), }, }, }, @@ -3443,8 +3421,7 @@ func schema_gpustack_api_worker_v1_ModelStoreBindingList(ref common.ReferenceCal Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ModelStoreBinding{}.OpenAPIModelName()), + Ref: ref(v1.ModelStoreBinding{}.OpenAPIModelName()), }, }, }, @@ -3492,8 +3469,7 @@ func schema_gpustack_api_worker_v1_ModelStoreList(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ModelStore{}.OpenAPIModelName()), + Ref: ref(v1.ModelStore{}.OpenAPIModelName()), }, }, }, @@ -3555,9 +3531,8 @@ func schema_gpustack_api_worker_v1_NFSInstancePersistentVolumeSource(ref common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -3651,8 +3626,7 @@ func schema_gpustack_api_worker_v1_NodeModelStoreList(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.NodeModelStore{}.OpenAPIModelName()), + Ref: ref(v1.NodeModelStore{}.OpenAPIModelName()), }, }, }, @@ -3740,9 +3714,8 @@ func schema_gpustack_api_worker_v1_S3InstancePersistentVolumeSource(ref common.R Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -3836,8 +3809,7 @@ func schema_gpustack_api_worker_v1_TopologySourceList(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.TopologySource{}.OpenAPIModelName()), + Ref: ref(v1.TopologySource{}.OpenAPIModelName()), }, }, }, @@ -3882,9 +3854,8 @@ func schema_gpustack_api_worker_v1alpha1_Accelerator(ref common.ReferenceCallbac Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int64", + Type: []string{"integer"}, + Format: "int64", }, }, }, @@ -3980,8 +3951,7 @@ func schema_gpustack_api_worker_v1alpha1_AcceleratorAllocation(ref common.Refere Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.AcceleratorProfileCount{}.OpenAPIModelName()), + Ref: ref(v1alpha1.AcceleratorProfileCount{}.OpenAPIModelName()), }, }, }, @@ -4002,8 +3972,7 @@ func schema_gpustack_api_worker_v1alpha1_AcceleratorAllocation(ref common.Refere Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.AcceleratorProfileCount{}.OpenAPIModelName()), + Ref: ref(v1alpha1.AcceleratorProfileCount{}.OpenAPIModelName()), }, }, }, @@ -4028,8 +3997,7 @@ func schema_gpustack_api_worker_v1alpha1_AcceleratorAllocation(ref common.Refere Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.AcceleratorPlacement{}.OpenAPIModelName()), + Ref: ref(v1alpha1.AcceleratorPlacement{}.OpenAPIModelName()), }, }, }, @@ -4054,8 +4022,7 @@ func schema_gpustack_api_worker_v1alpha1_AcceleratorAllocation(ref common.Refere Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.AcceleratorPlacement{}.OpenAPIModelName()), + Ref: ref(v1alpha1.AcceleratorPlacement{}.OpenAPIModelName()), }, }, }, @@ -4119,8 +4086,7 @@ func schema_gpustack_api_worker_v1alpha1_AcceleratorPhysicalSliced(ref common.Re Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.AcceleratorPhysicalSlicedProfile{}.OpenAPIModelName()), + Ref: ref(v1alpha1.AcceleratorPhysicalSlicedProfile{}.OpenAPIModelName()), }, }, }, @@ -4200,8 +4166,7 @@ func schema_gpustack_api_worker_v1alpha1_AcceleratorPhysicalSlicedProfile(ref co Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.AcceleratorPlacement{}.OpenAPIModelName()), + Ref: ref(v1alpha1.AcceleratorPlacement{}.OpenAPIModelName()), }, }, }, @@ -4353,8 +4318,7 @@ func schema_gpustack_api_worker_v1alpha1_AcceleratorSlicedPhysicalDetail(ref com Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.AcceleratorSlicedPhysicalDetailProfile{}.OpenAPIModelName()), + Ref: ref(v1alpha1.AcceleratorSlicedPhysicalDetailProfile{}.OpenAPIModelName()), }, }, }, @@ -4557,9 +4521,8 @@ func schema_gpustack_api_worker_v1alpha1_DeviceFabric(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -4620,9 +4583,8 @@ func schema_gpustack_api_worker_v1alpha1_DeviceInterface(ref common.ReferenceCal Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -4710,8 +4672,7 @@ func schema_gpustack_api_worker_v1alpha1_DeviceInterface(ref common.ReferenceCal Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.DeviceInterfaceVirtualFunction{}.OpenAPIModelName()), + Ref: ref(v1alpha1.DeviceInterfaceVirtualFunction{}.OpenAPIModelName()), }, }, }, @@ -4914,9 +4875,8 @@ func schema_gpustack_api_worker_v1alpha1_DeviceTopology(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -5023,8 +4983,7 @@ func schema_gpustack_api_worker_v1alpha1_DevicesAllocationGroup(ref common.Refer Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.AcceleratorAllocation{}.OpenAPIModelName()), + Ref: ref(v1alpha1.AcceleratorAllocation{}.OpenAPIModelName()), }, }, }, @@ -5128,8 +5087,7 @@ func schema_gpustack_api_worker_v1alpha1_DevicesGroup(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.Accelerator{}.OpenAPIModelName()), + Ref: ref(v1alpha1.Accelerator{}.OpenAPIModelName()), }, }, }, @@ -5184,8 +5142,7 @@ func schema_gpustack_api_worker_v1alpha1_DevicesList(ref common.ReferenceCallbac Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.Devices{}.OpenAPIModelName()), + Ref: ref(v1alpha1.Devices{}.OpenAPIModelName()), }, }, }, @@ -5223,8 +5180,7 @@ func schema_gpustack_api_worker_v1alpha1_DevicesSpec(ref common.ReferenceCallbac Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.DevicesGroup{}.OpenAPIModelName()), + Ref: ref(v1alpha1.DevicesGroup{}.OpenAPIModelName()), }, }, }, @@ -5245,8 +5201,7 @@ func schema_gpustack_api_worker_v1alpha1_DevicesSpec(ref common.ReferenceCallbac Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.DeviceInterface{}.OpenAPIModelName()), + Ref: ref(v1alpha1.DeviceInterface{}.OpenAPIModelName()), }, }, }, @@ -5284,8 +5239,7 @@ func schema_gpustack_api_worker_v1alpha1_DevicesStatus(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.DevicesAllocationGroup{}.OpenAPIModelName()), + Ref: ref(v1alpha1.DevicesAllocationGroup{}.OpenAPIModelName()), }, }, }, @@ -5503,8 +5457,7 @@ func schema_gpustack_api_worker_v1alpha1_InstanceList(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.Instance{}.OpenAPIModelName()), + Ref: ref(v1alpha1.Instance{}.OpenAPIModelName()), }, }, }, @@ -5746,9 +5699,8 @@ func schema_gpustack_api_worker_v1alpha1_InstanceSpec(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -5779,8 +5731,7 @@ func schema_gpustack_api_worker_v1alpha1_InstanceSpec(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.InstancePort{}.OpenAPIModelName()), + Ref: ref(v1alpha1.InstancePort{}.OpenAPIModelName()), }, }, }, @@ -5803,8 +5754,7 @@ func schema_gpustack_api_worker_v1alpha1_InstanceSpec(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.InstanceEnvVar{}.OpenAPIModelName()), + Ref: ref(v1alpha1.InstanceEnvVar{}.OpenAPIModelName()), }, }, }, @@ -5844,8 +5794,7 @@ func schema_gpustack_api_worker_v1alpha1_InstanceSpec(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.InstanceAdditionalVolume{}.OpenAPIModelName()), + Ref: ref(v1alpha1.InstanceAdditionalVolume{}.OpenAPIModelName()), }, }, }, @@ -5923,9 +5872,8 @@ func schema_gpustack_api_worker_v1alpha1_InstanceStatus(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -5938,8 +5886,7 @@ func schema_gpustack_api_worker_v1alpha1_InstanceStatus(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.HostIP{}.OpenAPIModelName()), + Ref: ref(corev1.HostIP{}.OpenAPIModelName()), }, }, }, @@ -5952,8 +5899,7 @@ func schema_gpustack_api_worker_v1alpha1_InstanceStatus(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PodIP{}.OpenAPIModelName()), + Ref: ref(corev1.PodIP{}.OpenAPIModelName()), }, }, }, @@ -5966,8 +5912,7 @@ func schema_gpustack_api_worker_v1alpha1_InstanceStatus(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.InstanceServicePort{}.OpenAPIModelName()), + Ref: ref(v1alpha1.InstanceServicePort{}.OpenAPIModelName()), }, }, }, @@ -5980,8 +5925,7 @@ func schema_gpustack_api_worker_v1alpha1_InstanceStatus(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.DevicesAllocationGroup{}.OpenAPIModelName()), + Ref: ref(v1alpha1.DevicesAllocationGroup{}.OpenAPIModelName()), }, }, }, @@ -6031,9 +5975,8 @@ func schema_gpustack_api_worker_v1alpha1_InstanceTemplate(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -6064,8 +6007,7 @@ func schema_gpustack_api_worker_v1alpha1_InstanceTemplate(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.InstancePort{}.OpenAPIModelName()), + Ref: ref(v1alpha1.InstancePort{}.OpenAPIModelName()), }, }, }, @@ -6088,8 +6030,7 @@ func schema_gpustack_api_worker_v1alpha1_InstanceTemplate(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.InstanceEnvVar{}.OpenAPIModelName()), + Ref: ref(v1alpha1.InstanceEnvVar{}.OpenAPIModelName()), }, }, }, @@ -6129,8 +6070,7 @@ func schema_gpustack_api_worker_v1alpha1_InstanceTemplate(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.InstanceAdditionalVolume{}.OpenAPIModelName()), + Ref: ref(v1alpha1.InstanceAdditionalVolume{}.OpenAPIModelName()), }, }, }, @@ -6331,9 +6271,8 @@ func schema_gpustack_api_worker_v1alpha1_InstanceTypeAcceleratorDetail(ref commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -6597,9 +6536,8 @@ func schema_gpustack_api_worker_v1alpha1_InstanceTypeDetail(ref common.Reference Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -6660,8 +6598,7 @@ func schema_gpustack_api_worker_v1alpha1_InstanceTypeList(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.InstanceType{}.OpenAPIModelName()), + Ref: ref(v1alpha1.InstanceType{}.OpenAPIModelName()), }, }, }, @@ -6716,8 +6653,7 @@ func schema_gpustack_api_worker_v1alpha1_InstanceTypePartitionedResource(ref com Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.AcceleratorProfileCount{}.OpenAPIModelName()), + Ref: ref(v1alpha1.AcceleratorProfileCount{}.OpenAPIModelName()), }, }, }, @@ -6738,8 +6674,7 @@ func schema_gpustack_api_worker_v1alpha1_InstanceTypePartitionedResource(ref com Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.AcceleratorProfileCount{}.OpenAPIModelName()), + Ref: ref(v1alpha1.AcceleratorProfileCount{}.OpenAPIModelName()), }, }, }, @@ -7166,8 +7101,7 @@ func schema_gpustack_api_worker_v1alpha1_KVCacheBackendExternal(ref common.Refer Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.KVCacheBackendEndpoint{}.OpenAPIModelName()), + Ref: ref(v1alpha1.KVCacheBackendEndpoint{}.OpenAPIModelName()), }, }, }, @@ -7238,9 +7172,8 @@ func schema_gpustack_api_worker_v1alpha1_KVCacheBackendLeader(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -7261,8 +7194,7 @@ func schema_gpustack_api_worker_v1alpha1_KVCacheBackendLeader(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.InstanceEnvVar{}.OpenAPIModelName()), + Ref: ref(v1alpha1.InstanceEnvVar{}.OpenAPIModelName()), }, }, }, @@ -7309,8 +7241,7 @@ func schema_gpustack_api_worker_v1alpha1_KVCacheBackendList(ref common.Reference Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.KVCacheBackend{}.OpenAPIModelName()), + Ref: ref(v1alpha1.KVCacheBackend{}.OpenAPIModelName()), }, }, }, @@ -7353,8 +7284,7 @@ func schema_gpustack_api_worker_v1alpha1_KVCacheBackendManaged(ref common.Refere Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.KVCacheBackendMember{}.OpenAPIModelName()), + Ref: ref(v1alpha1.KVCacheBackendMember{}.OpenAPIModelName()), }, }, }, @@ -7390,9 +7320,8 @@ func schema_gpustack_api_worker_v1alpha1_KVCacheBackendMember(ref common.Referen Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -7430,9 +7359,8 @@ func schema_gpustack_api_worker_v1alpha1_KVCacheBackendMember(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -7453,8 +7381,7 @@ func schema_gpustack_api_worker_v1alpha1_KVCacheBackendMember(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.InstanceEnvVar{}.OpenAPIModelName()), + Ref: ref(v1alpha1.InstanceEnvVar{}.OpenAPIModelName()), }, }, }, @@ -7484,8 +7411,7 @@ func schema_gpustack_api_worker_v1alpha1_KVCacheBackendMember(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.KVCacheBackendMemberLocalDisk{}.OpenAPIModelName()), + Ref: ref(v1alpha1.KVCacheBackendMemberLocalDisk{}.OpenAPIModelName()), }, }, }, @@ -7519,8 +7445,7 @@ func schema_gpustack_api_worker_v1alpha1_KVCacheBackendMember(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.KVCacheBackendMemberHostPath{}.OpenAPIModelName()), + Ref: ref(v1alpha1.KVCacheBackendMemberHostPath{}.OpenAPIModelName()), }, }, }, @@ -7865,8 +7790,7 @@ func schema_gpustack_api_worker_v1alpha1_KVCacheBackendSpec(ref common.Reference Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.LocalObjectReference{}.OpenAPIModelName()), + Ref: ref(corev1.LocalObjectReference{}.OpenAPIModelName()), }, }, }, @@ -7933,8 +7857,7 @@ func schema_gpustack_api_worker_v1alpha1_KVCacheBackendStatus(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(apiv1.Condition{}.OpenAPIModelName()), + Ref: ref(apiv1.Condition{}.OpenAPIModelName()), }, }, }, @@ -7955,8 +7878,7 @@ func schema_gpustack_api_worker_v1alpha1_KVCacheBackendStatus(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.KVCacheBackendEndpoint{}.OpenAPIModelName()), + Ref: ref(v1alpha1.KVCacheBackendEndpoint{}.OpenAPIModelName()), }, }, }, @@ -7983,8 +7905,7 @@ func schema_gpustack_api_worker_v1alpha1_KVCacheBackendStatus(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.KVCacheBackendMemberStatus{}.OpenAPIModelName()), + Ref: ref(v1alpha1.KVCacheBackendMemberStatus{}.OpenAPIModelName()), }, }, }, @@ -8007,8 +7928,7 @@ func schema_gpustack_api_worker_v1alpha1_KVCacheBackendStatus(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.KVCacheObjectReference{}.OpenAPIModelName()), + Ref: ref(v1alpha1.KVCacheObjectReference{}.OpenAPIModelName()), }, }, }, @@ -8245,8 +8165,7 @@ func schema_gpustack_api_worker_v1alpha1_KVCachePoolBindingList(ref common.Refer Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.KVCachePoolBinding{}.OpenAPIModelName()), + Ref: ref(v1alpha1.KVCachePoolBinding{}.OpenAPIModelName()), }, }, }, @@ -8407,8 +8326,7 @@ func schema_gpustack_api_worker_v1alpha1_KVCachePoolBindingStatus(ref common.Ref Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(apiv1.Condition{}.OpenAPIModelName()), + Ref: ref(apiv1.Condition{}.OpenAPIModelName()), }, }, }, @@ -8471,8 +8389,7 @@ func schema_gpustack_api_worker_v1alpha1_KVCachePoolBindingStatus(ref common.Ref Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.KVCacheObjectReference{}.OpenAPIModelName()), + Ref: ref(v1alpha1.KVCacheObjectReference{}.OpenAPIModelName()), }, }, }, @@ -8581,8 +8498,7 @@ func schema_gpustack_api_worker_v1alpha1_KVCachePoolList(ref common.ReferenceCal Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.KVCachePool{}.OpenAPIModelName()), + Ref: ref(v1alpha1.KVCachePool{}.OpenAPIModelName()), }, }, }, @@ -8638,9 +8554,8 @@ func schema_gpustack_api_worker_v1alpha1_KVCachePoolSpec(ref common.ReferenceCal Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -8700,8 +8615,7 @@ func schema_gpustack_api_worker_v1alpha1_KVCachePoolStatus(ref common.ReferenceC Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(apiv1.Condition{}.OpenAPIModelName()), + Ref: ref(apiv1.Condition{}.OpenAPIModelName()), }, }, }, @@ -8736,8 +8650,7 @@ func schema_gpustack_api_worker_v1alpha1_KVCachePoolStatus(ref common.ReferenceC Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.KVCachePoolDomain{}.OpenAPIModelName()), + Ref: ref(v1alpha1.KVCachePoolDomain{}.OpenAPIModelName()), }, }, }, @@ -8760,8 +8673,7 @@ func schema_gpustack_api_worker_v1alpha1_KVCachePoolStatus(ref common.ReferenceC Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.KVCacheObjectReference{}.OpenAPIModelName()), + Ref: ref(v1alpha1.KVCacheObjectReference{}.OpenAPIModelName()), }, }, }, @@ -8941,8 +8853,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelArtifactList(ref common.ReferenceC Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.ModelArtifact{}.OpenAPIModelName()), + Ref: ref(v1alpha1.ModelArtifact{}.OpenAPIModelName()), }, }, }, @@ -9168,9 +9079,8 @@ func schema_gpustack_api_worker_v1alpha1_ModelArtifactSpec(ref common.ReferenceC Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -9188,9 +9098,8 @@ func schema_gpustack_api_worker_v1alpha1_ModelArtifactSpec(ref common.ReferenceC Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -9257,8 +9166,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelArtifactStatus(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(apiv1.Condition{}.OpenAPIModelName()), + Ref: ref(apiv1.Condition{}.OpenAPIModelName()), }, }, }, @@ -9553,8 +9461,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentGroupStatus(ref common.R Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.ModelDeploymentGroupMemberStatus{}.OpenAPIModelName()), + Ref: ref(v1alpha1.ModelDeploymentGroupMemberStatus{}.OpenAPIModelName()), }, }, }, @@ -9749,8 +9656,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentList(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.ModelDeployment{}.OpenAPIModelName()), + Ref: ref(v1alpha1.ModelDeployment{}.OpenAPIModelName()), }, }, }, @@ -10030,9 +9936,8 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentRetirementStatus(ref com Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -10185,8 +10090,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentRole(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.LocalObjectReference{}.OpenAPIModelName()), + Ref: ref(corev1.LocalObjectReference{}.OpenAPIModelName()), }, }, }, @@ -10217,8 +10121,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentRole(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.ModelDeploymentPort{}.OpenAPIModelName()), + Ref: ref(v1alpha1.ModelDeploymentPort{}.OpenAPIModelName()), }, }, }, @@ -10236,8 +10139,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentRole(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.ModelDeploymentAdditionalVolume{}.OpenAPIModelName()), + Ref: ref(v1alpha1.ModelDeploymentAdditionalVolume{}.OpenAPIModelName()), }, }, }, @@ -10261,9 +10163,8 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentRole(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -10281,9 +10182,8 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentRole(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -10306,8 +10206,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentRole(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.ModelDeploymentEnvVar{}.OpenAPIModelName()), + Ref: ref(v1alpha1.ModelDeploymentEnvVar{}.OpenAPIModelName()), }, }, }, @@ -10432,9 +10331,8 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentRoleParallelismStatus(re Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: false, - Type: []string{"boolean"}, - Format: "", + Type: []string{"boolean"}, + Format: "", }, }, }, @@ -10585,9 +10483,8 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentRoleStatus(ref common.Re Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -10619,8 +10516,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentRoleStatus(ref common.Re Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.ModelDeploymentGroupStatus{}.OpenAPIModelName()), + Ref: ref(v1alpha1.ModelDeploymentGroupStatus{}.OpenAPIModelName()), }, }, }, @@ -10698,9 +10594,8 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentRouter(ref common.Refere Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -10727,8 +10622,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentRouter(ref common.Refere Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.LocalObjectReference{}.OpenAPIModelName()), + Ref: ref(corev1.LocalObjectReference{}.OpenAPIModelName()), }, }, }, @@ -10876,9 +10770,8 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentRouterRoleStatus(ref com Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -10953,8 +10846,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentRouterStatus(ref common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.ModelDeploymentRouterRoleStatus{}.OpenAPIModelName()), + Ref: ref(v1alpha1.ModelDeploymentRouterRoleStatus{}.OpenAPIModelName()), }, }, }, @@ -11197,9 +11089,8 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentScalerCommitStatus(ref c Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int32", + Type: []string{"integer"}, + Format: "int32", }, }, }, @@ -11213,9 +11104,8 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentScalerCommitStatus(ref c Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int32", + Type: []string{"integer"}, + Format: "int32", }, }, }, @@ -11273,9 +11163,8 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentScalerDecision(ref commo Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int32", + Type: []string{"integer"}, + Format: "int32", }, }, }, @@ -11388,8 +11277,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentScalerList(ref common.Re Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.ModelDeploymentScaler{}.OpenAPIModelName()), + Ref: ref(v1alpha1.ModelDeploymentScaler{}.OpenAPIModelName()), }, }, }, @@ -11434,9 +11322,8 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentScalerPendingCohortStatu Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int32", + Type: []string{"integer"}, + Format: "int32", }, }, }, @@ -11450,9 +11337,8 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentScalerPendingCohortStatu Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int32", + Type: []string{"integer"}, + Format: "int32", }, }, }, @@ -11603,8 +11489,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentScalerPredictorStatus(re Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.ModelDeploymentScalerDemandSample{}.OpenAPIModelName()), + Ref: ref(v1alpha1.ModelDeploymentScalerDemandSample{}.OpenAPIModelName()), }, }, }, @@ -11649,8 +11534,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentScalerProportionalSpec(r Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.ModelDeploymentScalerRoleTarget{}.OpenAPIModelName()), + Ref: ref(v1alpha1.ModelDeploymentScalerRoleTarget{}.OpenAPIModelName()), }, }, }, @@ -11697,9 +11581,8 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentScalerRebalanceSpec(ref Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -12000,8 +11883,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentScalerRoleStatus(ref com Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.ModelDeploymentScalerStabilizationSample{}.OpenAPIModelName()), + Ref: ref(v1alpha1.ModelDeploymentScalerStabilizationSample{}.OpenAPIModelName()), }, }, }, @@ -12156,9 +12038,8 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentScalerScaleDownStatus(re Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int32", + Type: []string{"integer"}, + Format: "int32", }, }, }, @@ -12289,8 +12170,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentScalerSpec(ref common.Re Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.ModelDeploymentScalerRoleBounds{}.OpenAPIModelName()), + Ref: ref(v1alpha1.ModelDeploymentScalerRoleBounds{}.OpenAPIModelName()), }, }, }, @@ -12312,8 +12192,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentScalerSpec(ref common.Re Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.ModelDeploymentScalerRoleRatio{}.OpenAPIModelName()), + Ref: ref(v1alpha1.ModelDeploymentScalerRoleRatio{}.OpenAPIModelName()), }, }, }, @@ -12414,8 +12293,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentScalerStatus(ref common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.ModelDeploymentScalerRoleStatus{}.OpenAPIModelName()), + Ref: ref(v1alpha1.ModelDeploymentScalerRoleStatus{}.OpenAPIModelName()), }, }, }, @@ -12460,8 +12338,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentScalerStatus(ref common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.ModelDeploymentScalerPredictorStatus{}.OpenAPIModelName()), + Ref: ref(v1alpha1.ModelDeploymentScalerPredictorStatus{}.OpenAPIModelName()), }, }, }, @@ -12484,8 +12361,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentScalerStatus(ref common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(apiv1.Condition{}.OpenAPIModelName()), + Ref: ref(apiv1.Condition{}.OpenAPIModelName()), }, }, }, @@ -12696,8 +12572,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentSpec(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.ModelDeploymentRole{}.OpenAPIModelName()), + Ref: ref(v1alpha1.ModelDeploymentRole{}.OpenAPIModelName()), }, }, }, @@ -12762,8 +12637,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentStatus(ref common.Refere Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(apiv1.Condition{}.OpenAPIModelName()), + Ref: ref(apiv1.Condition{}.OpenAPIModelName()), }, }, }, @@ -12792,8 +12666,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelDeploymentStatus(ref common.Refere Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.ModelDeploymentRoleStatus{}.OpenAPIModelName()), + Ref: ref(v1alpha1.ModelDeploymentRoleStatus{}.OpenAPIModelName()), }, }, }, @@ -12961,8 +12834,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelPrefetchList(ref common.ReferenceC Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.ModelPrefetch{}.OpenAPIModelName()), + Ref: ref(v1alpha1.ModelPrefetch{}.OpenAPIModelName()), }, }, }, @@ -12998,9 +12870,8 @@ func schema_gpustack_api_worker_v1alpha1_ModelPrefetchPlacement(ref common.Refer Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -13144,8 +13015,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelPrefetchStatus(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(apiv1.Condition{}.OpenAPIModelName()), + Ref: ref(apiv1.Condition{}.OpenAPIModelName()), }, }, }, @@ -13288,8 +13158,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelStoreBindingList(ref common.Refere Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.ModelStoreBinding{}.OpenAPIModelName()), + Ref: ref(v1alpha1.ModelStoreBinding{}.OpenAPIModelName()), }, }, }, @@ -13347,8 +13216,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelStoreBindingSpec(ref common.Refere Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.ModelStoreBindingStoreReference{}.OpenAPIModelName()), + Ref: ref(v1alpha1.ModelStoreBindingStoreReference{}.OpenAPIModelName()), }, }, }, @@ -13415,8 +13283,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelStoreBindingStatus(ref common.Refe Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(apiv1.Condition{}.OpenAPIModelName()), + Ref: ref(apiv1.Condition{}.OpenAPIModelName()), }, }, }, @@ -13550,8 +13417,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelStoreList(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.ModelStore{}.OpenAPIModelName()), + Ref: ref(v1alpha1.ModelStore{}.OpenAPIModelName()), }, }, }, @@ -13637,8 +13503,7 @@ func schema_gpustack_api_worker_v1alpha1_ModelStoreStatus(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(apiv1.Condition{}.OpenAPIModelName()), + Ref: ref(apiv1.Condition{}.OpenAPIModelName()), }, }, }, @@ -13890,8 +13755,7 @@ func schema_gpustack_api_worker_v1alpha1_NodeModelStoreList(ref common.Reference Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.NodeModelStore{}.OpenAPIModelName()), + Ref: ref(v1alpha1.NodeModelStore{}.OpenAPIModelName()), }, }, }, @@ -14056,9 +13920,8 @@ func schema_gpustack_api_worker_v1alpha1_NodeModelStoreSpec(ref common.Reference Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -14109,8 +13972,7 @@ func schema_gpustack_api_worker_v1alpha1_NodeModelStoreStatus(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.NodeModelStoreModel{}.OpenAPIModelName()), + Ref: ref(v1alpha1.NodeModelStoreModel{}.OpenAPIModelName()), }, }, }, @@ -14133,8 +13995,7 @@ func schema_gpustack_api_worker_v1alpha1_NodeModelStoreStatus(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(apiv1.Condition{}.OpenAPIModelName()), + Ref: ref(apiv1.Condition{}.OpenAPIModelName()), }, }, }, @@ -14298,8 +14159,7 @@ func schema_gpustack_api_worker_v1alpha1_TopologySourceList(ref common.Reference Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1alpha1.TopologySource{}.OpenAPIModelName()), + Ref: ref(v1alpha1.TopologySource{}.OpenAPIModelName()), }, }, }, @@ -14381,9 +14241,8 @@ func schema_gpustack_api_worker_v1alpha1_TopologySourceSpec(ref common.Reference Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -14487,8 +14346,7 @@ func schema_gpustack_api_worker_v1alpha1_TopologySourceStatus(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(apiv1.Condition{}.OpenAPIModelName()), + Ref: ref(apiv1.Condition{}.OpenAPIModelName()), }, }, }, @@ -14725,8 +14583,7 @@ func schema_k8sio_api_core_v1_AvoidPods(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PreferAvoidPodsEntry{}.OpenAPIModelName()), + Ref: ref(corev1.PreferAvoidPodsEntry{}.OpenAPIModelName()), }, }, }, @@ -14974,9 +14831,8 @@ func schema_k8sio_api_core_v1_CSIPersistentVolumeSource(ref common.ReferenceCall Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -15058,9 +14914,8 @@ func schema_k8sio_api_core_v1_CSIVolumeSource(ref common.ReferenceCallback) comm Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -15100,9 +14955,8 @@ func schema_k8sio_api_core_v1_Capabilities(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -15120,9 +14974,8 @@ func schema_k8sio_api_core_v1_Capabilities(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -15153,9 +15006,8 @@ func schema_k8sio_api_core_v1_CephFSPersistentVolumeSource(ref common.ReferenceC Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -15223,9 +15075,8 @@ func schema_k8sio_api_core_v1_CephFSVolumeSource(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -15522,8 +15373,7 @@ func schema_k8sio_api_core_v1_ComponentStatus(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ComponentCondition{}.OpenAPIModelName()), + Ref: ref(corev1.ComponentCondition{}.OpenAPIModelName()), }, }, }, @@ -15572,8 +15422,7 @@ func schema_k8sio_api_core_v1_ComponentStatusList(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ComponentStatus{}.OpenAPIModelName()), + Ref: ref(corev1.ComponentStatus{}.OpenAPIModelName()), }, }, }, @@ -15631,9 +15480,8 @@ func schema_k8sio_api_core_v1_ConfigMap(ref common.ReferenceCallback) common.Ope Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -15767,8 +15615,7 @@ func schema_k8sio_api_core_v1_ConfigMapList(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ConfigMap{}.OpenAPIModelName()), + Ref: ref(corev1.ConfigMap{}.OpenAPIModelName()), }, }, }, @@ -15862,8 +15709,7 @@ func schema_k8sio_api_core_v1_ConfigMapProjection(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.KeyToPath{}.OpenAPIModelName()), + Ref: ref(corev1.KeyToPath{}.OpenAPIModelName()), }, }, }, @@ -15911,8 +15757,7 @@ func schema_k8sio_api_core_v1_ConfigMapVolumeSource(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.KeyToPath{}.OpenAPIModelName()), + Ref: ref(corev1.KeyToPath{}.OpenAPIModelName()), }, }, }, @@ -15974,9 +15819,8 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -15994,9 +15838,8 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -16027,8 +15870,7 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerPort{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerPort{}.OpenAPIModelName()), }, }, }, @@ -16046,8 +15888,7 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.EnvFromSource{}.OpenAPIModelName()), + Ref: ref(corev1.EnvFromSource{}.OpenAPIModelName()), }, }, }, @@ -16070,8 +15911,7 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.EnvVar{}.OpenAPIModelName()), + Ref: ref(corev1.EnvVar{}.OpenAPIModelName()), }, }, }, @@ -16096,8 +15936,7 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerResizePolicy{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerResizePolicy{}.OpenAPIModelName()), }, }, }, @@ -16122,8 +15961,7 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerRestartRule{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerRestartRule{}.OpenAPIModelName()), }, }, }, @@ -16146,8 +15984,7 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.VolumeMount{}.OpenAPIModelName()), + Ref: ref(corev1.VolumeMount{}.OpenAPIModelName()), }, }, }, @@ -16170,8 +16007,7 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.VolumeDevice{}.OpenAPIModelName()), + Ref: ref(corev1.VolumeDevice{}.OpenAPIModelName()), }, }, }, @@ -16317,9 +16153,8 @@ func schema_k8sio_api_core_v1_ContainerImage(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -16475,9 +16310,8 @@ func schema_k8sio_api_core_v1_ContainerRestartRuleOnExitCodes(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int32", + Type: []string{"integer"}, + Format: "int32", }, }, }, @@ -16747,8 +16581,7 @@ func schema_k8sio_api_core_v1_ContainerStatus(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.VolumeMountStatus{}.OpenAPIModelName()), + Ref: ref(corev1.VolumeMountStatus{}.OpenAPIModelName()), }, }, }, @@ -16777,8 +16610,7 @@ func schema_k8sio_api_core_v1_ContainerStatus(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ResourceStatus{}.OpenAPIModelName()), + Ref: ref(corev1.ResourceStatus{}.OpenAPIModelName()), }, }, }, @@ -16863,8 +16695,7 @@ func schema_k8sio_api_core_v1_DownwardAPIProjection(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.DownwardAPIVolumeFile{}.OpenAPIModelName()), + Ref: ref(corev1.DownwardAPIVolumeFile{}.OpenAPIModelName()), }, }, }, @@ -16940,8 +16771,7 @@ func schema_k8sio_api_core_v1_DownwardAPIVolumeSource(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.DownwardAPIVolumeFile{}.OpenAPIModelName()), + Ref: ref(corev1.DownwardAPIVolumeFile{}.OpenAPIModelName()), }, }, }, @@ -17107,8 +16937,7 @@ func schema_k8sio_api_core_v1_EndpointSubset(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.EndpointAddress{}.OpenAPIModelName()), + Ref: ref(corev1.EndpointAddress{}.OpenAPIModelName()), }, }, }, @@ -17126,8 +16955,7 @@ func schema_k8sio_api_core_v1_EndpointSubset(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.EndpointAddress{}.OpenAPIModelName()), + Ref: ref(corev1.EndpointAddress{}.OpenAPIModelName()), }, }, }, @@ -17145,8 +16973,7 @@ func schema_k8sio_api_core_v1_EndpointSubset(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.EndpointPort{}.OpenAPIModelName()), + Ref: ref(corev1.EndpointPort{}.OpenAPIModelName()), }, }, }, @@ -17200,8 +17027,7 @@ func schema_k8sio_api_core_v1_Endpoints(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.EndpointSubset{}.OpenAPIModelName()), + Ref: ref(corev1.EndpointSubset{}.OpenAPIModelName()), }, }, }, @@ -17250,8 +17076,7 @@ func schema_k8sio_api_core_v1_EndpointsList(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Endpoints{}.OpenAPIModelName()), + Ref: ref(corev1.Endpoints{}.OpenAPIModelName()), }, }, }, @@ -17416,9 +17241,8 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -17436,9 +17260,8 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -17469,8 +17292,7 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerPort{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerPort{}.OpenAPIModelName()), }, }, }, @@ -17488,8 +17310,7 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.EnvFromSource{}.OpenAPIModelName()), + Ref: ref(corev1.EnvFromSource{}.OpenAPIModelName()), }, }, }, @@ -17512,8 +17333,7 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.EnvVar{}.OpenAPIModelName()), + Ref: ref(corev1.EnvVar{}.OpenAPIModelName()), }, }, }, @@ -17538,8 +17358,7 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerResizePolicy{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerResizePolicy{}.OpenAPIModelName()), }, }, }, @@ -17564,8 +17383,7 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerRestartRule{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerRestartRule{}.OpenAPIModelName()), }, }, }, @@ -17588,8 +17406,7 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.VolumeMount{}.OpenAPIModelName()), + Ref: ref(corev1.VolumeMount{}.OpenAPIModelName()), }, }, }, @@ -17612,8 +17429,7 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.VolumeDevice{}.OpenAPIModelName()), + Ref: ref(corev1.VolumeDevice{}.OpenAPIModelName()), }, }, }, @@ -17743,9 +17559,8 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -17763,9 +17578,8 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -17796,8 +17610,7 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerPort{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerPort{}.OpenAPIModelName()), }, }, }, @@ -17815,8 +17628,7 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.EnvFromSource{}.OpenAPIModelName()), + Ref: ref(corev1.EnvFromSource{}.OpenAPIModelName()), }, }, }, @@ -17839,8 +17651,7 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.EnvVar{}.OpenAPIModelName()), + Ref: ref(corev1.EnvVar{}.OpenAPIModelName()), }, }, }, @@ -17865,8 +17676,7 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerResizePolicy{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerResizePolicy{}.OpenAPIModelName()), }, }, }, @@ -17891,8 +17701,7 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerRestartRule{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerRestartRule{}.OpenAPIModelName()), }, }, }, @@ -17915,8 +17724,7 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.VolumeMount{}.OpenAPIModelName()), + Ref: ref(corev1.VolumeMount{}.OpenAPIModelName()), }, }, }, @@ -17939,8 +17747,7 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.VolumeDevice{}.OpenAPIModelName()), + Ref: ref(corev1.VolumeDevice{}.OpenAPIModelName()), }, }, }, @@ -18217,8 +18024,7 @@ func schema_k8sio_api_core_v1_EventList(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Event{}.OpenAPIModelName()), + Ref: ref(corev1.Event{}.OpenAPIModelName()), }, }, }, @@ -18307,9 +18113,8 @@ func schema_k8sio_api_core_v1_ExecAction(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -18340,9 +18145,8 @@ func schema_k8sio_api_core_v1_FCVolumeSource(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -18381,9 +18185,8 @@ func schema_k8sio_api_core_v1_FCVolumeSource(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -18489,9 +18292,8 @@ func schema_k8sio_api_core_v1_FlexPersistentVolumeSource(ref common.ReferenceCal Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -18549,9 +18351,8 @@ func schema_k8sio_api_core_v1_FlexVolumeSource(ref common.ReferenceCallback) com Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -18830,8 +18631,7 @@ func schema_k8sio_api_core_v1_HTTPGetAction(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.HTTPHeader{}.OpenAPIModelName()), + Ref: ref(corev1.HTTPHeader{}.OpenAPIModelName()), }, }, }, @@ -18903,9 +18703,8 @@ func schema_k8sio_api_core_v1_HostAlias(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -19035,9 +18834,8 @@ func schema_k8sio_api_core_v1_ISCSIPersistentVolumeSource(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -19144,9 +18942,8 @@ func schema_k8sio_api_core_v1_ISCSIVolumeSource(ref common.ReferenceCallback) co Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -19216,6 +19013,27 @@ func schema_k8sio_api_core_v1_ImageVolumeSource(ref common.ReferenceCallback) co } } +func schema_k8sio_api_core_v1_ImageVolumeStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "ImageVolumeStatus represents the image-based volume status.", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "imageRef": { + SchemaProps: spec.SchemaProps{ + Description: "ImageRef is the digest of the image used for this volume. It should have a value that's similar to the pod's status.containerStatuses[i].imageID. The ImageRef length should not exceed 256 characters.", + Type: []string{"string"}, + Format: "", + }, + }, + }, + Required: []string{"imageRef"}, + }, + }, + } +} + func schema_k8sio_api_core_v1_KeyToPath(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ @@ -19499,8 +19317,7 @@ func schema_k8sio_api_core_v1_LimitRangeList(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.LimitRange{}.OpenAPIModelName()), + Ref: ref(corev1.LimitRange{}.OpenAPIModelName()), }, }, }, @@ -19534,8 +19351,7 @@ func schema_k8sio_api_core_v1_LimitRangeSpec(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.LimitRangeItem{}.OpenAPIModelName()), + Ref: ref(corev1.LimitRangeItem{}.OpenAPIModelName()), }, }, }, @@ -19585,9 +19401,8 @@ func schema_k8sio_api_core_v1_LinuxContainerUser(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int64", + Type: []string{"integer"}, + Format: "int64", }, }, }, @@ -19690,8 +19505,7 @@ func schema_k8sio_api_core_v1_LoadBalancerIngress(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PortStatus{}.OpenAPIModelName()), + Ref: ref(corev1.PortStatus{}.OpenAPIModelName()), }, }, }, @@ -19724,8 +19538,7 @@ func schema_k8sio_api_core_v1_LoadBalancerStatus(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.LoadBalancerIngress{}.OpenAPIModelName()), + Ref: ref(corev1.LoadBalancerIngress{}.OpenAPIModelName()), }, }, }, @@ -19998,8 +19811,7 @@ func schema_k8sio_api_core_v1_NamespaceList(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Namespace{}.OpenAPIModelName()), + Ref: ref(corev1.Namespace{}.OpenAPIModelName()), }, }, }, @@ -20033,9 +19845,8 @@ func schema_k8sio_api_core_v1_NamespaceSpec(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -20079,8 +19890,7 @@ func schema_k8sio_api_core_v1_NamespaceStatus(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.NamespaceCondition{}.OpenAPIModelName()), + Ref: ref(corev1.NamespaceCondition{}.OpenAPIModelName()), }, }, }, @@ -20199,8 +20009,7 @@ func schema_k8sio_api_core_v1_NodeAffinity(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PreferredSchedulingTerm{}.OpenAPIModelName()), + Ref: ref(corev1.PreferredSchedulingTerm{}.OpenAPIModelName()), }, }, }, @@ -20214,6 +20023,63 @@ func schema_k8sio_api_core_v1_NodeAffinity(ref common.ReferenceCallback) common. } } +func schema_k8sio_api_core_v1_NodeAllocatableResourceClaimStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "NodeAllocatableResourceClaimStatus describes the status of node allocatable resources allocated via DRA.", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "resourceClaimName": { + SchemaProps: spec.SchemaProps{ + Description: "ResourceClaimName is the resource claim referenced by the pod that resulted in this node allocatable resource allocation.", + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + "containers": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "set", + }, + }, + SchemaProps: spec.SchemaProps{ + Description: "Containers lists the names of all containers in this pod that reference the claim.", + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + "resources": { + SchemaProps: spec.SchemaProps{ + Description: "Resources is a map of the node-allocatable resource name to the aggregate quantity allocated to the claim.", + Type: []string{"object"}, + AdditionalProperties: &spec.SchemaOrBool{ + Allows: true, + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Ref: ref(resource.Quantity{}.OpenAPIModelName()), + }, + }, + }, + }, + }, + }, + Required: []string{"resourceClaimName", "resources"}, + }, + }, + Dependencies: []string{ + resource.Quantity{}.OpenAPIModelName()}, + } +} + func schema_k8sio_api_core_v1_NodeCondition(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ @@ -20410,8 +20276,7 @@ func schema_k8sio_api_core_v1_NodeList(ref common.ReferenceCallback) common.Open Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Node{}.OpenAPIModelName()), + Ref: ref(corev1.Node{}.OpenAPIModelName()), }, }, }, @@ -20535,8 +20400,7 @@ func schema_k8sio_api_core_v1_NodeSelector(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.NodeSelectorTerm{}.OpenAPIModelName()), + Ref: ref(corev1.NodeSelectorTerm{}.OpenAPIModelName()), }, }, }, @@ -20592,9 +20456,8 @@ func schema_k8sio_api_core_v1_NodeSelectorRequirement(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -20626,8 +20489,7 @@ func schema_k8sio_api_core_v1_NodeSelectorTerm(ref common.ReferenceCallback) com Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.NodeSelectorRequirement{}.OpenAPIModelName()), + Ref: ref(corev1.NodeSelectorRequirement{}.OpenAPIModelName()), }, }, }, @@ -20645,8 +20507,7 @@ func schema_k8sio_api_core_v1_NodeSelectorTerm(ref common.ReferenceCallback) com Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.NodeSelectorRequirement{}.OpenAPIModelName()), + Ref: ref(corev1.NodeSelectorRequirement{}.OpenAPIModelName()), }, }, }, @@ -20692,9 +20553,8 @@ func schema_k8sio_api_core_v1_NodeSpec(ref common.ReferenceCallback) common.Open Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -20726,8 +20586,7 @@ func schema_k8sio_api_core_v1_NodeSpec(ref common.ReferenceCallback) common.Open Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Taint{}.OpenAPIModelName()), + Ref: ref(corev1.Taint{}.OpenAPIModelName()), }, }, }, @@ -20814,8 +20673,7 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.NodeCondition{}.OpenAPIModelName()), + Ref: ref(corev1.NodeCondition{}.OpenAPIModelName()), }, }, }, @@ -20838,8 +20696,7 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.NodeAddress{}.OpenAPIModelName()), + Ref: ref(corev1.NodeAddress{}.OpenAPIModelName()), }, }, }, @@ -20871,8 +20728,7 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerImage{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerImage{}.OpenAPIModelName()), }, }, }, @@ -20890,9 +20746,8 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -20910,8 +20765,7 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.AttachedVolume{}.OpenAPIModelName()), + Ref: ref(corev1.AttachedVolume{}.OpenAPIModelName()), }, }, }, @@ -20935,8 +20789,7 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.NodeRuntimeHandler{}.OpenAPIModelName()), + Ref: ref(corev1.NodeRuntimeHandler{}.OpenAPIModelName()), }, }, }, @@ -20960,9 +20813,8 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -21392,8 +21244,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimList(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PersistentVolumeClaim{}.OpenAPIModelName()), + Ref: ref(corev1.PersistentVolumeClaim{}.OpenAPIModelName()), }, }, }, @@ -21427,10 +21278,9 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimSpec(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", - Enum: []interface{}{"ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce", "ReadWriteOncePod"}, + Type: []string{"string"}, + Format: "", + Enum: []interface{}{"ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce", "ReadWriteOncePod"}, }, }, }, @@ -21525,10 +21375,9 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", - Enum: []interface{}{"ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce", "ReadWriteOncePod"}, + Type: []string{"string"}, + Format: "", + Enum: []interface{}{"ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce", "ReadWriteOncePod"}, }, }, }, @@ -21565,8 +21414,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PersistentVolumeClaimCondition{}.OpenAPIModelName()), + Ref: ref(corev1.PersistentVolumeClaimCondition{}.OpenAPIModelName()), }, }, }, @@ -21599,10 +21447,9 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref common.ReferenceCa Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", - Enum: []interface{}{"ControllerResizeInProgress", "ControllerResizeInfeasible", "NodeResizeInProgress", "NodeResizeInfeasible", "NodeResizePending"}, + Type: []string{"string"}, + Format: "", + Enum: []interface{}{"ControllerResizeInProgress", "ControllerResizeInfeasible", "NodeResizeInProgress", "NodeResizeInfeasible", "NodeResizePending"}, }, }, }, @@ -21723,8 +21570,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeList(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PersistentVolume{}.OpenAPIModelName()), + Ref: ref(corev1.PersistentVolume{}.OpenAPIModelName()), }, }, }, @@ -21850,7 +21696,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeSource(ref common.ReferenceCallbac }, "portworxVolume": { SchemaProps: spec.SchemaProps{ - Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on.", + Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver.", Ref: ref(corev1.PortworxVolumeSource{}.OpenAPIModelName()), }, }, @@ -22011,7 +21857,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeSpec(ref common.ReferenceCallback) }, "portworxVolume": { SchemaProps: spec.SchemaProps{ - Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on.", + Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver.", Ref: ref(corev1.PortworxVolumeSource{}.OpenAPIModelName()), }, }, @@ -22051,10 +21897,9 @@ func schema_k8sio_api_core_v1_PersistentVolumeSpec(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", - Enum: []interface{}{"ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce", "ReadWriteOncePod"}, + Type: []string{"string"}, + Format: "", + Enum: []interface{}{"ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce", "ReadWriteOncePod"}, }, }, }, @@ -22098,9 +21943,8 @@ func schema_k8sio_api_core_v1_PersistentVolumeSpec(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -22276,8 +22120,7 @@ func schema_k8sio_api_core_v1_PodAffinity(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PodAffinityTerm{}.OpenAPIModelName()), + Ref: ref(corev1.PodAffinityTerm{}.OpenAPIModelName()), }, }, }, @@ -22295,8 +22138,7 @@ func schema_k8sio_api_core_v1_PodAffinity(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.WeightedPodAffinityTerm{}.OpenAPIModelName()), + Ref: ref(corev1.WeightedPodAffinityTerm{}.OpenAPIModelName()), }, }, }, @@ -22335,9 +22177,8 @@ func schema_k8sio_api_core_v1_PodAffinityTerm(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -22369,9 +22210,8 @@ func schema_k8sio_api_core_v1_PodAffinityTerm(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -22389,9 +22229,8 @@ func schema_k8sio_api_core_v1_PodAffinityTerm(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -22425,8 +22264,7 @@ func schema_k8sio_api_core_v1_PodAntiAffinity(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PodAffinityTerm{}.OpenAPIModelName()), + Ref: ref(corev1.PodAffinityTerm{}.OpenAPIModelName()), }, }, }, @@ -22444,8 +22282,7 @@ func schema_k8sio_api_core_v1_PodAntiAffinity(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.WeightedPodAffinityTerm{}.OpenAPIModelName()), + Ref: ref(corev1.WeightedPodAffinityTerm{}.OpenAPIModelName()), }, }, }, @@ -22578,9 +22415,8 @@ func schema_k8sio_api_core_v1_PodCertificateProjection(ref common.ReferenceCallb Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -22610,7 +22446,7 @@ func schema_k8sio_api_core_v1_PodCondition(ref common.ReferenceCallback) common. }, "observedGeneration": { SchemaProps: spec.SchemaProps{ - Description: "If set, this represents the .metadata.generation that the pod condition was set based upon. The PodObservedGenerationTracking feature gate must be enabled to use this field.", + Description: "If set, this represents the .metadata.generation that the pod condition was set based upon.", Type: []string{"integer"}, Format: "int64", }, @@ -22677,9 +22513,8 @@ func schema_k8sio_api_core_v1_PodDNSConfig(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -22697,9 +22532,8 @@ func schema_k8sio_api_core_v1_PodDNSConfig(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -22717,8 +22551,7 @@ func schema_k8sio_api_core_v1_PodDNSConfig(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PodDNSConfigOption{}.OpenAPIModelName()), + Ref: ref(corev1.PodDNSConfigOption{}.OpenAPIModelName()), }, }, }, @@ -22827,9 +22660,8 @@ func schema_k8sio_api_core_v1_PodExecOptions(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -22861,8 +22693,7 @@ func schema_k8sio_api_core_v1_PodExtendedResourceClaimStatus(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerExtendedResourceRequest{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerExtendedResourceRequest{}.OpenAPIModelName()), }, }, }, @@ -22942,8 +22773,7 @@ func schema_k8sio_api_core_v1_PodList(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Pod{}.OpenAPIModelName()), + Ref: ref(corev1.Pod{}.OpenAPIModelName()), }, }, }, @@ -23111,9 +22941,8 @@ func schema_k8sio_api_core_v1_PodPortForwardOptions(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int32", + Type: []string{"integer"}, + Format: "int32", }, }, }, @@ -23185,7 +23014,7 @@ func schema_k8sio_api_core_v1_PodResourceClaim(ref common.ReferenceCallback) com return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "PodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod.\n\nIt adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.", + Description: "PodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod.\n\nIt adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.\n\nWhen the DRAWorkloadResourceClaims feature gate is enabled and this Pod belongs to a PodGroup, a PodResourceClaim is matched to a PodGroupResourceClaim if all of their fields are equal (Name, ResourceClaimName, and ResourceClaimTemplateName). A matched claim references a single ResourceClaim shared across all Pods in the PodGroup, reserved for the PodGroup in ResourceClaimStatus.ReservedFor rather than for individual Pods.", Type: []string{"object"}, Properties: map[string]spec.Schema{ "name": { @@ -23205,7 +23034,7 @@ func schema_k8sio_api_core_v1_PodResourceClaim(ref common.ReferenceCallback) com }, "resourceClaimTemplateName": { SchemaProps: spec.SchemaProps{ - Description: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.\n\nThe template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.\n\nExactly one of ResourceClaimName and ResourceClaimTemplateName must be set.", + Description: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.\n\nThe template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.\n\nWhen the DRAWorkloadResourceClaims feature gate is enabled and the pod belongs to a PodGroup that defines a PodGroupResourceClaim with the same Name and ResourceClaimTemplateName, this PodResourceClaim resolves to the ResourceClaim generated for the PodGroup. All pods in the group that define an equivalent PodResourceClaim matching the PodGroupResourceClaim's Name and ResourceClaimTemplateName share the same generated ResourceClaim. ResourceClaims generated for a PodGroup are owned by the PodGroup and their lifecycles are tied to the PodGroup instead of any individual pod.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.\n\nExactly one of ResourceClaimName and ResourceClaimTemplateName must be set.", Type: []string{"string"}, Format: "", }, @@ -23234,7 +23063,7 @@ func schema_k8sio_api_core_v1_PodResourceClaimStatus(ref common.ReferenceCallbac }, "resourceClaimName": { SchemaProps: spec.SchemaProps{ - Description: "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. If this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.", + Description: "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod.\n\nWhen the DRAWorkloadResourceClaims feature is enabled and the corresponding PodResourceClaim matches a PodGroupResourceClaim made by the Pod's PodGroup, then this is the name of the ResourceClaim generated and reserved for the PodGroup.\n\nIf this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.", Type: []string{"string"}, Format: "", }, @@ -23268,6 +23097,37 @@ func schema_k8sio_api_core_v1_PodSchedulingGate(ref common.ReferenceCallback) co } } +func schema_k8sio_api_core_v1_PodSchedulingGroup(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "PodSchedulingGroup identifies the runtime scheduling group instance that a Pod belongs to. The scheduler uses this information to apply workload-aware scheduling semantics. Exactly one field must be specified.", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "podGroupName": { + SchemaProps: spec.SchemaProps{ + Description: "PodGroupName specifies the name of the standalone PodGroup object that represents the runtime instance of this group. Must be a DNS subdomain.", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-unions": []interface{}{ + map[string]interface{}{ + "fields-to-discriminateBy": map[string]interface{}{ + "podGroupName": "PodGroupName", + }, + }, + }, + }, + }, + }, + } +} + func schema_k8sio_api_core_v1_PodSecurityContext(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ @@ -23320,9 +23180,8 @@ func schema_k8sio_api_core_v1_PodSecurityContext(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int64", + Type: []string{"integer"}, + Format: "int64", }, }, }, @@ -23355,8 +23214,7 @@ func schema_k8sio_api_core_v1_PodSecurityContext(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Sysctl{}.OpenAPIModelName()), + Ref: ref(corev1.Sysctl{}.OpenAPIModelName()), }, }, }, @@ -23442,8 +23300,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Volume{}.OpenAPIModelName()), + Ref: ref(corev1.Volume{}.OpenAPIModelName()), }, }, }, @@ -23466,8 +23323,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Container{}.OpenAPIModelName()), + Ref: ref(corev1.Container{}.OpenAPIModelName()), }, }, }, @@ -23490,8 +23346,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Container{}.OpenAPIModelName()), + Ref: ref(corev1.Container{}.OpenAPIModelName()), }, }, }, @@ -23514,8 +23369,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.EphemeralContainer{}.OpenAPIModelName()), + Ref: ref(corev1.EphemeralContainer{}.OpenAPIModelName()), }, }, }, @@ -23564,9 +23418,8 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -23651,8 +23504,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.LocalObjectReference{}.OpenAPIModelName()), + Ref: ref(corev1.LocalObjectReference{}.OpenAPIModelName()), }, }, }, @@ -23697,8 +23549,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Toleration{}.OpenAPIModelName()), + Ref: ref(corev1.Toleration{}.OpenAPIModelName()), }, }, }, @@ -23721,8 +23572,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.HostAlias{}.OpenAPIModelName()), + Ref: ref(corev1.HostAlias{}.OpenAPIModelName()), }, }, }, @@ -23760,8 +23610,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PodReadinessGate{}.OpenAPIModelName()), + Ref: ref(corev1.PodReadinessGate{}.OpenAPIModelName()), }, }, }, @@ -23821,8 +23670,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.TopologySpreadConstraint{}.OpenAPIModelName()), + Ref: ref(corev1.TopologySpreadConstraint{}.OpenAPIModelName()), }, }, }, @@ -23843,7 +23691,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA }, "hostUsers": { SchemaProps: spec.SchemaProps{ - Description: "Use the host's user namespace. Optional: Default to true. If set to true or not present, the pod will be run in the host user namespace, useful for when the pod needs a feature only available to the host user namespace, such as loading a kernel module with CAP_SYS_MODULE. When set to false, a new userns is created for the pod. Setting false is useful for mitigating container breakout vulnerabilities even allowing users to run their containers as root without actually having root privileges on the host. This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature.", + Description: "Use the host's user namespace. Optional: Default to true. If set to true or not present, the pod will be run in the host user namespace, useful for when the pod needs a feature only available to the host user namespace, such as loading a kernel module with CAP_SYS_MODULE. When set to false, a new userns is created for the pod. Setting false is useful for mitigating container breakout vulnerabilities even allowing users to run their containers as root without actually having root privileges on the host.", Type: []string{"boolean"}, Format: "", }, @@ -23865,8 +23713,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PodSchedulingGate{}.OpenAPIModelName()), + Ref: ref(corev1.PodSchedulingGate{}.OpenAPIModelName()), }, }, }, @@ -23889,8 +23736,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PodResourceClaim{}.OpenAPIModelName()), + Ref: ref(corev1.PodResourceClaim{}.OpenAPIModelName()), }, }, }, @@ -23909,10 +23755,10 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Format: "", }, }, - "workloadRef": { + "schedulingGroup": { SchemaProps: spec.SchemaProps{ - Description: "WorkloadRef provides a reference to the Workload object that this Pod belongs to. This field is used by the scheduler to identify the PodGroup and apply the correct group scheduling policies. The Workload object referenced by this field may not exist at the time the Pod is created. This field is immutable, but a Workload object with the same name may be recreated with different policies. Doing this during pod scheduling may result in the placement not conforming to the expected policies.", - Ref: ref(corev1.WorkloadReference{}.OpenAPIModelName()), + Description: "SchedulingGroup provides a reference to the immediate scheduling runtime grouping object that this Pod belongs to. This field is used by the scheduler to identify the group and apply the correct group scheduling policies. The association with a group also impacts other lifecycle aspects of a Pod that are relevant in a wider context of scheduling like preemption, resource attachment, etc. If not specified, the Pod is treated as a single unit in all of these aspects. The group object referenced by this field may not exist at the time the Pod is created. This field is immutable, but a group object with the same name may be recreated with different policies. Doing this during pod scheduling may result in the placement not conforming to the expected policies.", + Ref: ref(corev1.PodSchedulingGroup{}.OpenAPIModelName()), }, }, }, @@ -23920,7 +23766,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA }, }, Dependencies: []string{ - corev1.Affinity{}.OpenAPIModelName(), corev1.Container{}.OpenAPIModelName(), corev1.EphemeralContainer{}.OpenAPIModelName(), corev1.HostAlias{}.OpenAPIModelName(), corev1.LocalObjectReference{}.OpenAPIModelName(), corev1.PodDNSConfig{}.OpenAPIModelName(), corev1.PodOS{}.OpenAPIModelName(), corev1.PodReadinessGate{}.OpenAPIModelName(), corev1.PodResourceClaim{}.OpenAPIModelName(), corev1.PodSchedulingGate{}.OpenAPIModelName(), corev1.PodSecurityContext{}.OpenAPIModelName(), corev1.ResourceRequirements{}.OpenAPIModelName(), corev1.Toleration{}.OpenAPIModelName(), corev1.TopologySpreadConstraint{}.OpenAPIModelName(), corev1.Volume{}.OpenAPIModelName(), corev1.WorkloadReference{}.OpenAPIModelName(), resource.Quantity{}.OpenAPIModelName()}, + corev1.Affinity{}.OpenAPIModelName(), corev1.Container{}.OpenAPIModelName(), corev1.EphemeralContainer{}.OpenAPIModelName(), corev1.HostAlias{}.OpenAPIModelName(), corev1.LocalObjectReference{}.OpenAPIModelName(), corev1.PodDNSConfig{}.OpenAPIModelName(), corev1.PodOS{}.OpenAPIModelName(), corev1.PodReadinessGate{}.OpenAPIModelName(), corev1.PodResourceClaim{}.OpenAPIModelName(), corev1.PodSchedulingGate{}.OpenAPIModelName(), corev1.PodSchedulingGroup{}.OpenAPIModelName(), corev1.PodSecurityContext{}.OpenAPIModelName(), corev1.ResourceRequirements{}.OpenAPIModelName(), corev1.Toleration{}.OpenAPIModelName(), corev1.TopologySpreadConstraint{}.OpenAPIModelName(), corev1.Volume{}.OpenAPIModelName(), resource.Quantity{}.OpenAPIModelName()}, } } @@ -23963,8 +23809,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PodCondition{}.OpenAPIModelName()), + Ref: ref(corev1.PodCondition{}.OpenAPIModelName()), }, }, }, @@ -24012,8 +23857,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.HostIP{}.OpenAPIModelName()), + Ref: ref(corev1.HostIP{}.OpenAPIModelName()), }, }, }, @@ -24043,8 +23887,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PodIP{}.OpenAPIModelName()), + Ref: ref(corev1.PodIP{}.OpenAPIModelName()), }, }, }, @@ -24068,8 +23911,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerStatus{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerStatus{}.OpenAPIModelName()), }, }, }, @@ -24087,8 +23929,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerStatus{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerStatus{}.OpenAPIModelName()), }, }, }, @@ -24114,8 +23955,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerStatus{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerStatus{}.OpenAPIModelName()), }, }, }, @@ -24145,8 +23985,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PodResourceClaimStatus{}.OpenAPIModelName()), + Ref: ref(corev1.PodResourceClaimStatus{}.OpenAPIModelName()), }, }, }, @@ -24178,11 +24017,29 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Ref: ref(corev1.ResourceRequirements{}.OpenAPIModelName()), }, }, + "nodeAllocatableResourceClaimStatuses": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, + SchemaProps: spec.SchemaProps{ + Description: "NodeAllocatableResourceClaimStatuses contains the status of node-allocatable resources that were allocated for this pod through DRA claims. This includes resources currently reported in v1.Node `status.allocatable` that are not extended resources (see https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#extended-resources). Examples include \"cpu\", \"memory\", \"ephemeral-storage\", and hugepages.", + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Ref: ref(corev1.NodeAllocatableResourceClaimStatus{}.OpenAPIModelName()), + }, + }, + }, + }, + }, }, }, }, Dependencies: []string{ - corev1.ContainerStatus{}.OpenAPIModelName(), corev1.HostIP{}.OpenAPIModelName(), corev1.PodCondition{}.OpenAPIModelName(), corev1.PodExtendedResourceClaimStatus{}.OpenAPIModelName(), corev1.PodIP{}.OpenAPIModelName(), corev1.PodResourceClaimStatus{}.OpenAPIModelName(), corev1.ResourceRequirements{}.OpenAPIModelName(), resource.Quantity{}.OpenAPIModelName(), metav1.Time{}.OpenAPIModelName()}, + corev1.ContainerStatus{}.OpenAPIModelName(), corev1.HostIP{}.OpenAPIModelName(), corev1.NodeAllocatableResourceClaimStatus{}.OpenAPIModelName(), corev1.PodCondition{}.OpenAPIModelName(), corev1.PodExtendedResourceClaimStatus{}.OpenAPIModelName(), corev1.PodIP{}.OpenAPIModelName(), corev1.PodResourceClaimStatus{}.OpenAPIModelName(), corev1.ResourceRequirements{}.OpenAPIModelName(), resource.Quantity{}.OpenAPIModelName(), metav1.Time{}.OpenAPIModelName()}, } } @@ -24307,8 +24164,7 @@ func schema_k8sio_api_core_v1_PodTemplateList(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PodTemplate{}.OpenAPIModelName()), + Ref: ref(corev1.PodTemplate{}.OpenAPIModelName()), }, }, }, @@ -24639,8 +24495,7 @@ func schema_k8sio_api_core_v1_ProjectedVolumeSource(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.VolumeProjection{}.OpenAPIModelName()), + Ref: ref(corev1.VolumeProjection{}.OpenAPIModelName()), }, }, }, @@ -24738,9 +24593,8 @@ func schema_k8sio_api_core_v1_RBDPersistentVolumeSource(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -24826,9 +24680,8 @@ func schema_k8sio_api_core_v1_RBDVolumeSource(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -25084,8 +24937,7 @@ func schema_k8sio_api_core_v1_ReplicationControllerList(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ReplicationController{}.OpenAPIModelName()), + Ref: ref(corev1.ReplicationController{}.OpenAPIModelName()), }, }, }, @@ -25136,9 +24988,8 @@ func schema_k8sio_api_core_v1_ReplicationControllerSpec(ref common.ReferenceCall Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -25218,8 +25069,7 @@ func schema_k8sio_api_core_v1_ReplicationControllerStatus(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ReplicationControllerCondition{}.OpenAPIModelName()), + Ref: ref(corev1.ReplicationControllerCondition{}.OpenAPIModelName()), }, }, }, @@ -25327,6 +25177,13 @@ func schema_k8sio_api_core_v1_ResourceHealth(ref common.ReferenceCallback) commo Format: "", }, }, + "message": { + SchemaProps: spec.SchemaProps{ + Description: "Message provides human-readable context for Health (e.g. \"ECC error count exceeded threshold\"). This field is populated by the kubelet when ResourceHealthStatusMessage is enabled if the DRA plugin returns a message, and is null otherwise.", + Type: []string{"string"}, + Format: "", + }, + }, }, Required: []string{"resourceID"}, }, @@ -25419,8 +25276,7 @@ func schema_k8sio_api_core_v1_ResourceQuotaList(ref common.ReferenceCallback) co Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ResourceQuota{}.OpenAPIModelName()), + Ref: ref(corev1.ResourceQuota{}.OpenAPIModelName()), }, }, }, @@ -25468,10 +25324,9 @@ func schema_k8sio_api_core_v1_ResourceQuotaSpec(ref common.ReferenceCallback) co Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", - Enum: []interface{}{"BestEffort", "CrossNamespacePodAffinity", "NotBestEffort", "NotTerminating", "PriorityClass", "Terminating", "VolumeAttributesClass"}, + Type: []string{"string"}, + Format: "", + Enum: []interface{}{"BestEffort", "CrossNamespacePodAffinity", "NotBestEffort", "NotTerminating", "PriorityClass", "Terminating", "VolumeAttributesClass"}, }, }, }, @@ -25584,8 +25439,7 @@ func schema_k8sio_api_core_v1_ResourceRequirements(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ResourceClaim{}.OpenAPIModelName()), + Ref: ref(corev1.ResourceClaim{}.OpenAPIModelName()), }, }, }, @@ -25629,8 +25483,7 @@ func schema_k8sio_api_core_v1_ResourceStatus(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ResourceHealth{}.OpenAPIModelName()), + Ref: ref(corev1.ResourceHealth{}.OpenAPIModelName()), }, }, }, @@ -25883,8 +25736,7 @@ func schema_k8sio_api_core_v1_ScopeSelector(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ScopedResourceSelectorRequirement{}.OpenAPIModelName()), + Ref: ref(corev1.ScopedResourceSelectorRequirement{}.OpenAPIModelName()), }, }, }, @@ -25940,9 +25792,8 @@ func schema_k8sio_api_core_v1_ScopedResourceSelectorRequirement(ref common.Refer Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -26055,9 +25906,8 @@ func schema_k8sio_api_core_v1_Secret(ref common.ReferenceCallback) common.OpenAP Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -26183,8 +26033,7 @@ func schema_k8sio_api_core_v1_SecretList(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Secret{}.OpenAPIModelName()), + Ref: ref(corev1.Secret{}.OpenAPIModelName()), }, }, }, @@ -26226,8 +26075,7 @@ func schema_k8sio_api_core_v1_SecretProjection(ref common.ReferenceCallback) com Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.KeyToPath{}.OpenAPIModelName()), + Ref: ref(corev1.KeyToPath{}.OpenAPIModelName()), }, }, }, @@ -26306,8 +26154,7 @@ func schema_k8sio_api_core_v1_SecretVolumeSource(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.KeyToPath{}.OpenAPIModelName()), + Ref: ref(corev1.KeyToPath{}.OpenAPIModelName()), }, }, }, @@ -26404,7 +26251,7 @@ func schema_k8sio_api_core_v1_SecurityContext(ref common.ReferenceCallback) comm }, "procMount": { SchemaProps: spec.SchemaProps{ - Description: "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.\n\nPossible enum values:\n - `\"Default\"` uses the container runtime defaults for readonly and masked paths for /proc. Most container runtimes mask certain paths in /proc to avoid accidental security exposure of special devices or information.\n - `\"Unmasked\"` bypasses the default masking behavior of the container runtime and ensures the newly created /proc the container stays in tact with no modifications.", + Description: "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. Note that this field cannot be set when spec.os.name is windows.\n\nPossible enum values:\n - `\"Default\"` uses the container runtime defaults for readonly and masked paths for /proc. Most container runtimes mask certain paths in /proc to avoid accidental security exposure of special devices or information.\n - `\"Unmasked\"` bypasses the default masking behavior of the container runtime and ensures the newly created /proc the container stays in tact with no modifications.", Type: []string{"string"}, Format: "", Enum: []interface{}{"Default", "Unmasked"}, @@ -26561,8 +26408,7 @@ func schema_k8sio_api_core_v1_ServiceAccount(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ObjectReference{}.OpenAPIModelName()), + Ref: ref(corev1.ObjectReference{}.OpenAPIModelName()), }, }, }, @@ -26580,8 +26426,7 @@ func schema_k8sio_api_core_v1_ServiceAccount(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.LocalObjectReference{}.OpenAPIModelName()), + Ref: ref(corev1.LocalObjectReference{}.OpenAPIModelName()), }, }, }, @@ -26637,8 +26482,7 @@ func schema_k8sio_api_core_v1_ServiceAccountList(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ServiceAccount{}.OpenAPIModelName()), + Ref: ref(corev1.ServiceAccount{}.OpenAPIModelName()), }, }, }, @@ -26724,8 +26568,7 @@ func schema_k8sio_api_core_v1_ServiceList(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Service{}.OpenAPIModelName()), + Ref: ref(corev1.Service{}.OpenAPIModelName()), }, }, }, @@ -26859,8 +26702,7 @@ func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ServicePort{}.OpenAPIModelName()), + Ref: ref(corev1.ServicePort{}.OpenAPIModelName()), }, }, }, @@ -26879,9 +26721,8 @@ func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.O Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -26906,9 +26747,8 @@ func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -26934,9 +26774,8 @@ func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -26969,9 +26808,8 @@ func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -27024,10 +26862,9 @@ func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", - Enum: []interface{}{"", "IPv4", "IPv6"}, + Type: []string{"string"}, + Format: "", + Enum: []interface{}{"", "IPv4", "IPv6"}, }, }, }, @@ -27109,8 +26946,7 @@ func schema_k8sio_api_core_v1_ServiceStatus(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.Condition{}.OpenAPIModelName()), + Ref: ref(metav1.Condition{}.OpenAPIModelName()), }, }, }, @@ -27447,9 +27283,8 @@ func schema_k8sio_api_core_v1_TopologySelectorLabelRequirement(ref common.Refere Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -27481,8 +27316,7 @@ func schema_k8sio_api_core_v1_TopologySelectorTerm(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.TopologySelectorLabelRequirement{}.OpenAPIModelName()), + Ref: ref(corev1.TopologySelectorLabelRequirement{}.OpenAPIModelName()), }, }, }, @@ -27574,9 +27408,8 @@ func schema_k8sio_api_core_v1_TopologySpreadConstraint(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -27838,7 +27671,7 @@ func schema_k8sio_api_core_v1_Volume(ref common.ReferenceCallback) common.OpenAP }, "portworxVolume": { SchemaProps: spec.SchemaProps{ - Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on.", + Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver.", Ref: ref(corev1.PortworxVolumeSource{}.OpenAPIModelName()), }, }, @@ -27868,7 +27701,7 @@ func schema_k8sio_api_core_v1_Volume(ref common.ReferenceCallback) common.OpenAP }, "image": { SchemaProps: spec.SchemaProps{ - Description: "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33. The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.", + Description: "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33. The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.", Ref: ref(corev1.ImageVolumeSource{}.OpenAPIModelName()), }, }, @@ -28014,10 +27847,18 @@ func schema_k8sio_api_core_v1_VolumeMountStatus(ref common.ReferenceCallback) co Format: "", }, }, + "volumeStatus": { + SchemaProps: spec.SchemaProps{ + Description: "volumeStatus represents volume-type-specific status about the mounted volume.", + Ref: ref(corev1.VolumeStatus{}.OpenAPIModelName()), + }, + }, }, Required: []string{"name", "mountPath"}, }, }, + Dependencies: []string{ + corev1.VolumeStatus{}.OpenAPIModelName()}, } } @@ -28289,7 +28130,7 @@ func schema_k8sio_api_core_v1_VolumeSource(ref common.ReferenceCallback) common. }, "portworxVolume": { SchemaProps: spec.SchemaProps{ - Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on.", + Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver.", Ref: ref(corev1.PortworxVolumeSource{}.OpenAPIModelName()), }, }, @@ -28319,7 +28160,7 @@ func schema_k8sio_api_core_v1_VolumeSource(ref common.ReferenceCallback) common. }, "image": { SchemaProps: spec.SchemaProps{ - Description: "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33. The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.", + Description: "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33. The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.", Ref: ref(corev1.ImageVolumeSource{}.OpenAPIModelName()), }, }, @@ -28331,6 +28172,27 @@ func schema_k8sio_api_core_v1_VolumeSource(ref common.ReferenceCallback) common. } } +func schema_k8sio_api_core_v1_VolumeStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "VolumeStatus represents the status of a mounted volume. At most one of its members must be specified.", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "image": { + SchemaProps: spec.SchemaProps{ + Description: "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.", + Ref: ref(corev1.ImageVolumeStatus{}.OpenAPIModelName()), + }, + }, + }, + }, + }, + Dependencies: []string{ + corev1.ImageVolumeStatus{}.OpenAPIModelName()}, + } +} + func schema_k8sio_api_core_v1_VsphereVirtualDiskVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ @@ -28446,43 +28308,6 @@ func schema_k8sio_api_core_v1_WindowsSecurityContextOptions(ref common.Reference } } -func schema_k8sio_api_core_v1_WorkloadReference(ref common.ReferenceCallback) common.OpenAPIDefinition { - return common.OpenAPIDefinition{ - Schema: spec.Schema{ - SchemaProps: spec.SchemaProps{ - Description: "WorkloadReference identifies the Workload object and PodGroup membership that a Pod belongs to. The scheduler uses this information to apply workload-aware scheduling semantics.", - Type: []string{"object"}, - Properties: map[string]spec.Schema{ - "name": { - SchemaProps: spec.SchemaProps{ - Description: "Name defines the name of the Workload object this Pod belongs to. Workload must be in the same namespace as the Pod. If it doesn't match any existing Workload, the Pod will remain unschedulable until a Workload object is created and observed by the kube-scheduler. It must be a DNS subdomain.", - Default: "", - Type: []string{"string"}, - Format: "", - }, - }, - "podGroup": { - SchemaProps: spec.SchemaProps{ - Description: "PodGroup is the name of the PodGroup within the Workload that this Pod belongs to. If it doesn't match any existing PodGroup within the Workload, the Pod will remain unschedulable until the Workload object is recreated and observed by the kube-scheduler. It must be a DNS label.", - Default: "", - Type: []string{"string"}, - Format: "", - }, - }, - "podGroupReplicaKey": { - SchemaProps: spec.SchemaProps{ - Description: "PodGroupReplicaKey specifies the replica key of the PodGroup to which this Pod belongs. It is used to distinguish pods belonging to different replicas of the same pod group. The pod group policy is applied separately to each replica. When set, it must be a DNS label.", - Type: []string{"string"}, - Format: "", - }, - }, - }, - Required: []string{"name", "podGroup"}, - }, - }, - } -} - func schema_apimachinery_pkg_api_resource_Quantity(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.EmbedOpenAPIDefinitionIntoV2Extension(common.OpenAPIDefinition{ Schema: spec.Schema{ @@ -28572,8 +28397,7 @@ func schema_pkg_apis_meta_v1_APIGroup(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.GroupVersionForDiscovery{}.OpenAPIModelName()), + Ref: ref(metav1.GroupVersionForDiscovery{}.OpenAPIModelName()), }, }, }, @@ -28598,8 +28422,7 @@ func schema_pkg_apis_meta_v1_APIGroup(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.ServerAddressByClientCIDR{}.OpenAPIModelName()), + Ref: ref(metav1.ServerAddressByClientCIDR{}.OpenAPIModelName()), }, }, }, @@ -28647,8 +28470,7 @@ func schema_pkg_apis_meta_v1_APIGroupList(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.APIGroup{}.OpenAPIModelName()), + Ref: ref(metav1.APIGroup{}.OpenAPIModelName()), }, }, }, @@ -28723,9 +28545,8 @@ func schema_pkg_apis_meta_v1_APIResource(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -28743,9 +28564,8 @@ func schema_pkg_apis_meta_v1_APIResource(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -28763,9 +28583,8 @@ func schema_pkg_apis_meta_v1_APIResource(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -28826,8 +28645,7 @@ func schema_pkg_apis_meta_v1_APIResourceList(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.APIResource{}.OpenAPIModelName()), + Ref: ref(metav1.APIResource{}.OpenAPIModelName()), }, }, }, @@ -28875,9 +28693,8 @@ func schema_pkg_apis_meta_v1_APIVersions(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -28895,8 +28712,7 @@ func schema_pkg_apis_meta_v1_APIVersions(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.ServerAddressByClientCIDR{}.OpenAPIModelName()), + Ref: ref(metav1.ServerAddressByClientCIDR{}.OpenAPIModelName()), }, }, }, @@ -28944,9 +28760,8 @@ func schema_pkg_apis_meta_v1_ApplyOptions(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -29069,9 +28884,8 @@ func schema_pkg_apis_meta_v1_CreateOptions(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -29157,9 +28971,8 @@ func schema_pkg_apis_meta_v1_DeleteOptions(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -29227,9 +29040,8 @@ func schema_pkg_apis_meta_v1_FieldSelectorRequirement(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -29512,9 +29324,8 @@ func schema_pkg_apis_meta_v1_LabelSelector(ref common.ReferenceCallback) common. Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -29532,8 +29343,7 @@ func schema_pkg_apis_meta_v1_LabelSelector(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.LabelSelectorRequirement{}.OpenAPIModelName()), + Ref: ref(metav1.LabelSelectorRequirement{}.OpenAPIModelName()), }, }, }, @@ -29587,9 +29397,8 @@ func schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -29687,9 +29496,17 @@ func schema_pkg_apis_meta_v1_ListMeta(ref common.ReferenceCallback) common.OpenA Format: "int64", }, }, + "shardInfo": { + SchemaProps: spec.SchemaProps{ + Description: "shardInfo is set when the list is a filtered subset of the full collection, as selected by a shard selector on the request. It echoes back the selector so clients can verify which shard they received and merge sharded responses. Clients should not cache sharded list responses as a full representation of the collection.\n\nThis is an alpha field and requires enabling the ShardedListAndWatch feature gate.", + Ref: ref(metav1.ShardInfo{}.OpenAPIModelName()), + }, + }, }, }, }, + Dependencies: []string{ + metav1.ShardInfo{}.OpenAPIModelName()}, } } @@ -29784,6 +29601,13 @@ func schema_pkg_apis_meta_v1_ListOptions(ref common.ReferenceCallback) common.Op Format: "", }, }, + "shardSelector": { + SchemaProps: spec.SchemaProps{ + Description: "shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges:\n\n shardRange(object.metadata.uid, '0x0', '0x8000000000000000')\n shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000')\n\nField paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths:\n - object.metadata.uid\n - object.metadata.namespace\n\nhexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64.\n\nExamples:\n 2-shard split:\n shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000')\n shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000')\n 4-shard split:\n shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000')\n shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000')\n shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000')\n shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000')\n\nThis is an alpha field and requires enabling the ShardedListAndWatch feature gate.", + Type: []string{"string"}, + Format: "", + }, + }, }, }, }, @@ -29947,9 +29771,8 @@ func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.Ope Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -29963,9 +29786,8 @@ func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.Ope Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -29988,8 +29810,7 @@ func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.OwnerReference{}.OpenAPIModelName()), + Ref: ref(metav1.OwnerReference{}.OpenAPIModelName()), }, }, }, @@ -30008,9 +29829,8 @@ func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -30028,8 +29848,7 @@ func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.ManagedFieldsEntry{}.OpenAPIModelName()), + Ref: ref(metav1.ManagedFieldsEntry{}.OpenAPIModelName()), }, }, }, @@ -30179,8 +29998,7 @@ func schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.PartialObjectMetadata{}.OpenAPIModelName()), + Ref: ref(metav1.PartialObjectMetadata{}.OpenAPIModelName()), }, }, }, @@ -30239,9 +30057,8 @@ func schema_pkg_apis_meta_v1_PatchOptions(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -30320,9 +30137,8 @@ func schema_pkg_apis_meta_v1_RootPaths(ref common.ReferenceCallback) common.Open Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -30365,6 +30181,28 @@ func schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref common.ReferenceCallb } } +func schema_pkg_apis_meta_v1_ShardInfo(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "ShardInfo describes the shard selector that was applied to produce a list response. Its presence on a list response indicates the list is a filtered subset.", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "selector": { + SchemaProps: spec.SchemaProps{ + Description: "selector is the shard selector string from the request, echoed back so clients can verify which shard they received and merge responses from multiple shards.", + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + Required: []string{"selector"}, + }, + }, + } +} + func schema_pkg_apis_meta_v1_Status(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ @@ -30516,8 +30354,7 @@ func schema_pkg_apis_meta_v1_StatusDetails(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.StatusCause{}.OpenAPIModelName()), + Ref: ref(metav1.StatusCause{}.OpenAPIModelName()), }, }, }, @@ -30578,8 +30415,7 @@ func schema_pkg_apis_meta_v1_Table(ref common.ReferenceCallback) common.OpenAPID Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.TableColumnDefinition{}.OpenAPIModelName()), + Ref: ref(metav1.TableColumnDefinition{}.OpenAPIModelName()), }, }, }, @@ -30597,8 +30433,7 @@ func schema_pkg_apis_meta_v1_Table(ref common.ReferenceCallback) common.OpenAPID Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.TableRow{}.OpenAPIModelName()), + Ref: ref(metav1.TableRow{}.OpenAPIModelName()), }, }, }, @@ -30739,8 +30574,7 @@ func schema_pkg_apis_meta_v1_TableRow(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.TableRowCondition{}.OpenAPIModelName()), + Ref: ref(metav1.TableRowCondition{}.OpenAPIModelName()), }, }, }, @@ -30907,9 +30741,8 @@ func schema_pkg_apis_meta_v1_UpdateOptions(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, diff --git a/api/zz_generated.openapi.go b/api/zz_generated.openapi.go index a277de0fd..12ae1d1e3 100644 --- a/api/zz_generated.openapi.go +++ b/api/zz_generated.openapi.go @@ -20,304 +20,308 @@ import ( func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition { return map[string]common.OpenAPIDefinition{ - v1.Condition{}.OpenAPIModelName(): schema_gpustackai_gpustack_api_v1_Condition(ref), - v1.Setting{}.OpenAPIModelName(): schema_gpustackai_gpustack_api_v1_Setting(ref), - v1.SettingList{}.OpenAPIModelName(): schema_gpustackai_gpustack_api_v1_SettingList(ref), - v1.SettingSpec{}.OpenAPIModelName(): schema_gpustackai_gpustack_api_v1_SettingSpec(ref), - v1.SettingStatus{}.OpenAPIModelName(): schema_gpustackai_gpustack_api_v1_SettingStatus(ref), - v1.Status{}.OpenAPIModelName(): schema_gpustackai_gpustack_api_v1_Status(ref), - corev1.AWSElasticBlockStoreVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_AWSElasticBlockStoreVolumeSource(ref), - corev1.Affinity{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Affinity(ref), - corev1.AppArmorProfile{}.OpenAPIModelName(): schema_k8sio_api_core_v1_AppArmorProfile(ref), - corev1.AttachedVolume{}.OpenAPIModelName(): schema_k8sio_api_core_v1_AttachedVolume(ref), - corev1.AvoidPods{}.OpenAPIModelName(): schema_k8sio_api_core_v1_AvoidPods(ref), - corev1.AzureDiskVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_AzureDiskVolumeSource(ref), - corev1.AzureFilePersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_AzureFilePersistentVolumeSource(ref), - corev1.AzureFileVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_AzureFileVolumeSource(ref), - corev1.Binding{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Binding(ref), - corev1.CSIPersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_CSIPersistentVolumeSource(ref), - corev1.CSIVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_CSIVolumeSource(ref), - corev1.Capabilities{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Capabilities(ref), - corev1.CephFSPersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_CephFSPersistentVolumeSource(ref), - corev1.CephFSVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_CephFSVolumeSource(ref), - corev1.CinderPersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_CinderPersistentVolumeSource(ref), - corev1.CinderVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_CinderVolumeSource(ref), - corev1.ClientIPConfig{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ClientIPConfig(ref), - corev1.ClusterTrustBundleProjection{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ClusterTrustBundleProjection(ref), - corev1.ComponentCondition{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ComponentCondition(ref), - corev1.ComponentStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ComponentStatus(ref), - corev1.ComponentStatusList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ComponentStatusList(ref), - corev1.ConfigMap{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ConfigMap(ref), - corev1.ConfigMapEnvSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ConfigMapEnvSource(ref), - corev1.ConfigMapKeySelector{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ConfigMapKeySelector(ref), - corev1.ConfigMapList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ConfigMapList(ref), - corev1.ConfigMapNodeConfigSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ConfigMapNodeConfigSource(ref), - corev1.ConfigMapProjection{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ConfigMapProjection(ref), - corev1.ConfigMapVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ConfigMapVolumeSource(ref), - corev1.Container{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Container(ref), - corev1.ContainerExtendedResourceRequest{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerExtendedResourceRequest(ref), - corev1.ContainerImage{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerImage(ref), - corev1.ContainerPort{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerPort(ref), - corev1.ContainerResizePolicy{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerResizePolicy(ref), - corev1.ContainerRestartRule{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerRestartRule(ref), - corev1.ContainerRestartRuleOnExitCodes{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerRestartRuleOnExitCodes(ref), - corev1.ContainerState{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerState(ref), - corev1.ContainerStateRunning{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerStateRunning(ref), - corev1.ContainerStateTerminated{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerStateTerminated(ref), - corev1.ContainerStateWaiting{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerStateWaiting(ref), - corev1.ContainerStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerStatus(ref), - corev1.ContainerUser{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerUser(ref), - corev1.DaemonEndpoint{}.OpenAPIModelName(): schema_k8sio_api_core_v1_DaemonEndpoint(ref), - corev1.DownwardAPIProjection{}.OpenAPIModelName(): schema_k8sio_api_core_v1_DownwardAPIProjection(ref), - corev1.DownwardAPIVolumeFile{}.OpenAPIModelName(): schema_k8sio_api_core_v1_DownwardAPIVolumeFile(ref), - corev1.DownwardAPIVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_DownwardAPIVolumeSource(ref), - corev1.EmptyDirVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EmptyDirVolumeSource(ref), - corev1.EndpointAddress{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EndpointAddress(ref), - corev1.EndpointPort{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EndpointPort(ref), - corev1.EndpointSubset{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EndpointSubset(ref), - corev1.Endpoints{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Endpoints(ref), - corev1.EndpointsList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EndpointsList(ref), - corev1.EnvFromSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EnvFromSource(ref), - corev1.EnvVar{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EnvVar(ref), - corev1.EnvVarSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EnvVarSource(ref), - corev1.EphemeralContainer{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EphemeralContainer(ref), - corev1.EphemeralContainerCommon{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EphemeralContainerCommon(ref), - corev1.EphemeralVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EphemeralVolumeSource(ref), - corev1.Event{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Event(ref), - corev1.EventList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EventList(ref), - corev1.EventSeries{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EventSeries(ref), - corev1.EventSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EventSource(ref), - corev1.ExecAction{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ExecAction(ref), - corev1.FCVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_FCVolumeSource(ref), - corev1.FileKeySelector{}.OpenAPIModelName(): schema_k8sio_api_core_v1_FileKeySelector(ref), - corev1.FlexPersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_FlexPersistentVolumeSource(ref), - corev1.FlexVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_FlexVolumeSource(ref), - corev1.FlockerVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_FlockerVolumeSource(ref), - corev1.GCEPersistentDiskVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_GCEPersistentDiskVolumeSource(ref), - corev1.GRPCAction{}.OpenAPIModelName(): schema_k8sio_api_core_v1_GRPCAction(ref), - corev1.GitRepoVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_GitRepoVolumeSource(ref), - corev1.GlusterfsPersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_GlusterfsPersistentVolumeSource(ref), - corev1.GlusterfsVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_GlusterfsVolumeSource(ref), - corev1.HTTPGetAction{}.OpenAPIModelName(): schema_k8sio_api_core_v1_HTTPGetAction(ref), - corev1.HTTPHeader{}.OpenAPIModelName(): schema_k8sio_api_core_v1_HTTPHeader(ref), - corev1.HostAlias{}.OpenAPIModelName(): schema_k8sio_api_core_v1_HostAlias(ref), - corev1.HostIP{}.OpenAPIModelName(): schema_k8sio_api_core_v1_HostIP(ref), - corev1.HostPathVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_HostPathVolumeSource(ref), - corev1.ISCSIPersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ISCSIPersistentVolumeSource(ref), - corev1.ISCSIVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ISCSIVolumeSource(ref), - corev1.ImageVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ImageVolumeSource(ref), - corev1.KeyToPath{}.OpenAPIModelName(): schema_k8sio_api_core_v1_KeyToPath(ref), - corev1.Lifecycle{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Lifecycle(ref), - corev1.LifecycleHandler{}.OpenAPIModelName(): schema_k8sio_api_core_v1_LifecycleHandler(ref), - corev1.LimitRange{}.OpenAPIModelName(): schema_k8sio_api_core_v1_LimitRange(ref), - corev1.LimitRangeItem{}.OpenAPIModelName(): schema_k8sio_api_core_v1_LimitRangeItem(ref), - corev1.LimitRangeList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_LimitRangeList(ref), - corev1.LimitRangeSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_LimitRangeSpec(ref), - corev1.LinuxContainerUser{}.OpenAPIModelName(): schema_k8sio_api_core_v1_LinuxContainerUser(ref), - corev1.List{}.OpenAPIModelName(): schema_k8sio_api_core_v1_List(ref), - corev1.LoadBalancerIngress{}.OpenAPIModelName(): schema_k8sio_api_core_v1_LoadBalancerIngress(ref), - corev1.LoadBalancerStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_LoadBalancerStatus(ref), - corev1.LocalObjectReference{}.OpenAPIModelName(): schema_k8sio_api_core_v1_LocalObjectReference(ref), - corev1.LocalVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_LocalVolumeSource(ref), - corev1.ModifyVolumeStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ModifyVolumeStatus(ref), - corev1.NFSVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NFSVolumeSource(ref), - corev1.Namespace{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Namespace(ref), - corev1.NamespaceCondition{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NamespaceCondition(ref), - corev1.NamespaceList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NamespaceList(ref), - corev1.NamespaceSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NamespaceSpec(ref), - corev1.NamespaceStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NamespaceStatus(ref), - corev1.Node{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Node(ref), - corev1.NodeAddress{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeAddress(ref), - corev1.NodeAffinity{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeAffinity(ref), - corev1.NodeCondition{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeCondition(ref), - corev1.NodeConfigSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeConfigSource(ref), - corev1.NodeConfigStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeConfigStatus(ref), - corev1.NodeDaemonEndpoints{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeDaemonEndpoints(ref), - corev1.NodeFeatures{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeFeatures(ref), - corev1.NodeList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeList(ref), - corev1.NodeProxyOptions{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeProxyOptions(ref), - corev1.NodeRuntimeHandler{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeRuntimeHandler(ref), - corev1.NodeRuntimeHandlerFeatures{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeRuntimeHandlerFeatures(ref), - corev1.NodeSelector{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeSelector(ref), - corev1.NodeSelectorRequirement{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeSelectorRequirement(ref), - corev1.NodeSelectorTerm{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeSelectorTerm(ref), - corev1.NodeSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeSpec(ref), - corev1.NodeStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeStatus(ref), - corev1.NodeSwapStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeSwapStatus(ref), - corev1.NodeSystemInfo{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeSystemInfo(ref), - corev1.ObjectFieldSelector{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ObjectFieldSelector(ref), - corev1.ObjectReference{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ObjectReference(ref), - corev1.PersistentVolume{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolume(ref), - corev1.PersistentVolumeClaim{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolumeClaim(ref), - corev1.PersistentVolumeClaimCondition{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolumeClaimCondition(ref), - corev1.PersistentVolumeClaimList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolumeClaimList(ref), - corev1.PersistentVolumeClaimSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolumeClaimSpec(ref), - corev1.PersistentVolumeClaimStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref), - corev1.PersistentVolumeClaimTemplate{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolumeClaimTemplate(ref), - corev1.PersistentVolumeClaimVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolumeClaimVolumeSource(ref), - corev1.PersistentVolumeList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolumeList(ref), - corev1.PersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolumeSource(ref), - corev1.PersistentVolumeSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolumeSpec(ref), - corev1.PersistentVolumeStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolumeStatus(ref), - corev1.PhotonPersistentDiskVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PhotonPersistentDiskVolumeSource(ref), - corev1.Pod{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Pod(ref), - corev1.PodAffinity{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodAffinity(ref), - corev1.PodAffinityTerm{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodAffinityTerm(ref), - corev1.PodAntiAffinity{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodAntiAffinity(ref), - corev1.PodAttachOptions{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodAttachOptions(ref), - corev1.PodCertificateProjection{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodCertificateProjection(ref), - corev1.PodCondition{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodCondition(ref), - corev1.PodDNSConfig{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodDNSConfig(ref), - corev1.PodDNSConfigOption{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodDNSConfigOption(ref), - corev1.PodExecOptions{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodExecOptions(ref), - corev1.PodExtendedResourceClaimStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodExtendedResourceClaimStatus(ref), - corev1.PodIP{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodIP(ref), - corev1.PodList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodList(ref), - corev1.PodLogOptions{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodLogOptions(ref), - corev1.PodOS{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodOS(ref), - corev1.PodPortForwardOptions{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodPortForwardOptions(ref), - corev1.PodProxyOptions{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodProxyOptions(ref), - corev1.PodReadinessGate{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodReadinessGate(ref), - corev1.PodResourceClaim{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodResourceClaim(ref), - corev1.PodResourceClaimStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodResourceClaimStatus(ref), - corev1.PodSchedulingGate{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodSchedulingGate(ref), - corev1.PodSecurityContext{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodSecurityContext(ref), - corev1.PodSignature{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodSignature(ref), - corev1.PodSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodSpec(ref), - corev1.PodStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodStatus(ref), - corev1.PodStatusResult{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodStatusResult(ref), - corev1.PodTemplate{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodTemplate(ref), - corev1.PodTemplateList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodTemplateList(ref), - corev1.PodTemplateSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodTemplateSpec(ref), - corev1.PortStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PortStatus(ref), - corev1.PortworxVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PortworxVolumeSource(ref), - corev1.PreferAvoidPodsEntry{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PreferAvoidPodsEntry(ref), - corev1.PreferredSchedulingTerm{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PreferredSchedulingTerm(ref), - corev1.Probe{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Probe(ref), - corev1.ProbeHandler{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ProbeHandler(ref), - corev1.ProjectedVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ProjectedVolumeSource(ref), - corev1.QuobyteVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_QuobyteVolumeSource(ref), - corev1.RBDPersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_RBDPersistentVolumeSource(ref), - corev1.RBDVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_RBDVolumeSource(ref), - corev1.RangeAllocation{}.OpenAPIModelName(): schema_k8sio_api_core_v1_RangeAllocation(ref), - corev1.ReplicationController{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ReplicationController(ref), - corev1.ReplicationControllerCondition{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ReplicationControllerCondition(ref), - corev1.ReplicationControllerList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ReplicationControllerList(ref), - corev1.ReplicationControllerSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ReplicationControllerSpec(ref), - corev1.ReplicationControllerStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ReplicationControllerStatus(ref), - corev1.ResourceClaim{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ResourceClaim(ref), - corev1.ResourceFieldSelector{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ResourceFieldSelector(ref), - corev1.ResourceHealth{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ResourceHealth(ref), - corev1.ResourceQuota{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ResourceQuota(ref), - corev1.ResourceQuotaList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ResourceQuotaList(ref), - corev1.ResourceQuotaSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ResourceQuotaSpec(ref), - corev1.ResourceQuotaStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ResourceQuotaStatus(ref), - corev1.ResourceRequirements{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ResourceRequirements(ref), - corev1.ResourceStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ResourceStatus(ref), - corev1.SELinuxOptions{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SELinuxOptions(ref), - corev1.ScaleIOPersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ScaleIOPersistentVolumeSource(ref), - corev1.ScaleIOVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ScaleIOVolumeSource(ref), - corev1.ScopeSelector{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ScopeSelector(ref), - corev1.ScopedResourceSelectorRequirement{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ScopedResourceSelectorRequirement(ref), - corev1.SeccompProfile{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SeccompProfile(ref), - corev1.Secret{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Secret(ref), - corev1.SecretEnvSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SecretEnvSource(ref), - corev1.SecretKeySelector{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SecretKeySelector(ref), - corev1.SecretList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SecretList(ref), - corev1.SecretProjection{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SecretProjection(ref), - corev1.SecretReference{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SecretReference(ref), - corev1.SecretVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SecretVolumeSource(ref), - corev1.SecurityContext{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SecurityContext(ref), - corev1.SerializedReference{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SerializedReference(ref), - corev1.Service{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Service(ref), - corev1.ServiceAccount{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ServiceAccount(ref), - corev1.ServiceAccountList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ServiceAccountList(ref), - corev1.ServiceAccountTokenProjection{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ServiceAccountTokenProjection(ref), - corev1.ServiceList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ServiceList(ref), - corev1.ServicePort{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ServicePort(ref), - corev1.ServiceProxyOptions{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ServiceProxyOptions(ref), - corev1.ServiceSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ServiceSpec(ref), - corev1.ServiceStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ServiceStatus(ref), - corev1.SessionAffinityConfig{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SessionAffinityConfig(ref), - corev1.SleepAction{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SleepAction(ref), - corev1.StorageOSPersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_StorageOSPersistentVolumeSource(ref), - corev1.StorageOSVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_StorageOSVolumeSource(ref), - corev1.Sysctl{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Sysctl(ref), - corev1.TCPSocketAction{}.OpenAPIModelName(): schema_k8sio_api_core_v1_TCPSocketAction(ref), - corev1.Taint{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Taint(ref), - corev1.Toleration{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Toleration(ref), - corev1.TopologySelectorLabelRequirement{}.OpenAPIModelName(): schema_k8sio_api_core_v1_TopologySelectorLabelRequirement(ref), - corev1.TopologySelectorTerm{}.OpenAPIModelName(): schema_k8sio_api_core_v1_TopologySelectorTerm(ref), - corev1.TopologySpreadConstraint{}.OpenAPIModelName(): schema_k8sio_api_core_v1_TopologySpreadConstraint(ref), - corev1.TypedLocalObjectReference{}.OpenAPIModelName(): schema_k8sio_api_core_v1_TypedLocalObjectReference(ref), - corev1.TypedObjectReference{}.OpenAPIModelName(): schema_k8sio_api_core_v1_TypedObjectReference(ref), - corev1.Volume{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Volume(ref), - corev1.VolumeDevice{}.OpenAPIModelName(): schema_k8sio_api_core_v1_VolumeDevice(ref), - corev1.VolumeMount{}.OpenAPIModelName(): schema_k8sio_api_core_v1_VolumeMount(ref), - corev1.VolumeMountStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_VolumeMountStatus(ref), - corev1.VolumeNodeAffinity{}.OpenAPIModelName(): schema_k8sio_api_core_v1_VolumeNodeAffinity(ref), - corev1.VolumeProjection{}.OpenAPIModelName(): schema_k8sio_api_core_v1_VolumeProjection(ref), - corev1.VolumeResourceRequirements{}.OpenAPIModelName(): schema_k8sio_api_core_v1_VolumeResourceRequirements(ref), - corev1.VolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_VolumeSource(ref), - corev1.VsphereVirtualDiskVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_VsphereVirtualDiskVolumeSource(ref), - corev1.WeightedPodAffinityTerm{}.OpenAPIModelName(): schema_k8sio_api_core_v1_WeightedPodAffinityTerm(ref), - corev1.WindowsSecurityContextOptions{}.OpenAPIModelName(): schema_k8sio_api_core_v1_WindowsSecurityContextOptions(ref), - corev1.WorkloadReference{}.OpenAPIModelName(): schema_k8sio_api_core_v1_WorkloadReference(ref), - resource.Quantity{}.OpenAPIModelName(): schema_apimachinery_pkg_api_resource_Quantity(ref), - metav1.APIGroup{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_APIGroup(ref), - metav1.APIGroupList{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_APIGroupList(ref), - metav1.APIResource{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_APIResource(ref), - metav1.APIResourceList{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_APIResourceList(ref), - metav1.APIVersions{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_APIVersions(ref), - metav1.ApplyOptions{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_ApplyOptions(ref), - metav1.Condition{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_Condition(ref), - metav1.CreateOptions{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_CreateOptions(ref), - metav1.DeleteOptions{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_DeleteOptions(ref), - metav1.Duration{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_Duration(ref), - metav1.FieldSelectorRequirement{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_FieldSelectorRequirement(ref), - metav1.FieldsV1{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_FieldsV1(ref), - metav1.GetOptions{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_GetOptions(ref), - metav1.GroupKind{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_GroupKind(ref), - metav1.GroupResource{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_GroupResource(ref), - metav1.GroupVersion{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_GroupVersion(ref), - metav1.GroupVersionForDiscovery{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref), - metav1.GroupVersionKind{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_GroupVersionKind(ref), - metav1.GroupVersionResource{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_GroupVersionResource(ref), - metav1.InternalEvent{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_InternalEvent(ref), - metav1.LabelSelector{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_LabelSelector(ref), - metav1.LabelSelectorRequirement{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref), - metav1.List{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_List(ref), - metav1.ListMeta{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_ListMeta(ref), - metav1.ListOptions{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_ListOptions(ref), - metav1.ManagedFieldsEntry{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_ManagedFieldsEntry(ref), - metav1.MicroTime{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_MicroTime(ref), - metav1.ObjectMeta{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_ObjectMeta(ref), - metav1.OwnerReference{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_OwnerReference(ref), - metav1.PartialObjectMetadata{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_PartialObjectMetadata(ref), - metav1.PartialObjectMetadataList{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref), - metav1.Patch{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_Patch(ref), - metav1.PatchOptions{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_PatchOptions(ref), - metav1.Preconditions{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_Preconditions(ref), - metav1.RootPaths{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_RootPaths(ref), - metav1.ServerAddressByClientCIDR{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref), - metav1.Status{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_Status(ref), - metav1.StatusCause{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_StatusCause(ref), - metav1.StatusDetails{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_StatusDetails(ref), - metav1.Table{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_Table(ref), - metav1.TableColumnDefinition{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_TableColumnDefinition(ref), - metav1.TableOptions{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_TableOptions(ref), - metav1.TableRow{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_TableRow(ref), - metav1.TableRowCondition{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_TableRowCondition(ref), - metav1.Time{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_Time(ref), - metav1.Timestamp{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_Timestamp(ref), - metav1.TypeMeta{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_TypeMeta(ref), - metav1.UpdateOptions{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_UpdateOptions(ref), - metav1.WatchEvent{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_WatchEvent(ref), - runtime.RawExtension{}.OpenAPIModelName(): schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref), - runtime.TypeMeta{}.OpenAPIModelName(): schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref), - runtime.Unknown{}.OpenAPIModelName(): schema_k8sio_apimachinery_pkg_runtime_Unknown(ref), - intstr.IntOrString{}.OpenAPIModelName(): schema_apimachinery_pkg_util_intstr_IntOrString(ref), - version.Info{}.OpenAPIModelName(): schema_k8sio_apimachinery_pkg_version_Info(ref), + v1.Condition{}.OpenAPIModelName(): schema_gpustackai_gpustack_api_v1_Condition(ref), + v1.Setting{}.OpenAPIModelName(): schema_gpustackai_gpustack_api_v1_Setting(ref), + v1.SettingList{}.OpenAPIModelName(): schema_gpustackai_gpustack_api_v1_SettingList(ref), + v1.SettingSpec{}.OpenAPIModelName(): schema_gpustackai_gpustack_api_v1_SettingSpec(ref), + v1.SettingStatus{}.OpenAPIModelName(): schema_gpustackai_gpustack_api_v1_SettingStatus(ref), + v1.Status{}.OpenAPIModelName(): schema_gpustackai_gpustack_api_v1_Status(ref), + corev1.AWSElasticBlockStoreVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_AWSElasticBlockStoreVolumeSource(ref), + corev1.Affinity{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Affinity(ref), + corev1.AppArmorProfile{}.OpenAPIModelName(): schema_k8sio_api_core_v1_AppArmorProfile(ref), + corev1.AttachedVolume{}.OpenAPIModelName(): schema_k8sio_api_core_v1_AttachedVolume(ref), + corev1.AvoidPods{}.OpenAPIModelName(): schema_k8sio_api_core_v1_AvoidPods(ref), + corev1.AzureDiskVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_AzureDiskVolumeSource(ref), + corev1.AzureFilePersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_AzureFilePersistentVolumeSource(ref), + corev1.AzureFileVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_AzureFileVolumeSource(ref), + corev1.Binding{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Binding(ref), + corev1.CSIPersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_CSIPersistentVolumeSource(ref), + corev1.CSIVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_CSIVolumeSource(ref), + corev1.Capabilities{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Capabilities(ref), + corev1.CephFSPersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_CephFSPersistentVolumeSource(ref), + corev1.CephFSVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_CephFSVolumeSource(ref), + corev1.CinderPersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_CinderPersistentVolumeSource(ref), + corev1.CinderVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_CinderVolumeSource(ref), + corev1.ClientIPConfig{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ClientIPConfig(ref), + corev1.ClusterTrustBundleProjection{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ClusterTrustBundleProjection(ref), + corev1.ComponentCondition{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ComponentCondition(ref), + corev1.ComponentStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ComponentStatus(ref), + corev1.ComponentStatusList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ComponentStatusList(ref), + corev1.ConfigMap{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ConfigMap(ref), + corev1.ConfigMapEnvSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ConfigMapEnvSource(ref), + corev1.ConfigMapKeySelector{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ConfigMapKeySelector(ref), + corev1.ConfigMapList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ConfigMapList(ref), + corev1.ConfigMapNodeConfigSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ConfigMapNodeConfigSource(ref), + corev1.ConfigMapProjection{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ConfigMapProjection(ref), + corev1.ConfigMapVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ConfigMapVolumeSource(ref), + corev1.Container{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Container(ref), + corev1.ContainerExtendedResourceRequest{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerExtendedResourceRequest(ref), + corev1.ContainerImage{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerImage(ref), + corev1.ContainerPort{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerPort(ref), + corev1.ContainerResizePolicy{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerResizePolicy(ref), + corev1.ContainerRestartRule{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerRestartRule(ref), + corev1.ContainerRestartRuleOnExitCodes{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerRestartRuleOnExitCodes(ref), + corev1.ContainerState{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerState(ref), + corev1.ContainerStateRunning{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerStateRunning(ref), + corev1.ContainerStateTerminated{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerStateTerminated(ref), + corev1.ContainerStateWaiting{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerStateWaiting(ref), + corev1.ContainerStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerStatus(ref), + corev1.ContainerUser{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ContainerUser(ref), + corev1.DaemonEndpoint{}.OpenAPIModelName(): schema_k8sio_api_core_v1_DaemonEndpoint(ref), + corev1.DownwardAPIProjection{}.OpenAPIModelName(): schema_k8sio_api_core_v1_DownwardAPIProjection(ref), + corev1.DownwardAPIVolumeFile{}.OpenAPIModelName(): schema_k8sio_api_core_v1_DownwardAPIVolumeFile(ref), + corev1.DownwardAPIVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_DownwardAPIVolumeSource(ref), + corev1.EmptyDirVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EmptyDirVolumeSource(ref), + corev1.EndpointAddress{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EndpointAddress(ref), + corev1.EndpointPort{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EndpointPort(ref), + corev1.EndpointSubset{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EndpointSubset(ref), + corev1.Endpoints{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Endpoints(ref), + corev1.EndpointsList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EndpointsList(ref), + corev1.EnvFromSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EnvFromSource(ref), + corev1.EnvVar{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EnvVar(ref), + corev1.EnvVarSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EnvVarSource(ref), + corev1.EphemeralContainer{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EphemeralContainer(ref), + corev1.EphemeralContainerCommon{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EphemeralContainerCommon(ref), + corev1.EphemeralVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EphemeralVolumeSource(ref), + corev1.Event{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Event(ref), + corev1.EventList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EventList(ref), + corev1.EventSeries{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EventSeries(ref), + corev1.EventSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_EventSource(ref), + corev1.ExecAction{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ExecAction(ref), + corev1.FCVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_FCVolumeSource(ref), + corev1.FileKeySelector{}.OpenAPIModelName(): schema_k8sio_api_core_v1_FileKeySelector(ref), + corev1.FlexPersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_FlexPersistentVolumeSource(ref), + corev1.FlexVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_FlexVolumeSource(ref), + corev1.FlockerVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_FlockerVolumeSource(ref), + corev1.GCEPersistentDiskVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_GCEPersistentDiskVolumeSource(ref), + corev1.GRPCAction{}.OpenAPIModelName(): schema_k8sio_api_core_v1_GRPCAction(ref), + corev1.GitRepoVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_GitRepoVolumeSource(ref), + corev1.GlusterfsPersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_GlusterfsPersistentVolumeSource(ref), + corev1.GlusterfsVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_GlusterfsVolumeSource(ref), + corev1.HTTPGetAction{}.OpenAPIModelName(): schema_k8sio_api_core_v1_HTTPGetAction(ref), + corev1.HTTPHeader{}.OpenAPIModelName(): schema_k8sio_api_core_v1_HTTPHeader(ref), + corev1.HostAlias{}.OpenAPIModelName(): schema_k8sio_api_core_v1_HostAlias(ref), + corev1.HostIP{}.OpenAPIModelName(): schema_k8sio_api_core_v1_HostIP(ref), + corev1.HostPathVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_HostPathVolumeSource(ref), + corev1.ISCSIPersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ISCSIPersistentVolumeSource(ref), + corev1.ISCSIVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ISCSIVolumeSource(ref), + corev1.ImageVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ImageVolumeSource(ref), + corev1.ImageVolumeStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ImageVolumeStatus(ref), + corev1.KeyToPath{}.OpenAPIModelName(): schema_k8sio_api_core_v1_KeyToPath(ref), + corev1.Lifecycle{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Lifecycle(ref), + corev1.LifecycleHandler{}.OpenAPIModelName(): schema_k8sio_api_core_v1_LifecycleHandler(ref), + corev1.LimitRange{}.OpenAPIModelName(): schema_k8sio_api_core_v1_LimitRange(ref), + corev1.LimitRangeItem{}.OpenAPIModelName(): schema_k8sio_api_core_v1_LimitRangeItem(ref), + corev1.LimitRangeList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_LimitRangeList(ref), + corev1.LimitRangeSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_LimitRangeSpec(ref), + corev1.LinuxContainerUser{}.OpenAPIModelName(): schema_k8sio_api_core_v1_LinuxContainerUser(ref), + corev1.List{}.OpenAPIModelName(): schema_k8sio_api_core_v1_List(ref), + corev1.LoadBalancerIngress{}.OpenAPIModelName(): schema_k8sio_api_core_v1_LoadBalancerIngress(ref), + corev1.LoadBalancerStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_LoadBalancerStatus(ref), + corev1.LocalObjectReference{}.OpenAPIModelName(): schema_k8sio_api_core_v1_LocalObjectReference(ref), + corev1.LocalVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_LocalVolumeSource(ref), + corev1.ModifyVolumeStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ModifyVolumeStatus(ref), + corev1.NFSVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NFSVolumeSource(ref), + corev1.Namespace{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Namespace(ref), + corev1.NamespaceCondition{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NamespaceCondition(ref), + corev1.NamespaceList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NamespaceList(ref), + corev1.NamespaceSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NamespaceSpec(ref), + corev1.NamespaceStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NamespaceStatus(ref), + corev1.Node{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Node(ref), + corev1.NodeAddress{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeAddress(ref), + corev1.NodeAffinity{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeAffinity(ref), + corev1.NodeAllocatableResourceClaimStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeAllocatableResourceClaimStatus(ref), + corev1.NodeCondition{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeCondition(ref), + corev1.NodeConfigSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeConfigSource(ref), + corev1.NodeConfigStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeConfigStatus(ref), + corev1.NodeDaemonEndpoints{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeDaemonEndpoints(ref), + corev1.NodeFeatures{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeFeatures(ref), + corev1.NodeList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeList(ref), + corev1.NodeProxyOptions{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeProxyOptions(ref), + corev1.NodeRuntimeHandler{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeRuntimeHandler(ref), + corev1.NodeRuntimeHandlerFeatures{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeRuntimeHandlerFeatures(ref), + corev1.NodeSelector{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeSelector(ref), + corev1.NodeSelectorRequirement{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeSelectorRequirement(ref), + corev1.NodeSelectorTerm{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeSelectorTerm(ref), + corev1.NodeSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeSpec(ref), + corev1.NodeStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeStatus(ref), + corev1.NodeSwapStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeSwapStatus(ref), + corev1.NodeSystemInfo{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeSystemInfo(ref), + corev1.ObjectFieldSelector{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ObjectFieldSelector(ref), + corev1.ObjectReference{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ObjectReference(ref), + corev1.PersistentVolume{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolume(ref), + corev1.PersistentVolumeClaim{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolumeClaim(ref), + corev1.PersistentVolumeClaimCondition{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolumeClaimCondition(ref), + corev1.PersistentVolumeClaimList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolumeClaimList(ref), + corev1.PersistentVolumeClaimSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolumeClaimSpec(ref), + corev1.PersistentVolumeClaimStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref), + corev1.PersistentVolumeClaimTemplate{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolumeClaimTemplate(ref), + corev1.PersistentVolumeClaimVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolumeClaimVolumeSource(ref), + corev1.PersistentVolumeList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolumeList(ref), + corev1.PersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolumeSource(ref), + corev1.PersistentVolumeSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolumeSpec(ref), + corev1.PersistentVolumeStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PersistentVolumeStatus(ref), + corev1.PhotonPersistentDiskVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PhotonPersistentDiskVolumeSource(ref), + corev1.Pod{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Pod(ref), + corev1.PodAffinity{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodAffinity(ref), + corev1.PodAffinityTerm{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodAffinityTerm(ref), + corev1.PodAntiAffinity{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodAntiAffinity(ref), + corev1.PodAttachOptions{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodAttachOptions(ref), + corev1.PodCertificateProjection{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodCertificateProjection(ref), + corev1.PodCondition{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodCondition(ref), + corev1.PodDNSConfig{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodDNSConfig(ref), + corev1.PodDNSConfigOption{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodDNSConfigOption(ref), + corev1.PodExecOptions{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodExecOptions(ref), + corev1.PodExtendedResourceClaimStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodExtendedResourceClaimStatus(ref), + corev1.PodIP{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodIP(ref), + corev1.PodList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodList(ref), + corev1.PodLogOptions{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodLogOptions(ref), + corev1.PodOS{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodOS(ref), + corev1.PodPortForwardOptions{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodPortForwardOptions(ref), + corev1.PodProxyOptions{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodProxyOptions(ref), + corev1.PodReadinessGate{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodReadinessGate(ref), + corev1.PodResourceClaim{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodResourceClaim(ref), + corev1.PodResourceClaimStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodResourceClaimStatus(ref), + corev1.PodSchedulingGate{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodSchedulingGate(ref), + corev1.PodSchedulingGroup{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodSchedulingGroup(ref), + corev1.PodSecurityContext{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodSecurityContext(ref), + corev1.PodSignature{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodSignature(ref), + corev1.PodSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodSpec(ref), + corev1.PodStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodStatus(ref), + corev1.PodStatusResult{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodStatusResult(ref), + corev1.PodTemplate{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodTemplate(ref), + corev1.PodTemplateList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodTemplateList(ref), + corev1.PodTemplateSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodTemplateSpec(ref), + corev1.PortStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PortStatus(ref), + corev1.PortworxVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PortworxVolumeSource(ref), + corev1.PreferAvoidPodsEntry{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PreferAvoidPodsEntry(ref), + corev1.PreferredSchedulingTerm{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PreferredSchedulingTerm(ref), + corev1.Probe{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Probe(ref), + corev1.ProbeHandler{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ProbeHandler(ref), + corev1.ProjectedVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ProjectedVolumeSource(ref), + corev1.QuobyteVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_QuobyteVolumeSource(ref), + corev1.RBDPersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_RBDPersistentVolumeSource(ref), + corev1.RBDVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_RBDVolumeSource(ref), + corev1.RangeAllocation{}.OpenAPIModelName(): schema_k8sio_api_core_v1_RangeAllocation(ref), + corev1.ReplicationController{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ReplicationController(ref), + corev1.ReplicationControllerCondition{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ReplicationControllerCondition(ref), + corev1.ReplicationControllerList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ReplicationControllerList(ref), + corev1.ReplicationControllerSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ReplicationControllerSpec(ref), + corev1.ReplicationControllerStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ReplicationControllerStatus(ref), + corev1.ResourceClaim{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ResourceClaim(ref), + corev1.ResourceFieldSelector{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ResourceFieldSelector(ref), + corev1.ResourceHealth{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ResourceHealth(ref), + corev1.ResourceQuota{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ResourceQuota(ref), + corev1.ResourceQuotaList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ResourceQuotaList(ref), + corev1.ResourceQuotaSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ResourceQuotaSpec(ref), + corev1.ResourceQuotaStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ResourceQuotaStatus(ref), + corev1.ResourceRequirements{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ResourceRequirements(ref), + corev1.ResourceStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ResourceStatus(ref), + corev1.SELinuxOptions{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SELinuxOptions(ref), + corev1.ScaleIOPersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ScaleIOPersistentVolumeSource(ref), + corev1.ScaleIOVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ScaleIOVolumeSource(ref), + corev1.ScopeSelector{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ScopeSelector(ref), + corev1.ScopedResourceSelectorRequirement{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ScopedResourceSelectorRequirement(ref), + corev1.SeccompProfile{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SeccompProfile(ref), + corev1.Secret{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Secret(ref), + corev1.SecretEnvSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SecretEnvSource(ref), + corev1.SecretKeySelector{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SecretKeySelector(ref), + corev1.SecretList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SecretList(ref), + corev1.SecretProjection{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SecretProjection(ref), + corev1.SecretReference{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SecretReference(ref), + corev1.SecretVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SecretVolumeSource(ref), + corev1.SecurityContext{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SecurityContext(ref), + corev1.SerializedReference{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SerializedReference(ref), + corev1.Service{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Service(ref), + corev1.ServiceAccount{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ServiceAccount(ref), + corev1.ServiceAccountList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ServiceAccountList(ref), + corev1.ServiceAccountTokenProjection{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ServiceAccountTokenProjection(ref), + corev1.ServiceList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ServiceList(ref), + corev1.ServicePort{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ServicePort(ref), + corev1.ServiceProxyOptions{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ServiceProxyOptions(ref), + corev1.ServiceSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ServiceSpec(ref), + corev1.ServiceStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_ServiceStatus(ref), + corev1.SessionAffinityConfig{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SessionAffinityConfig(ref), + corev1.SleepAction{}.OpenAPIModelName(): schema_k8sio_api_core_v1_SleepAction(ref), + corev1.StorageOSPersistentVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_StorageOSPersistentVolumeSource(ref), + corev1.StorageOSVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_StorageOSVolumeSource(ref), + corev1.Sysctl{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Sysctl(ref), + corev1.TCPSocketAction{}.OpenAPIModelName(): schema_k8sio_api_core_v1_TCPSocketAction(ref), + corev1.Taint{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Taint(ref), + corev1.Toleration{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Toleration(ref), + corev1.TopologySelectorLabelRequirement{}.OpenAPIModelName(): schema_k8sio_api_core_v1_TopologySelectorLabelRequirement(ref), + corev1.TopologySelectorTerm{}.OpenAPIModelName(): schema_k8sio_api_core_v1_TopologySelectorTerm(ref), + corev1.TopologySpreadConstraint{}.OpenAPIModelName(): schema_k8sio_api_core_v1_TopologySpreadConstraint(ref), + corev1.TypedLocalObjectReference{}.OpenAPIModelName(): schema_k8sio_api_core_v1_TypedLocalObjectReference(ref), + corev1.TypedObjectReference{}.OpenAPIModelName(): schema_k8sio_api_core_v1_TypedObjectReference(ref), + corev1.Volume{}.OpenAPIModelName(): schema_k8sio_api_core_v1_Volume(ref), + corev1.VolumeDevice{}.OpenAPIModelName(): schema_k8sio_api_core_v1_VolumeDevice(ref), + corev1.VolumeMount{}.OpenAPIModelName(): schema_k8sio_api_core_v1_VolumeMount(ref), + corev1.VolumeMountStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_VolumeMountStatus(ref), + corev1.VolumeNodeAffinity{}.OpenAPIModelName(): schema_k8sio_api_core_v1_VolumeNodeAffinity(ref), + corev1.VolumeProjection{}.OpenAPIModelName(): schema_k8sio_api_core_v1_VolumeProjection(ref), + corev1.VolumeResourceRequirements{}.OpenAPIModelName(): schema_k8sio_api_core_v1_VolumeResourceRequirements(ref), + corev1.VolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_VolumeSource(ref), + corev1.VolumeStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_VolumeStatus(ref), + corev1.VsphereVirtualDiskVolumeSource{}.OpenAPIModelName(): schema_k8sio_api_core_v1_VsphereVirtualDiskVolumeSource(ref), + corev1.WeightedPodAffinityTerm{}.OpenAPIModelName(): schema_k8sio_api_core_v1_WeightedPodAffinityTerm(ref), + corev1.WindowsSecurityContextOptions{}.OpenAPIModelName(): schema_k8sio_api_core_v1_WindowsSecurityContextOptions(ref), + resource.Quantity{}.OpenAPIModelName(): schema_apimachinery_pkg_api_resource_Quantity(ref), + metav1.APIGroup{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_APIGroup(ref), + metav1.APIGroupList{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_APIGroupList(ref), + metav1.APIResource{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_APIResource(ref), + metav1.APIResourceList{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_APIResourceList(ref), + metav1.APIVersions{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_APIVersions(ref), + metav1.ApplyOptions{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_ApplyOptions(ref), + metav1.Condition{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_Condition(ref), + metav1.CreateOptions{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_CreateOptions(ref), + metav1.DeleteOptions{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_DeleteOptions(ref), + metav1.Duration{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_Duration(ref), + metav1.FieldSelectorRequirement{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_FieldSelectorRequirement(ref), + metav1.FieldsV1{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_FieldsV1(ref), + metav1.GetOptions{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_GetOptions(ref), + metav1.GroupKind{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_GroupKind(ref), + metav1.GroupResource{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_GroupResource(ref), + metav1.GroupVersion{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_GroupVersion(ref), + metav1.GroupVersionForDiscovery{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref), + metav1.GroupVersionKind{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_GroupVersionKind(ref), + metav1.GroupVersionResource{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_GroupVersionResource(ref), + metav1.InternalEvent{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_InternalEvent(ref), + metav1.LabelSelector{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_LabelSelector(ref), + metav1.LabelSelectorRequirement{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref), + metav1.List{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_List(ref), + metav1.ListMeta{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_ListMeta(ref), + metav1.ListOptions{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_ListOptions(ref), + metav1.ManagedFieldsEntry{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_ManagedFieldsEntry(ref), + metav1.MicroTime{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_MicroTime(ref), + metav1.ObjectMeta{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_ObjectMeta(ref), + metav1.OwnerReference{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_OwnerReference(ref), + metav1.PartialObjectMetadata{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_PartialObjectMetadata(ref), + metav1.PartialObjectMetadataList{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref), + metav1.Patch{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_Patch(ref), + metav1.PatchOptions{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_PatchOptions(ref), + metav1.Preconditions{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_Preconditions(ref), + metav1.RootPaths{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_RootPaths(ref), + metav1.ServerAddressByClientCIDR{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref), + metav1.ShardInfo{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_ShardInfo(ref), + metav1.Status{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_Status(ref), + metav1.StatusCause{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_StatusCause(ref), + metav1.StatusDetails{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_StatusDetails(ref), + metav1.Table{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_Table(ref), + metav1.TableColumnDefinition{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_TableColumnDefinition(ref), + metav1.TableOptions{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_TableOptions(ref), + metav1.TableRow{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_TableRow(ref), + metav1.TableRowCondition{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_TableRowCondition(ref), + metav1.Time{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_Time(ref), + metav1.Timestamp{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_Timestamp(ref), + metav1.TypeMeta{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_TypeMeta(ref), + metav1.UpdateOptions{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_UpdateOptions(ref), + metav1.WatchEvent{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_WatchEvent(ref), + runtime.RawExtension{}.OpenAPIModelName(): schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref), + runtime.TypeMeta{}.OpenAPIModelName(): schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref), + runtime.Unknown{}.OpenAPIModelName(): schema_k8sio_apimachinery_pkg_runtime_Unknown(ref), + intstr.IntOrString{}.OpenAPIModelName(): schema_apimachinery_pkg_util_intstr_IntOrString(ref), + version.Info{}.OpenAPIModelName(): schema_k8sio_apimachinery_pkg_version_Info(ref), } } @@ -466,8 +470,7 @@ func schema_gpustackai_gpustack_api_v1_SettingList(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.Setting{}.OpenAPIModelName()), + Ref: ref(v1.Setting{}.OpenAPIModelName()), }, }, }, @@ -585,8 +588,7 @@ func schema_gpustackai_gpustack_api_v1_Status(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.Condition{}.OpenAPIModelName()), + Ref: ref(v1.Condition{}.OpenAPIModelName()), }, }, }, @@ -767,8 +769,7 @@ func schema_k8sio_api_core_v1_AvoidPods(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PreferAvoidPodsEntry{}.OpenAPIModelName()), + Ref: ref(corev1.PreferAvoidPodsEntry{}.OpenAPIModelName()), }, }, }, @@ -1016,9 +1017,8 @@ func schema_k8sio_api_core_v1_CSIPersistentVolumeSource(ref common.ReferenceCall Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -1100,9 +1100,8 @@ func schema_k8sio_api_core_v1_CSIVolumeSource(ref common.ReferenceCallback) comm Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -1142,9 +1141,8 @@ func schema_k8sio_api_core_v1_Capabilities(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -1162,9 +1160,8 @@ func schema_k8sio_api_core_v1_Capabilities(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -1195,9 +1192,8 @@ func schema_k8sio_api_core_v1_CephFSPersistentVolumeSource(ref common.ReferenceC Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -1265,9 +1261,8 @@ func schema_k8sio_api_core_v1_CephFSVolumeSource(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -1564,8 +1559,7 @@ func schema_k8sio_api_core_v1_ComponentStatus(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ComponentCondition{}.OpenAPIModelName()), + Ref: ref(corev1.ComponentCondition{}.OpenAPIModelName()), }, }, }, @@ -1614,8 +1608,7 @@ func schema_k8sio_api_core_v1_ComponentStatusList(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ComponentStatus{}.OpenAPIModelName()), + Ref: ref(corev1.ComponentStatus{}.OpenAPIModelName()), }, }, }, @@ -1673,9 +1666,8 @@ func schema_k8sio_api_core_v1_ConfigMap(ref common.ReferenceCallback) common.Ope Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -1809,8 +1801,7 @@ func schema_k8sio_api_core_v1_ConfigMapList(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ConfigMap{}.OpenAPIModelName()), + Ref: ref(corev1.ConfigMap{}.OpenAPIModelName()), }, }, }, @@ -1904,8 +1895,7 @@ func schema_k8sio_api_core_v1_ConfigMapProjection(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.KeyToPath{}.OpenAPIModelName()), + Ref: ref(corev1.KeyToPath{}.OpenAPIModelName()), }, }, }, @@ -1953,8 +1943,7 @@ func schema_k8sio_api_core_v1_ConfigMapVolumeSource(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.KeyToPath{}.OpenAPIModelName()), + Ref: ref(corev1.KeyToPath{}.OpenAPIModelName()), }, }, }, @@ -2016,9 +2005,8 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -2036,9 +2024,8 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -2069,8 +2056,7 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerPort{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerPort{}.OpenAPIModelName()), }, }, }, @@ -2088,8 +2074,7 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.EnvFromSource{}.OpenAPIModelName()), + Ref: ref(corev1.EnvFromSource{}.OpenAPIModelName()), }, }, }, @@ -2112,8 +2097,7 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.EnvVar{}.OpenAPIModelName()), + Ref: ref(corev1.EnvVar{}.OpenAPIModelName()), }, }, }, @@ -2138,8 +2122,7 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerResizePolicy{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerResizePolicy{}.OpenAPIModelName()), }, }, }, @@ -2164,8 +2147,7 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerRestartRule{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerRestartRule{}.OpenAPIModelName()), }, }, }, @@ -2188,8 +2170,7 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.VolumeMount{}.OpenAPIModelName()), + Ref: ref(corev1.VolumeMount{}.OpenAPIModelName()), }, }, }, @@ -2212,8 +2193,7 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.VolumeDevice{}.OpenAPIModelName()), + Ref: ref(corev1.VolumeDevice{}.OpenAPIModelName()), }, }, }, @@ -2359,9 +2339,8 @@ func schema_k8sio_api_core_v1_ContainerImage(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -2517,9 +2496,8 @@ func schema_k8sio_api_core_v1_ContainerRestartRuleOnExitCodes(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int32", + Type: []string{"integer"}, + Format: "int32", }, }, }, @@ -2789,8 +2767,7 @@ func schema_k8sio_api_core_v1_ContainerStatus(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.VolumeMountStatus{}.OpenAPIModelName()), + Ref: ref(corev1.VolumeMountStatus{}.OpenAPIModelName()), }, }, }, @@ -2819,8 +2796,7 @@ func schema_k8sio_api_core_v1_ContainerStatus(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ResourceStatus{}.OpenAPIModelName()), + Ref: ref(corev1.ResourceStatus{}.OpenAPIModelName()), }, }, }, @@ -2905,8 +2881,7 @@ func schema_k8sio_api_core_v1_DownwardAPIProjection(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.DownwardAPIVolumeFile{}.OpenAPIModelName()), + Ref: ref(corev1.DownwardAPIVolumeFile{}.OpenAPIModelName()), }, }, }, @@ -2982,8 +2957,7 @@ func schema_k8sio_api_core_v1_DownwardAPIVolumeSource(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.DownwardAPIVolumeFile{}.OpenAPIModelName()), + Ref: ref(corev1.DownwardAPIVolumeFile{}.OpenAPIModelName()), }, }, }, @@ -3149,8 +3123,7 @@ func schema_k8sio_api_core_v1_EndpointSubset(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.EndpointAddress{}.OpenAPIModelName()), + Ref: ref(corev1.EndpointAddress{}.OpenAPIModelName()), }, }, }, @@ -3168,8 +3141,7 @@ func schema_k8sio_api_core_v1_EndpointSubset(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.EndpointAddress{}.OpenAPIModelName()), + Ref: ref(corev1.EndpointAddress{}.OpenAPIModelName()), }, }, }, @@ -3187,8 +3159,7 @@ func schema_k8sio_api_core_v1_EndpointSubset(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.EndpointPort{}.OpenAPIModelName()), + Ref: ref(corev1.EndpointPort{}.OpenAPIModelName()), }, }, }, @@ -3242,8 +3213,7 @@ func schema_k8sio_api_core_v1_Endpoints(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.EndpointSubset{}.OpenAPIModelName()), + Ref: ref(corev1.EndpointSubset{}.OpenAPIModelName()), }, }, }, @@ -3292,8 +3262,7 @@ func schema_k8sio_api_core_v1_EndpointsList(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Endpoints{}.OpenAPIModelName()), + Ref: ref(corev1.Endpoints{}.OpenAPIModelName()), }, }, }, @@ -3458,9 +3427,8 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -3478,9 +3446,8 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -3511,8 +3478,7 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerPort{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerPort{}.OpenAPIModelName()), }, }, }, @@ -3530,8 +3496,7 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.EnvFromSource{}.OpenAPIModelName()), + Ref: ref(corev1.EnvFromSource{}.OpenAPIModelName()), }, }, }, @@ -3554,8 +3519,7 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.EnvVar{}.OpenAPIModelName()), + Ref: ref(corev1.EnvVar{}.OpenAPIModelName()), }, }, }, @@ -3580,8 +3544,7 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerResizePolicy{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerResizePolicy{}.OpenAPIModelName()), }, }, }, @@ -3606,8 +3569,7 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerRestartRule{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerRestartRule{}.OpenAPIModelName()), }, }, }, @@ -3630,8 +3592,7 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.VolumeMount{}.OpenAPIModelName()), + Ref: ref(corev1.VolumeMount{}.OpenAPIModelName()), }, }, }, @@ -3654,8 +3615,7 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.VolumeDevice{}.OpenAPIModelName()), + Ref: ref(corev1.VolumeDevice{}.OpenAPIModelName()), }, }, }, @@ -3785,9 +3745,8 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -3805,9 +3764,8 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -3838,8 +3796,7 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerPort{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerPort{}.OpenAPIModelName()), }, }, }, @@ -3857,8 +3814,7 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.EnvFromSource{}.OpenAPIModelName()), + Ref: ref(corev1.EnvFromSource{}.OpenAPIModelName()), }, }, }, @@ -3881,8 +3837,7 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.EnvVar{}.OpenAPIModelName()), + Ref: ref(corev1.EnvVar{}.OpenAPIModelName()), }, }, }, @@ -3907,8 +3862,7 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerResizePolicy{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerResizePolicy{}.OpenAPIModelName()), }, }, }, @@ -3933,8 +3887,7 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerRestartRule{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerRestartRule{}.OpenAPIModelName()), }, }, }, @@ -3957,8 +3910,7 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.VolumeMount{}.OpenAPIModelName()), + Ref: ref(corev1.VolumeMount{}.OpenAPIModelName()), }, }, }, @@ -3981,8 +3933,7 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.VolumeDevice{}.OpenAPIModelName()), + Ref: ref(corev1.VolumeDevice{}.OpenAPIModelName()), }, }, }, @@ -4259,8 +4210,7 @@ func schema_k8sio_api_core_v1_EventList(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Event{}.OpenAPIModelName()), + Ref: ref(corev1.Event{}.OpenAPIModelName()), }, }, }, @@ -4349,9 +4299,8 @@ func schema_k8sio_api_core_v1_ExecAction(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -4382,9 +4331,8 @@ func schema_k8sio_api_core_v1_FCVolumeSource(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -4423,9 +4371,8 @@ func schema_k8sio_api_core_v1_FCVolumeSource(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -4531,9 +4478,8 @@ func schema_k8sio_api_core_v1_FlexPersistentVolumeSource(ref common.ReferenceCal Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -4591,9 +4537,8 @@ func schema_k8sio_api_core_v1_FlexVolumeSource(ref common.ReferenceCallback) com Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -4872,8 +4817,7 @@ func schema_k8sio_api_core_v1_HTTPGetAction(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.HTTPHeader{}.OpenAPIModelName()), + Ref: ref(corev1.HTTPHeader{}.OpenAPIModelName()), }, }, }, @@ -4945,9 +4889,8 @@ func schema_k8sio_api_core_v1_HostAlias(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -5077,9 +5020,8 @@ func schema_k8sio_api_core_v1_ISCSIPersistentVolumeSource(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -5186,9 +5128,8 @@ func schema_k8sio_api_core_v1_ISCSIVolumeSource(ref common.ReferenceCallback) co Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -5258,6 +5199,27 @@ func schema_k8sio_api_core_v1_ImageVolumeSource(ref common.ReferenceCallback) co } } +func schema_k8sio_api_core_v1_ImageVolumeStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "ImageVolumeStatus represents the image-based volume status.", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "imageRef": { + SchemaProps: spec.SchemaProps{ + Description: "ImageRef is the digest of the image used for this volume. It should have a value that's similar to the pod's status.containerStatuses[i].imageID. The ImageRef length should not exceed 256 characters.", + Type: []string{"string"}, + Format: "", + }, + }, + }, + Required: []string{"imageRef"}, + }, + }, + } +} + func schema_k8sio_api_core_v1_KeyToPath(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ @@ -5541,8 +5503,7 @@ func schema_k8sio_api_core_v1_LimitRangeList(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.LimitRange{}.OpenAPIModelName()), + Ref: ref(corev1.LimitRange{}.OpenAPIModelName()), }, }, }, @@ -5576,8 +5537,7 @@ func schema_k8sio_api_core_v1_LimitRangeSpec(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.LimitRangeItem{}.OpenAPIModelName()), + Ref: ref(corev1.LimitRangeItem{}.OpenAPIModelName()), }, }, }, @@ -5627,9 +5587,8 @@ func schema_k8sio_api_core_v1_LinuxContainerUser(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int64", + Type: []string{"integer"}, + Format: "int64", }, }, }, @@ -5732,8 +5691,7 @@ func schema_k8sio_api_core_v1_LoadBalancerIngress(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PortStatus{}.OpenAPIModelName()), + Ref: ref(corev1.PortStatus{}.OpenAPIModelName()), }, }, }, @@ -5766,8 +5724,7 @@ func schema_k8sio_api_core_v1_LoadBalancerStatus(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.LoadBalancerIngress{}.OpenAPIModelName()), + Ref: ref(corev1.LoadBalancerIngress{}.OpenAPIModelName()), }, }, }, @@ -6040,8 +5997,7 @@ func schema_k8sio_api_core_v1_NamespaceList(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Namespace{}.OpenAPIModelName()), + Ref: ref(corev1.Namespace{}.OpenAPIModelName()), }, }, }, @@ -6075,9 +6031,8 @@ func schema_k8sio_api_core_v1_NamespaceSpec(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -6121,8 +6076,7 @@ func schema_k8sio_api_core_v1_NamespaceStatus(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.NamespaceCondition{}.OpenAPIModelName()), + Ref: ref(corev1.NamespaceCondition{}.OpenAPIModelName()), }, }, }, @@ -6241,8 +6195,7 @@ func schema_k8sio_api_core_v1_NodeAffinity(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PreferredSchedulingTerm{}.OpenAPIModelName()), + Ref: ref(corev1.PreferredSchedulingTerm{}.OpenAPIModelName()), }, }, }, @@ -6256,6 +6209,63 @@ func schema_k8sio_api_core_v1_NodeAffinity(ref common.ReferenceCallback) common. } } +func schema_k8sio_api_core_v1_NodeAllocatableResourceClaimStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "NodeAllocatableResourceClaimStatus describes the status of node allocatable resources allocated via DRA.", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "resourceClaimName": { + SchemaProps: spec.SchemaProps{ + Description: "ResourceClaimName is the resource claim referenced by the pod that resulted in this node allocatable resource allocation.", + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + "containers": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "set", + }, + }, + SchemaProps: spec.SchemaProps{ + Description: "Containers lists the names of all containers in this pod that reference the claim.", + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + "resources": { + SchemaProps: spec.SchemaProps{ + Description: "Resources is a map of the node-allocatable resource name to the aggregate quantity allocated to the claim.", + Type: []string{"object"}, + AdditionalProperties: &spec.SchemaOrBool{ + Allows: true, + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Ref: ref(resource.Quantity{}.OpenAPIModelName()), + }, + }, + }, + }, + }, + }, + Required: []string{"resourceClaimName", "resources"}, + }, + }, + Dependencies: []string{ + resource.Quantity{}.OpenAPIModelName()}, + } +} + func schema_k8sio_api_core_v1_NodeCondition(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ @@ -6452,8 +6462,7 @@ func schema_k8sio_api_core_v1_NodeList(ref common.ReferenceCallback) common.Open Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Node{}.OpenAPIModelName()), + Ref: ref(corev1.Node{}.OpenAPIModelName()), }, }, }, @@ -6577,8 +6586,7 @@ func schema_k8sio_api_core_v1_NodeSelector(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.NodeSelectorTerm{}.OpenAPIModelName()), + Ref: ref(corev1.NodeSelectorTerm{}.OpenAPIModelName()), }, }, }, @@ -6634,9 +6642,8 @@ func schema_k8sio_api_core_v1_NodeSelectorRequirement(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -6668,8 +6675,7 @@ func schema_k8sio_api_core_v1_NodeSelectorTerm(ref common.ReferenceCallback) com Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.NodeSelectorRequirement{}.OpenAPIModelName()), + Ref: ref(corev1.NodeSelectorRequirement{}.OpenAPIModelName()), }, }, }, @@ -6687,8 +6693,7 @@ func schema_k8sio_api_core_v1_NodeSelectorTerm(ref common.ReferenceCallback) com Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.NodeSelectorRequirement{}.OpenAPIModelName()), + Ref: ref(corev1.NodeSelectorRequirement{}.OpenAPIModelName()), }, }, }, @@ -6734,9 +6739,8 @@ func schema_k8sio_api_core_v1_NodeSpec(ref common.ReferenceCallback) common.Open Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -6768,8 +6772,7 @@ func schema_k8sio_api_core_v1_NodeSpec(ref common.ReferenceCallback) common.Open Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Taint{}.OpenAPIModelName()), + Ref: ref(corev1.Taint{}.OpenAPIModelName()), }, }, }, @@ -6856,8 +6859,7 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.NodeCondition{}.OpenAPIModelName()), + Ref: ref(corev1.NodeCondition{}.OpenAPIModelName()), }, }, }, @@ -6880,8 +6882,7 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.NodeAddress{}.OpenAPIModelName()), + Ref: ref(corev1.NodeAddress{}.OpenAPIModelName()), }, }, }, @@ -6913,8 +6914,7 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerImage{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerImage{}.OpenAPIModelName()), }, }, }, @@ -6932,9 +6932,8 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -6952,8 +6951,7 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.AttachedVolume{}.OpenAPIModelName()), + Ref: ref(corev1.AttachedVolume{}.OpenAPIModelName()), }, }, }, @@ -6977,8 +6975,7 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.NodeRuntimeHandler{}.OpenAPIModelName()), + Ref: ref(corev1.NodeRuntimeHandler{}.OpenAPIModelName()), }, }, }, @@ -7002,9 +6999,8 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -7434,8 +7430,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimList(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PersistentVolumeClaim{}.OpenAPIModelName()), + Ref: ref(corev1.PersistentVolumeClaim{}.OpenAPIModelName()), }, }, }, @@ -7469,10 +7464,9 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimSpec(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", - Enum: []interface{}{"ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce", "ReadWriteOncePod"}, + Type: []string{"string"}, + Format: "", + Enum: []interface{}{"ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce", "ReadWriteOncePod"}, }, }, }, @@ -7567,10 +7561,9 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", - Enum: []interface{}{"ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce", "ReadWriteOncePod"}, + Type: []string{"string"}, + Format: "", + Enum: []interface{}{"ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce", "ReadWriteOncePod"}, }, }, }, @@ -7607,8 +7600,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PersistentVolumeClaimCondition{}.OpenAPIModelName()), + Ref: ref(corev1.PersistentVolumeClaimCondition{}.OpenAPIModelName()), }, }, }, @@ -7641,10 +7633,9 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref common.ReferenceCa Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", - Enum: []interface{}{"ControllerResizeInProgress", "ControllerResizeInfeasible", "NodeResizeInProgress", "NodeResizeInfeasible", "NodeResizePending"}, + Type: []string{"string"}, + Format: "", + Enum: []interface{}{"ControllerResizeInProgress", "ControllerResizeInfeasible", "NodeResizeInProgress", "NodeResizeInfeasible", "NodeResizePending"}, }, }, }, @@ -7765,8 +7756,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeList(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PersistentVolume{}.OpenAPIModelName()), + Ref: ref(corev1.PersistentVolume{}.OpenAPIModelName()), }, }, }, @@ -7892,7 +7882,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeSource(ref common.ReferenceCallbac }, "portworxVolume": { SchemaProps: spec.SchemaProps{ - Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on.", + Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver.", Ref: ref(corev1.PortworxVolumeSource{}.OpenAPIModelName()), }, }, @@ -8053,7 +8043,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeSpec(ref common.ReferenceCallback) }, "portworxVolume": { SchemaProps: spec.SchemaProps{ - Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on.", + Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver.", Ref: ref(corev1.PortworxVolumeSource{}.OpenAPIModelName()), }, }, @@ -8093,10 +8083,9 @@ func schema_k8sio_api_core_v1_PersistentVolumeSpec(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", - Enum: []interface{}{"ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce", "ReadWriteOncePod"}, + Type: []string{"string"}, + Format: "", + Enum: []interface{}{"ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce", "ReadWriteOncePod"}, }, }, }, @@ -8140,9 +8129,8 @@ func schema_k8sio_api_core_v1_PersistentVolumeSpec(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -8318,8 +8306,7 @@ func schema_k8sio_api_core_v1_PodAffinity(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PodAffinityTerm{}.OpenAPIModelName()), + Ref: ref(corev1.PodAffinityTerm{}.OpenAPIModelName()), }, }, }, @@ -8337,8 +8324,7 @@ func schema_k8sio_api_core_v1_PodAffinity(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.WeightedPodAffinityTerm{}.OpenAPIModelName()), + Ref: ref(corev1.WeightedPodAffinityTerm{}.OpenAPIModelName()), }, }, }, @@ -8377,9 +8363,8 @@ func schema_k8sio_api_core_v1_PodAffinityTerm(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -8411,9 +8396,8 @@ func schema_k8sio_api_core_v1_PodAffinityTerm(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -8431,9 +8415,8 @@ func schema_k8sio_api_core_v1_PodAffinityTerm(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -8467,8 +8450,7 @@ func schema_k8sio_api_core_v1_PodAntiAffinity(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PodAffinityTerm{}.OpenAPIModelName()), + Ref: ref(corev1.PodAffinityTerm{}.OpenAPIModelName()), }, }, }, @@ -8486,8 +8468,7 @@ func schema_k8sio_api_core_v1_PodAntiAffinity(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.WeightedPodAffinityTerm{}.OpenAPIModelName()), + Ref: ref(corev1.WeightedPodAffinityTerm{}.OpenAPIModelName()), }, }, }, @@ -8620,9 +8601,8 @@ func schema_k8sio_api_core_v1_PodCertificateProjection(ref common.ReferenceCallb Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -8652,7 +8632,7 @@ func schema_k8sio_api_core_v1_PodCondition(ref common.ReferenceCallback) common. }, "observedGeneration": { SchemaProps: spec.SchemaProps{ - Description: "If set, this represents the .metadata.generation that the pod condition was set based upon. The PodObservedGenerationTracking feature gate must be enabled to use this field.", + Description: "If set, this represents the .metadata.generation that the pod condition was set based upon.", Type: []string{"integer"}, Format: "int64", }, @@ -8719,9 +8699,8 @@ func schema_k8sio_api_core_v1_PodDNSConfig(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -8739,9 +8718,8 @@ func schema_k8sio_api_core_v1_PodDNSConfig(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -8759,8 +8737,7 @@ func schema_k8sio_api_core_v1_PodDNSConfig(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PodDNSConfigOption{}.OpenAPIModelName()), + Ref: ref(corev1.PodDNSConfigOption{}.OpenAPIModelName()), }, }, }, @@ -8869,9 +8846,8 @@ func schema_k8sio_api_core_v1_PodExecOptions(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -8903,8 +8879,7 @@ func schema_k8sio_api_core_v1_PodExtendedResourceClaimStatus(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerExtendedResourceRequest{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerExtendedResourceRequest{}.OpenAPIModelName()), }, }, }, @@ -8984,8 +8959,7 @@ func schema_k8sio_api_core_v1_PodList(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Pod{}.OpenAPIModelName()), + Ref: ref(corev1.Pod{}.OpenAPIModelName()), }, }, }, @@ -9153,9 +9127,8 @@ func schema_k8sio_api_core_v1_PodPortForwardOptions(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int32", + Type: []string{"integer"}, + Format: "int32", }, }, }, @@ -9227,7 +9200,7 @@ func schema_k8sio_api_core_v1_PodResourceClaim(ref common.ReferenceCallback) com return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "PodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod.\n\nIt adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.", + Description: "PodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod.\n\nIt adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.\n\nWhen the DRAWorkloadResourceClaims feature gate is enabled and this Pod belongs to a PodGroup, a PodResourceClaim is matched to a PodGroupResourceClaim if all of their fields are equal (Name, ResourceClaimName, and ResourceClaimTemplateName). A matched claim references a single ResourceClaim shared across all Pods in the PodGroup, reserved for the PodGroup in ResourceClaimStatus.ReservedFor rather than for individual Pods.", Type: []string{"object"}, Properties: map[string]spec.Schema{ "name": { @@ -9247,7 +9220,7 @@ func schema_k8sio_api_core_v1_PodResourceClaim(ref common.ReferenceCallback) com }, "resourceClaimTemplateName": { SchemaProps: spec.SchemaProps{ - Description: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.\n\nThe template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.\n\nExactly one of ResourceClaimName and ResourceClaimTemplateName must be set.", + Description: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.\n\nThe template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.\n\nWhen the DRAWorkloadResourceClaims feature gate is enabled and the pod belongs to a PodGroup that defines a PodGroupResourceClaim with the same Name and ResourceClaimTemplateName, this PodResourceClaim resolves to the ResourceClaim generated for the PodGroup. All pods in the group that define an equivalent PodResourceClaim matching the PodGroupResourceClaim's Name and ResourceClaimTemplateName share the same generated ResourceClaim. ResourceClaims generated for a PodGroup are owned by the PodGroup and their lifecycles are tied to the PodGroup instead of any individual pod.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.\n\nExactly one of ResourceClaimName and ResourceClaimTemplateName must be set.", Type: []string{"string"}, Format: "", }, @@ -9276,7 +9249,7 @@ func schema_k8sio_api_core_v1_PodResourceClaimStatus(ref common.ReferenceCallbac }, "resourceClaimName": { SchemaProps: spec.SchemaProps{ - Description: "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. If this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.", + Description: "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod.\n\nWhen the DRAWorkloadResourceClaims feature is enabled and the corresponding PodResourceClaim matches a PodGroupResourceClaim made by the Pod's PodGroup, then this is the name of the ResourceClaim generated and reserved for the PodGroup.\n\nIf this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.", Type: []string{"string"}, Format: "", }, @@ -9310,6 +9283,37 @@ func schema_k8sio_api_core_v1_PodSchedulingGate(ref common.ReferenceCallback) co } } +func schema_k8sio_api_core_v1_PodSchedulingGroup(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "PodSchedulingGroup identifies the runtime scheduling group instance that a Pod belongs to. The scheduler uses this information to apply workload-aware scheduling semantics. Exactly one field must be specified.", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "podGroupName": { + SchemaProps: spec.SchemaProps{ + Description: "PodGroupName specifies the name of the standalone PodGroup object that represents the runtime instance of this group. Must be a DNS subdomain.", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-unions": []interface{}{ + map[string]interface{}{ + "fields-to-discriminateBy": map[string]interface{}{ + "podGroupName": "PodGroupName", + }, + }, + }, + }, + }, + }, + } +} + func schema_k8sio_api_core_v1_PodSecurityContext(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ @@ -9362,9 +9366,8 @@ func schema_k8sio_api_core_v1_PodSecurityContext(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int64", + Type: []string{"integer"}, + Format: "int64", }, }, }, @@ -9397,8 +9400,7 @@ func schema_k8sio_api_core_v1_PodSecurityContext(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Sysctl{}.OpenAPIModelName()), + Ref: ref(corev1.Sysctl{}.OpenAPIModelName()), }, }, }, @@ -9484,8 +9486,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Volume{}.OpenAPIModelName()), + Ref: ref(corev1.Volume{}.OpenAPIModelName()), }, }, }, @@ -9508,8 +9509,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Container{}.OpenAPIModelName()), + Ref: ref(corev1.Container{}.OpenAPIModelName()), }, }, }, @@ -9532,8 +9532,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Container{}.OpenAPIModelName()), + Ref: ref(corev1.Container{}.OpenAPIModelName()), }, }, }, @@ -9556,8 +9555,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.EphemeralContainer{}.OpenAPIModelName()), + Ref: ref(corev1.EphemeralContainer{}.OpenAPIModelName()), }, }, }, @@ -9606,9 +9604,8 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -9693,8 +9690,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.LocalObjectReference{}.OpenAPIModelName()), + Ref: ref(corev1.LocalObjectReference{}.OpenAPIModelName()), }, }, }, @@ -9739,8 +9735,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Toleration{}.OpenAPIModelName()), + Ref: ref(corev1.Toleration{}.OpenAPIModelName()), }, }, }, @@ -9763,8 +9758,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.HostAlias{}.OpenAPIModelName()), + Ref: ref(corev1.HostAlias{}.OpenAPIModelName()), }, }, }, @@ -9802,8 +9796,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PodReadinessGate{}.OpenAPIModelName()), + Ref: ref(corev1.PodReadinessGate{}.OpenAPIModelName()), }, }, }, @@ -9863,8 +9856,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.TopologySpreadConstraint{}.OpenAPIModelName()), + Ref: ref(corev1.TopologySpreadConstraint{}.OpenAPIModelName()), }, }, }, @@ -9885,7 +9877,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA }, "hostUsers": { SchemaProps: spec.SchemaProps{ - Description: "Use the host's user namespace. Optional: Default to true. If set to true or not present, the pod will be run in the host user namespace, useful for when the pod needs a feature only available to the host user namespace, such as loading a kernel module with CAP_SYS_MODULE. When set to false, a new userns is created for the pod. Setting false is useful for mitigating container breakout vulnerabilities even allowing users to run their containers as root without actually having root privileges on the host. This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature.", + Description: "Use the host's user namespace. Optional: Default to true. If set to true or not present, the pod will be run in the host user namespace, useful for when the pod needs a feature only available to the host user namespace, such as loading a kernel module with CAP_SYS_MODULE. When set to false, a new userns is created for the pod. Setting false is useful for mitigating container breakout vulnerabilities even allowing users to run their containers as root without actually having root privileges on the host.", Type: []string{"boolean"}, Format: "", }, @@ -9907,8 +9899,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PodSchedulingGate{}.OpenAPIModelName()), + Ref: ref(corev1.PodSchedulingGate{}.OpenAPIModelName()), }, }, }, @@ -9931,8 +9922,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PodResourceClaim{}.OpenAPIModelName()), + Ref: ref(corev1.PodResourceClaim{}.OpenAPIModelName()), }, }, }, @@ -9951,10 +9941,10 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Format: "", }, }, - "workloadRef": { + "schedulingGroup": { SchemaProps: spec.SchemaProps{ - Description: "WorkloadRef provides a reference to the Workload object that this Pod belongs to. This field is used by the scheduler to identify the PodGroup and apply the correct group scheduling policies. The Workload object referenced by this field may not exist at the time the Pod is created. This field is immutable, but a Workload object with the same name may be recreated with different policies. Doing this during pod scheduling may result in the placement not conforming to the expected policies.", - Ref: ref(corev1.WorkloadReference{}.OpenAPIModelName()), + Description: "SchedulingGroup provides a reference to the immediate scheduling runtime grouping object that this Pod belongs to. This field is used by the scheduler to identify the group and apply the correct group scheduling policies. The association with a group also impacts other lifecycle aspects of a Pod that are relevant in a wider context of scheduling like preemption, resource attachment, etc. If not specified, the Pod is treated as a single unit in all of these aspects. The group object referenced by this field may not exist at the time the Pod is created. This field is immutable, but a group object with the same name may be recreated with different policies. Doing this during pod scheduling may result in the placement not conforming to the expected policies.", + Ref: ref(corev1.PodSchedulingGroup{}.OpenAPIModelName()), }, }, }, @@ -9962,7 +9952,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA }, }, Dependencies: []string{ - corev1.Affinity{}.OpenAPIModelName(), corev1.Container{}.OpenAPIModelName(), corev1.EphemeralContainer{}.OpenAPIModelName(), corev1.HostAlias{}.OpenAPIModelName(), corev1.LocalObjectReference{}.OpenAPIModelName(), corev1.PodDNSConfig{}.OpenAPIModelName(), corev1.PodOS{}.OpenAPIModelName(), corev1.PodReadinessGate{}.OpenAPIModelName(), corev1.PodResourceClaim{}.OpenAPIModelName(), corev1.PodSchedulingGate{}.OpenAPIModelName(), corev1.PodSecurityContext{}.OpenAPIModelName(), corev1.ResourceRequirements{}.OpenAPIModelName(), corev1.Toleration{}.OpenAPIModelName(), corev1.TopologySpreadConstraint{}.OpenAPIModelName(), corev1.Volume{}.OpenAPIModelName(), corev1.WorkloadReference{}.OpenAPIModelName(), resource.Quantity{}.OpenAPIModelName()}, + corev1.Affinity{}.OpenAPIModelName(), corev1.Container{}.OpenAPIModelName(), corev1.EphemeralContainer{}.OpenAPIModelName(), corev1.HostAlias{}.OpenAPIModelName(), corev1.LocalObjectReference{}.OpenAPIModelName(), corev1.PodDNSConfig{}.OpenAPIModelName(), corev1.PodOS{}.OpenAPIModelName(), corev1.PodReadinessGate{}.OpenAPIModelName(), corev1.PodResourceClaim{}.OpenAPIModelName(), corev1.PodSchedulingGate{}.OpenAPIModelName(), corev1.PodSchedulingGroup{}.OpenAPIModelName(), corev1.PodSecurityContext{}.OpenAPIModelName(), corev1.ResourceRequirements{}.OpenAPIModelName(), corev1.Toleration{}.OpenAPIModelName(), corev1.TopologySpreadConstraint{}.OpenAPIModelName(), corev1.Volume{}.OpenAPIModelName(), resource.Quantity{}.OpenAPIModelName()}, } } @@ -10005,8 +9995,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PodCondition{}.OpenAPIModelName()), + Ref: ref(corev1.PodCondition{}.OpenAPIModelName()), }, }, }, @@ -10054,8 +10043,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.HostIP{}.OpenAPIModelName()), + Ref: ref(corev1.HostIP{}.OpenAPIModelName()), }, }, }, @@ -10085,8 +10073,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PodIP{}.OpenAPIModelName()), + Ref: ref(corev1.PodIP{}.OpenAPIModelName()), }, }, }, @@ -10110,8 +10097,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerStatus{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerStatus{}.OpenAPIModelName()), }, }, }, @@ -10129,8 +10115,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerStatus{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerStatus{}.OpenAPIModelName()), }, }, }, @@ -10156,8 +10141,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ContainerStatus{}.OpenAPIModelName()), + Ref: ref(corev1.ContainerStatus{}.OpenAPIModelName()), }, }, }, @@ -10187,8 +10171,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PodResourceClaimStatus{}.OpenAPIModelName()), + Ref: ref(corev1.PodResourceClaimStatus{}.OpenAPIModelName()), }, }, }, @@ -10220,11 +10203,29 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Ref: ref(corev1.ResourceRequirements{}.OpenAPIModelName()), }, }, + "nodeAllocatableResourceClaimStatuses": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, + SchemaProps: spec.SchemaProps{ + Description: "NodeAllocatableResourceClaimStatuses contains the status of node-allocatable resources that were allocated for this pod through DRA claims. This includes resources currently reported in v1.Node `status.allocatable` that are not extended resources (see https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#extended-resources). Examples include \"cpu\", \"memory\", \"ephemeral-storage\", and hugepages.", + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Ref: ref(corev1.NodeAllocatableResourceClaimStatus{}.OpenAPIModelName()), + }, + }, + }, + }, + }, }, }, }, Dependencies: []string{ - corev1.ContainerStatus{}.OpenAPIModelName(), corev1.HostIP{}.OpenAPIModelName(), corev1.PodCondition{}.OpenAPIModelName(), corev1.PodExtendedResourceClaimStatus{}.OpenAPIModelName(), corev1.PodIP{}.OpenAPIModelName(), corev1.PodResourceClaimStatus{}.OpenAPIModelName(), corev1.ResourceRequirements{}.OpenAPIModelName(), resource.Quantity{}.OpenAPIModelName(), metav1.Time{}.OpenAPIModelName()}, + corev1.ContainerStatus{}.OpenAPIModelName(), corev1.HostIP{}.OpenAPIModelName(), corev1.NodeAllocatableResourceClaimStatus{}.OpenAPIModelName(), corev1.PodCondition{}.OpenAPIModelName(), corev1.PodExtendedResourceClaimStatus{}.OpenAPIModelName(), corev1.PodIP{}.OpenAPIModelName(), corev1.PodResourceClaimStatus{}.OpenAPIModelName(), corev1.ResourceRequirements{}.OpenAPIModelName(), resource.Quantity{}.OpenAPIModelName(), metav1.Time{}.OpenAPIModelName()}, } } @@ -10349,8 +10350,7 @@ func schema_k8sio_api_core_v1_PodTemplateList(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.PodTemplate{}.OpenAPIModelName()), + Ref: ref(corev1.PodTemplate{}.OpenAPIModelName()), }, }, }, @@ -10681,8 +10681,7 @@ func schema_k8sio_api_core_v1_ProjectedVolumeSource(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.VolumeProjection{}.OpenAPIModelName()), + Ref: ref(corev1.VolumeProjection{}.OpenAPIModelName()), }, }, }, @@ -10780,9 +10779,8 @@ func schema_k8sio_api_core_v1_RBDPersistentVolumeSource(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -10868,9 +10866,8 @@ func schema_k8sio_api_core_v1_RBDVolumeSource(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -11126,8 +11123,7 @@ func schema_k8sio_api_core_v1_ReplicationControllerList(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ReplicationController{}.OpenAPIModelName()), + Ref: ref(corev1.ReplicationController{}.OpenAPIModelName()), }, }, }, @@ -11178,9 +11174,8 @@ func schema_k8sio_api_core_v1_ReplicationControllerSpec(ref common.ReferenceCall Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -11260,8 +11255,7 @@ func schema_k8sio_api_core_v1_ReplicationControllerStatus(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ReplicationControllerCondition{}.OpenAPIModelName()), + Ref: ref(corev1.ReplicationControllerCondition{}.OpenAPIModelName()), }, }, }, @@ -11369,6 +11363,13 @@ func schema_k8sio_api_core_v1_ResourceHealth(ref common.ReferenceCallback) commo Format: "", }, }, + "message": { + SchemaProps: spec.SchemaProps{ + Description: "Message provides human-readable context for Health (e.g. \"ECC error count exceeded threshold\"). This field is populated by the kubelet when ResourceHealthStatusMessage is enabled if the DRA plugin returns a message, and is null otherwise.", + Type: []string{"string"}, + Format: "", + }, + }, }, Required: []string{"resourceID"}, }, @@ -11461,8 +11462,7 @@ func schema_k8sio_api_core_v1_ResourceQuotaList(ref common.ReferenceCallback) co Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ResourceQuota{}.OpenAPIModelName()), + Ref: ref(corev1.ResourceQuota{}.OpenAPIModelName()), }, }, }, @@ -11510,10 +11510,9 @@ func schema_k8sio_api_core_v1_ResourceQuotaSpec(ref common.ReferenceCallback) co Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", - Enum: []interface{}{"BestEffort", "CrossNamespacePodAffinity", "NotBestEffort", "NotTerminating", "PriorityClass", "Terminating", "VolumeAttributesClass"}, + Type: []string{"string"}, + Format: "", + Enum: []interface{}{"BestEffort", "CrossNamespacePodAffinity", "NotBestEffort", "NotTerminating", "PriorityClass", "Terminating", "VolumeAttributesClass"}, }, }, }, @@ -11626,8 +11625,7 @@ func schema_k8sio_api_core_v1_ResourceRequirements(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ResourceClaim{}.OpenAPIModelName()), + Ref: ref(corev1.ResourceClaim{}.OpenAPIModelName()), }, }, }, @@ -11671,8 +11669,7 @@ func schema_k8sio_api_core_v1_ResourceStatus(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ResourceHealth{}.OpenAPIModelName()), + Ref: ref(corev1.ResourceHealth{}.OpenAPIModelName()), }, }, }, @@ -11925,8 +11922,7 @@ func schema_k8sio_api_core_v1_ScopeSelector(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ScopedResourceSelectorRequirement{}.OpenAPIModelName()), + Ref: ref(corev1.ScopedResourceSelectorRequirement{}.OpenAPIModelName()), }, }, }, @@ -11982,9 +11978,8 @@ func schema_k8sio_api_core_v1_ScopedResourceSelectorRequirement(ref common.Refer Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -12097,9 +12092,8 @@ func schema_k8sio_api_core_v1_Secret(ref common.ReferenceCallback) common.OpenAP Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -12225,8 +12219,7 @@ func schema_k8sio_api_core_v1_SecretList(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Secret{}.OpenAPIModelName()), + Ref: ref(corev1.Secret{}.OpenAPIModelName()), }, }, }, @@ -12268,8 +12261,7 @@ func schema_k8sio_api_core_v1_SecretProjection(ref common.ReferenceCallback) com Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.KeyToPath{}.OpenAPIModelName()), + Ref: ref(corev1.KeyToPath{}.OpenAPIModelName()), }, }, }, @@ -12348,8 +12340,7 @@ func schema_k8sio_api_core_v1_SecretVolumeSource(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.KeyToPath{}.OpenAPIModelName()), + Ref: ref(corev1.KeyToPath{}.OpenAPIModelName()), }, }, }, @@ -12446,7 +12437,7 @@ func schema_k8sio_api_core_v1_SecurityContext(ref common.ReferenceCallback) comm }, "procMount": { SchemaProps: spec.SchemaProps{ - Description: "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.\n\nPossible enum values:\n - `\"Default\"` uses the container runtime defaults for readonly and masked paths for /proc. Most container runtimes mask certain paths in /proc to avoid accidental security exposure of special devices or information.\n - `\"Unmasked\"` bypasses the default masking behavior of the container runtime and ensures the newly created /proc the container stays in tact with no modifications.", + Description: "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. Note that this field cannot be set when spec.os.name is windows.\n\nPossible enum values:\n - `\"Default\"` uses the container runtime defaults for readonly and masked paths for /proc. Most container runtimes mask certain paths in /proc to avoid accidental security exposure of special devices or information.\n - `\"Unmasked\"` bypasses the default masking behavior of the container runtime and ensures the newly created /proc the container stays in tact with no modifications.", Type: []string{"string"}, Format: "", Enum: []interface{}{"Default", "Unmasked"}, @@ -12603,8 +12594,7 @@ func schema_k8sio_api_core_v1_ServiceAccount(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ObjectReference{}.OpenAPIModelName()), + Ref: ref(corev1.ObjectReference{}.OpenAPIModelName()), }, }, }, @@ -12622,8 +12612,7 @@ func schema_k8sio_api_core_v1_ServiceAccount(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.LocalObjectReference{}.OpenAPIModelName()), + Ref: ref(corev1.LocalObjectReference{}.OpenAPIModelName()), }, }, }, @@ -12679,8 +12668,7 @@ func schema_k8sio_api_core_v1_ServiceAccountList(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ServiceAccount{}.OpenAPIModelName()), + Ref: ref(corev1.ServiceAccount{}.OpenAPIModelName()), }, }, }, @@ -12766,8 +12754,7 @@ func schema_k8sio_api_core_v1_ServiceList(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.Service{}.OpenAPIModelName()), + Ref: ref(corev1.Service{}.OpenAPIModelName()), }, }, }, @@ -12901,8 +12888,7 @@ func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.ServicePort{}.OpenAPIModelName()), + Ref: ref(corev1.ServicePort{}.OpenAPIModelName()), }, }, }, @@ -12921,9 +12907,8 @@ func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.O Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -12948,9 +12933,8 @@ func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -12976,9 +12960,8 @@ func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -13011,9 +12994,8 @@ func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -13066,10 +13048,9 @@ func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", - Enum: []interface{}{"", "IPv4", "IPv6"}, + Type: []string{"string"}, + Format: "", + Enum: []interface{}{"", "IPv4", "IPv6"}, }, }, }, @@ -13151,8 +13132,7 @@ func schema_k8sio_api_core_v1_ServiceStatus(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.Condition{}.OpenAPIModelName()), + Ref: ref(metav1.Condition{}.OpenAPIModelName()), }, }, }, @@ -13489,9 +13469,8 @@ func schema_k8sio_api_core_v1_TopologySelectorLabelRequirement(ref common.Refere Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -13523,8 +13502,7 @@ func schema_k8sio_api_core_v1_TopologySelectorTerm(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(corev1.TopologySelectorLabelRequirement{}.OpenAPIModelName()), + Ref: ref(corev1.TopologySelectorLabelRequirement{}.OpenAPIModelName()), }, }, }, @@ -13616,9 +13594,8 @@ func schema_k8sio_api_core_v1_TopologySpreadConstraint(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -13880,7 +13857,7 @@ func schema_k8sio_api_core_v1_Volume(ref common.ReferenceCallback) common.OpenAP }, "portworxVolume": { SchemaProps: spec.SchemaProps{ - Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on.", + Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver.", Ref: ref(corev1.PortworxVolumeSource{}.OpenAPIModelName()), }, }, @@ -13910,7 +13887,7 @@ func schema_k8sio_api_core_v1_Volume(ref common.ReferenceCallback) common.OpenAP }, "image": { SchemaProps: spec.SchemaProps{ - Description: "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33. The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.", + Description: "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33. The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.", Ref: ref(corev1.ImageVolumeSource{}.OpenAPIModelName()), }, }, @@ -14056,10 +14033,18 @@ func schema_k8sio_api_core_v1_VolumeMountStatus(ref common.ReferenceCallback) co Format: "", }, }, + "volumeStatus": { + SchemaProps: spec.SchemaProps{ + Description: "volumeStatus represents volume-type-specific status about the mounted volume.", + Ref: ref(corev1.VolumeStatus{}.OpenAPIModelName()), + }, + }, }, Required: []string{"name", "mountPath"}, }, }, + Dependencies: []string{ + corev1.VolumeStatus{}.OpenAPIModelName()}, } } @@ -14331,7 +14316,7 @@ func schema_k8sio_api_core_v1_VolumeSource(ref common.ReferenceCallback) common. }, "portworxVolume": { SchemaProps: spec.SchemaProps{ - Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on.", + Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver.", Ref: ref(corev1.PortworxVolumeSource{}.OpenAPIModelName()), }, }, @@ -14361,7 +14346,7 @@ func schema_k8sio_api_core_v1_VolumeSource(ref common.ReferenceCallback) common. }, "image": { SchemaProps: spec.SchemaProps{ - Description: "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33. The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.", + Description: "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33. The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.", Ref: ref(corev1.ImageVolumeSource{}.OpenAPIModelName()), }, }, @@ -14373,6 +14358,27 @@ func schema_k8sio_api_core_v1_VolumeSource(ref common.ReferenceCallback) common. } } +func schema_k8sio_api_core_v1_VolumeStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "VolumeStatus represents the status of a mounted volume. At most one of its members must be specified.", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "image": { + SchemaProps: spec.SchemaProps{ + Description: "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.", + Ref: ref(corev1.ImageVolumeStatus{}.OpenAPIModelName()), + }, + }, + }, + }, + }, + Dependencies: []string{ + corev1.ImageVolumeStatus{}.OpenAPIModelName()}, + } +} + func schema_k8sio_api_core_v1_VsphereVirtualDiskVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ @@ -14488,43 +14494,6 @@ func schema_k8sio_api_core_v1_WindowsSecurityContextOptions(ref common.Reference } } -func schema_k8sio_api_core_v1_WorkloadReference(ref common.ReferenceCallback) common.OpenAPIDefinition { - return common.OpenAPIDefinition{ - Schema: spec.Schema{ - SchemaProps: spec.SchemaProps{ - Description: "WorkloadReference identifies the Workload object and PodGroup membership that a Pod belongs to. The scheduler uses this information to apply workload-aware scheduling semantics.", - Type: []string{"object"}, - Properties: map[string]spec.Schema{ - "name": { - SchemaProps: spec.SchemaProps{ - Description: "Name defines the name of the Workload object this Pod belongs to. Workload must be in the same namespace as the Pod. If it doesn't match any existing Workload, the Pod will remain unschedulable until a Workload object is created and observed by the kube-scheduler. It must be a DNS subdomain.", - Default: "", - Type: []string{"string"}, - Format: "", - }, - }, - "podGroup": { - SchemaProps: spec.SchemaProps{ - Description: "PodGroup is the name of the PodGroup within the Workload that this Pod belongs to. If it doesn't match any existing PodGroup within the Workload, the Pod will remain unschedulable until the Workload object is recreated and observed by the kube-scheduler. It must be a DNS label.", - Default: "", - Type: []string{"string"}, - Format: "", - }, - }, - "podGroupReplicaKey": { - SchemaProps: spec.SchemaProps{ - Description: "PodGroupReplicaKey specifies the replica key of the PodGroup to which this Pod belongs. It is used to distinguish pods belonging to different replicas of the same pod group. The pod group policy is applied separately to each replica. When set, it must be a DNS label.", - Type: []string{"string"}, - Format: "", - }, - }, - }, - Required: []string{"name", "podGroup"}, - }, - }, - } -} - func schema_apimachinery_pkg_api_resource_Quantity(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.EmbedOpenAPIDefinitionIntoV2Extension(common.OpenAPIDefinition{ Schema: spec.Schema{ @@ -14614,8 +14583,7 @@ func schema_pkg_apis_meta_v1_APIGroup(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.GroupVersionForDiscovery{}.OpenAPIModelName()), + Ref: ref(metav1.GroupVersionForDiscovery{}.OpenAPIModelName()), }, }, }, @@ -14640,8 +14608,7 @@ func schema_pkg_apis_meta_v1_APIGroup(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.ServerAddressByClientCIDR{}.OpenAPIModelName()), + Ref: ref(metav1.ServerAddressByClientCIDR{}.OpenAPIModelName()), }, }, }, @@ -14689,8 +14656,7 @@ func schema_pkg_apis_meta_v1_APIGroupList(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.APIGroup{}.OpenAPIModelName()), + Ref: ref(metav1.APIGroup{}.OpenAPIModelName()), }, }, }, @@ -14765,9 +14731,8 @@ func schema_pkg_apis_meta_v1_APIResource(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -14785,9 +14750,8 @@ func schema_pkg_apis_meta_v1_APIResource(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -14805,9 +14769,8 @@ func schema_pkg_apis_meta_v1_APIResource(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -14868,8 +14831,7 @@ func schema_pkg_apis_meta_v1_APIResourceList(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.APIResource{}.OpenAPIModelName()), + Ref: ref(metav1.APIResource{}.OpenAPIModelName()), }, }, }, @@ -14917,9 +14879,8 @@ func schema_pkg_apis_meta_v1_APIVersions(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -14937,8 +14898,7 @@ func schema_pkg_apis_meta_v1_APIVersions(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.ServerAddressByClientCIDR{}.OpenAPIModelName()), + Ref: ref(metav1.ServerAddressByClientCIDR{}.OpenAPIModelName()), }, }, }, @@ -14986,9 +14946,8 @@ func schema_pkg_apis_meta_v1_ApplyOptions(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -15111,9 +15070,8 @@ func schema_pkg_apis_meta_v1_CreateOptions(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -15199,9 +15157,8 @@ func schema_pkg_apis_meta_v1_DeleteOptions(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -15269,9 +15226,8 @@ func schema_pkg_apis_meta_v1_FieldSelectorRequirement(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -15554,9 +15510,8 @@ func schema_pkg_apis_meta_v1_LabelSelector(ref common.ReferenceCallback) common. Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -15574,8 +15529,7 @@ func schema_pkg_apis_meta_v1_LabelSelector(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.LabelSelectorRequirement{}.OpenAPIModelName()), + Ref: ref(metav1.LabelSelectorRequirement{}.OpenAPIModelName()), }, }, }, @@ -15629,9 +15583,8 @@ func schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -15729,9 +15682,17 @@ func schema_pkg_apis_meta_v1_ListMeta(ref common.ReferenceCallback) common.OpenA Format: "int64", }, }, + "shardInfo": { + SchemaProps: spec.SchemaProps{ + Description: "shardInfo is set when the list is a filtered subset of the full collection, as selected by a shard selector on the request. It echoes back the selector so clients can verify which shard they received and merge sharded responses. Clients should not cache sharded list responses as a full representation of the collection.\n\nThis is an alpha field and requires enabling the ShardedListAndWatch feature gate.", + Ref: ref(metav1.ShardInfo{}.OpenAPIModelName()), + }, + }, }, }, }, + Dependencies: []string{ + metav1.ShardInfo{}.OpenAPIModelName()}, } } @@ -15826,6 +15787,13 @@ func schema_pkg_apis_meta_v1_ListOptions(ref common.ReferenceCallback) common.Op Format: "", }, }, + "shardSelector": { + SchemaProps: spec.SchemaProps{ + Description: "shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges:\n\n shardRange(object.metadata.uid, '0x0', '0x8000000000000000')\n shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000')\n\nField paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths:\n - object.metadata.uid\n - object.metadata.namespace\n\nhexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64.\n\nExamples:\n 2-shard split:\n shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000')\n shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000')\n 4-shard split:\n shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000')\n shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000')\n shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000')\n shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000')\n\nThis is an alpha field and requires enabling the ShardedListAndWatch feature gate.", + Type: []string{"string"}, + Format: "", + }, + }, }, }, }, @@ -15989,9 +15957,8 @@ func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.Ope Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -16005,9 +15972,8 @@ func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.Ope Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -16030,8 +15996,7 @@ func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.OwnerReference{}.OpenAPIModelName()), + Ref: ref(metav1.OwnerReference{}.OpenAPIModelName()), }, }, }, @@ -16050,9 +16015,8 @@ func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -16070,8 +16034,7 @@ func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.ManagedFieldsEntry{}.OpenAPIModelName()), + Ref: ref(metav1.ManagedFieldsEntry{}.OpenAPIModelName()), }, }, }, @@ -16221,8 +16184,7 @@ func schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.PartialObjectMetadata{}.OpenAPIModelName()), + Ref: ref(metav1.PartialObjectMetadata{}.OpenAPIModelName()), }, }, }, @@ -16281,9 +16243,8 @@ func schema_pkg_apis_meta_v1_PatchOptions(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -16362,9 +16323,8 @@ func schema_pkg_apis_meta_v1_RootPaths(ref common.ReferenceCallback) common.Open Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -16407,6 +16367,28 @@ func schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref common.ReferenceCallb } } +func schema_pkg_apis_meta_v1_ShardInfo(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "ShardInfo describes the shard selector that was applied to produce a list response. Its presence on a list response indicates the list is a filtered subset.", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "selector": { + SchemaProps: spec.SchemaProps{ + Description: "selector is the shard selector string from the request, echoed back so clients can verify which shard they received and merge responses from multiple shards.", + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + Required: []string{"selector"}, + }, + }, + } +} + func schema_pkg_apis_meta_v1_Status(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ @@ -16558,8 +16540,7 @@ func schema_pkg_apis_meta_v1_StatusDetails(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.StatusCause{}.OpenAPIModelName()), + Ref: ref(metav1.StatusCause{}.OpenAPIModelName()), }, }, }, @@ -16620,8 +16601,7 @@ func schema_pkg_apis_meta_v1_Table(ref common.ReferenceCallback) common.OpenAPID Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.TableColumnDefinition{}.OpenAPIModelName()), + Ref: ref(metav1.TableColumnDefinition{}.OpenAPIModelName()), }, }, }, @@ -16639,8 +16619,7 @@ func schema_pkg_apis_meta_v1_Table(ref common.ReferenceCallback) common.OpenAPID Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.TableRow{}.OpenAPIModelName()), + Ref: ref(metav1.TableRow{}.OpenAPIModelName()), }, }, }, @@ -16781,8 +16760,7 @@ func schema_pkg_apis_meta_v1_TableRow(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.TableRowCondition{}.OpenAPIModelName()), + Ref: ref(metav1.TableRowCondition{}.OpenAPIModelName()), }, }, }, @@ -16949,9 +16927,8 @@ func schema_pkg_apis_meta_v1_UpdateOptions(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, diff --git a/binding/amdsmi/library.go b/binding/amdsmi/library.go index 00c81536b..02ed35e31 100644 --- a/binding/amdsmi/library.go +++ b/binding/amdsmi/library.go @@ -71,7 +71,8 @@ func New(opts ...binding.LibraryOption) *AMDSMI { []binding.LibraryOption{ binding.WithLibraryLoadFlags(dl.RTLD_LAZY | dl.RTLD_GLOBAL | dl.RTLD_DEEPBIND), }, - opts...) + opts..., + ) so := binding.NewLibrary(soPaths, opts...) diff --git a/binding/amdsmi/library_device.go b/binding/amdsmi/library_device.go index 3af264d70..a68cdc97b 100644 --- a/binding/amdsmi/library_device.go +++ b/binding/amdsmi/library_device.go @@ -111,7 +111,8 @@ func isUnsupportedSerial(serial string) bool { // claim, whereas a surviving sentinel is silently accepted as one. func (info AsicInfo) GetAsicSerial() string { ret := strings.TrimPrefix( - strings.ToLower(C.GoString((*C.char)(unsafe.Pointer(&info.Asic_serial[0])))), "0x") + strings.ToLower(C.GoString((*C.char)(unsafe.Pointer(&info.Asic_serial[0])))), "0x", + ) if ret == "n/a" || isUnsupportedSerial(ret) { return "" } diff --git a/binding/hgml/library_device.go b/binding/hgml/library_device.go index 8f4ab4cb9..8a4258047 100644 --- a/binding/hgml/library_device.go +++ b/binding/hgml/library_device.go @@ -841,7 +841,8 @@ func (l ComputeInstanceProfileInfoHandler) V1() (ComputeInstanceProfileInfo_v3, l.gpuInstance, l.gpuInstanceProfileId, l.computeInstanceProfileId, - &info) + &info, + ) return ComputeInstanceProfileInfo_v3{ Id: info.Id, SliceCount: info.SliceCount, @@ -866,7 +867,8 @@ func (l ComputeInstanceProfileInfoHandler) V2() (ComputeInstanceProfileInfo_v3, l.gpuInstance, l.gpuInstanceProfileId, l.computeInstanceProfileId, - &info) + &info, + ) return ComputeInstanceProfileInfo_v3{ Version: info.Version, Id: info.Id, @@ -951,10 +953,12 @@ func (l Device) gpuInstancePossiblePlacements(symbol string, call gpuInstancePos // fallback, mirroring the V1/V2/V3 profile-info handlers. func (l Device) GetGpuInstancePossiblePlacements(profileId uint32) ([]GpuInstancePlacement, Return) { placements, ret := l.gpuInstancePossiblePlacements( - "hgmlDeviceGetGpuInstancePossiblePlacements_v2", hgmlDeviceGetGpuInstancePossiblePlacements_v2, profileId) + "hgmlDeviceGetGpuInstancePossiblePlacements_v2", hgmlDeviceGetGpuInstancePossiblePlacements_v2, profileId, + ) if ret == ERROR_FUNCTION_NOT_FOUND { return l.gpuInstancePossiblePlacements( - "hgmlDeviceGetGpuInstancePossiblePlacements", hgmlDeviceGetGpuInstancePossiblePlacements, profileId) + "hgmlDeviceGetGpuInstancePossiblePlacements", hgmlDeviceGetGpuInstancePossiblePlacements, profileId, + ) } return placements, ret } @@ -1071,7 +1075,8 @@ func (l GpuInstance) GetComputeInstances(ciProfileIndex uint32) ([]ComputeInstan // (see GetGpuInstances) so the library is never handed a zero-capacity buffer. count := uint32(len(handles)) if ret := hgmlGpuInstanceGetComputeInstances( - l.gpuInstance, profileInfo.Id, &handles[0], &count); !ret.IsSuccess() { + l.gpuInstance, profileInfo.Id, &handles[0], &count, + ); !ret.IsSuccess() { return nil, ret } // Bound the library's out-count by the buffer it was given (see GetGpuInstances). diff --git a/binding/hsa/cgo_helpers_static.go b/binding/hsa/cgo_helpers_static.go index 7c773b129..3fcb29732 100644 --- a/binding/hsa/cgo_helpers_static.go +++ b/binding/hsa/cgo_helpers_static.go @@ -152,13 +152,15 @@ func hsaAgentGetInfoComputeUnitCount(agent Agent) (uint32, Return) { func hsaAgentGetInfoNumShaderEngines(agent Agent) (uint32, Return) { var numShaderEngines uint32 return numShaderEngines, hsaAgentGetInfo( - agent, AgentInfo(AMD_AGENT_INFO_NUM_SHADER_ENGINES), unsafe.Pointer(&numShaderEngines)) + agent, AgentInfo(AMD_AGENT_INFO_NUM_SHADER_ENGINES), unsafe.Pointer(&numShaderEngines), + ) } func hsaAgentGetInfoNumShaderArraysPerSE(agent Agent) (uint32, Return) { var numShaderArraysPerSE uint32 return numShaderArraysPerSE, hsaAgentGetInfo( - agent, AgentInfo(AMD_AGENT_INFO_NUM_SHADER_ARRAYS_PER_SE), unsafe.Pointer(&numShaderArraysPerSE)) + agent, AgentInfo(AMD_AGENT_INFO_NUM_SHADER_ARRAYS_PER_SE), unsafe.Pointer(&numShaderArraysPerSE), + ) } func hsaAgentGetInfoNumXcc(agent Agent) (uint32, Return) { diff --git a/binding/nvml/library_device.go b/binding/nvml/library_device.go index 68ce17973..c32b2e095 100644 --- a/binding/nvml/library_device.go +++ b/binding/nvml/library_device.go @@ -869,7 +869,8 @@ func (l ComputeInstanceProfileInfoHandler) V1() (ComputeInstanceProfileInfo_v3, l.gpuInstance, l.gpuInstanceProfileId, l.computeInstanceProfileId, - &info) + &info, + ) return ComputeInstanceProfileInfo_v3{ Id: info.Id, SliceCount: info.SliceCount, @@ -894,7 +895,8 @@ func (l ComputeInstanceProfileInfoHandler) V2() (ComputeInstanceProfileInfo_v3, l.gpuInstance, l.gpuInstanceProfileId, l.computeInstanceProfileId, - &info) + &info, + ) return ComputeInstanceProfileInfo_v3{ Version: info.Version, Id: info.Id, @@ -980,10 +982,12 @@ func (l Device) gpuInstancePossiblePlacements(symbol string, call gpuInstancePos // fallback, mirroring the V1/V2/V3 profile-info handlers. func (l Device) GetGpuInstancePossiblePlacements(profileId uint32) ([]GpuInstancePlacement, Return) { placements, ret := l.gpuInstancePossiblePlacements( - "nvmlDeviceGetGpuInstancePossiblePlacements_v2", nvmlDeviceGetGpuInstancePossiblePlacements_v2, profileId) + "nvmlDeviceGetGpuInstancePossiblePlacements_v2", nvmlDeviceGetGpuInstancePossiblePlacements_v2, profileId, + ) if ret == ERROR_FUNCTION_NOT_FOUND { return l.gpuInstancePossiblePlacements( - "nvmlDeviceGetGpuInstancePossiblePlacements", nvmlDeviceGetGpuInstancePossiblePlacements, profileId) + "nvmlDeviceGetGpuInstancePossiblePlacements", nvmlDeviceGetGpuInstancePossiblePlacements, profileId, + ) } return placements, ret } @@ -1103,7 +1107,8 @@ func (l GpuInstance) GetComputeInstances(ciProfileIndex uint32) ([]ComputeInstan // (see GetGpuInstances) so NVML is never handed a zero-capacity buffer. count := uint32(len(handles)) if ret := nvmlGpuInstanceGetComputeInstances( - l.gpuInstance, profileInfo.Id, &handles[0], &count); !ret.IsSuccess() { + l.gpuInstance, profileInfo.Id, &handles[0], &count, + ); !ret.IsSuccess() { return nil, ret } // Bound NVML's out-count by the buffer it was given (see GetGpuInstances). diff --git a/gen/api/builder/generate.go b/gen/api/builder/generate.go index 67555637e..021ef32e5 100644 --- a/gen/api/builder/generate.go +++ b/gen/api/builder/generate.go @@ -1,6 +1,7 @@ package builder import ( + "errors" "fmt" "os" "path" @@ -147,6 +148,23 @@ func Generate(c Config) error { if len(internalAPIs) > 0 { klog.Info("executing go-to-protobuf") + // The proto message markers are not produced any more. The upstream generator + // used to write a second file holding the empty ProtoMessage markers behind a + // build tag, and it used to remove that file when the markers went away. It + // now does neither, so a checked-in copy would survive as an orphan that no + // longer matches the API types. The stale copy is removed before the run, so + // that a generator which emits the file again would simply write it afresh. + for i := range internalAPIs { + protomessageFile := filepath.Join( + c.ProjectDir, + strings.TrimPrefix(internalAPIs[i], c.Project), + "generated.protomessage.pb.go", + ) + if err := osx.DurableRemove(protomessageFile); err != nil && !errors.Is(err, os.ErrNotExist) { + return fmt.Errorf("remove obsolete proto message markers: %w", err) + } + } + protoGenAPIMachineryPackages := make([]string, 0, len(c.MachineryAPIs)) for _, api := range c.MachineryAPIs { protoGenAPIMachineryPackages = append(protoGenAPIMachineryPackages, "-"+api) diff --git a/gen/api/generator/cmd/crd-gen/generators/helper.go b/gen/api/generator/cmd/crd-gen/generators/helper.go index 5dbc8b58f..f57c9bf70 100644 --- a/gen/api/generator/cmd/crd-gen/generators/helper.go +++ b/gen/api/generator/cmd/crd-gen/generators/helper.go @@ -362,7 +362,8 @@ var ( apiext.FieldValueRequired, apiext.FieldValueDuplicate, apiext.FieldValueInvalid, - apiext.FieldValueForbidden) + apiext.FieldValueForbidden, + ) ) // schemeType reflects the given type into a JSONSchemaProps . diff --git a/gen/api/generator/cmd/crd-gen/generators/testdata/crd_gen/zz_generated.crds.go b/gen/api/generator/cmd/crd-gen/generators/testdata/crd_gen/zz_generated.crds.go index 2ea793e8c..5a6c55273 100644 --- a/gen/api/generator/cmd/crd-gen/generators/testdata/crd_gen/zz_generated.crds.go +++ b/gen/api/generator/cmd/crd-gen/generators/testdata/crd_gen/zz_generated.crds.go @@ -1263,7 +1263,7 @@ func crd_crd_gen_generators_testdata_crd_gen_Dummy() *v1.CustomResourceDefinitio Nullable: true, }, "procMount": { - Description: "procMount denotes the type of proc mount to use for the containers.\nThe default value is Default which uses the container runtime defaults for\nreadonly paths and masked paths.\nThis requires the ProcMountType feature flag to be enabled.\nNote that this field cannot be set when spec.os.name is windows.", + Description: "procMount denotes the type of proc mount to use for the containers.\nThe default value is Default which uses the container runtime defaults for\nreadonly paths and masked paths.\nNote that this field cannot be set when spec.os.name is windows.", Type: "string", Nullable: true, }, diff --git a/gen/api/generator/cmd/crd-gen/generators/testdata/crd_gen/zz_generated.crds.go.expected b/gen/api/generator/cmd/crd-gen/generators/testdata/crd_gen/zz_generated.crds.go.expected index 2ea793e8c..5a6c55273 100644 --- a/gen/api/generator/cmd/crd-gen/generators/testdata/crd_gen/zz_generated.crds.go.expected +++ b/gen/api/generator/cmd/crd-gen/generators/testdata/crd_gen/zz_generated.crds.go.expected @@ -1263,7 +1263,7 @@ func crd_crd_gen_generators_testdata_crd_gen_Dummy() *v1.CustomResourceDefinitio Nullable: true, }, "procMount": { - Description: "procMount denotes the type of proc mount to use for the containers.\nThe default value is Default which uses the container runtime defaults for\nreadonly paths and masked paths.\nThis requires the ProcMountType feature flag to be enabled.\nNote that this field cannot be set when spec.os.name is windows.", + Description: "procMount denotes the type of proc mount to use for the containers.\nThe default value is Default which uses the container runtime defaults for\nreadonly paths and masked paths.\nNote that this field cannot be set when spec.os.name is windows.", Type: "string", Nullable: true, }, diff --git a/gen/api/generator/cmd/webhook-gen/generators/helper.go b/gen/api/generator/cmd/webhook-gen/generators/helper.go index 05b9a5d7f..4923e2636 100644 --- a/gen/api/generator/cmd/webhook-gen/generators/helper.go +++ b/gen/api/generator/cmd/webhook-gen/generators/helper.go @@ -22,25 +22,31 @@ var ( admreg.Create, admreg.Delete, admreg.Update, - admreg.Connect) + admreg.Connect, + ) knownScopes = sets.New( admreg.NamespacedScope, admreg.ClusterScope, - admreg.AllScopes) + admreg.AllScopes, + ) knownFailurePolicies = sets.New( admreg.Fail, - admreg.Ignore) + admreg.Ignore, + ) knownMatchPolicies = sets.New( admreg.Exact, - admreg.Equivalent) + admreg.Equivalent, + ) knownSideEffects = sets.New( admreg.SideEffectClassUnknown, admreg.SideEffectClassSome, admreg.SideEffectClassNone, - admreg.SideEffectClassNoneOnDryRun) + admreg.SideEffectClassNoneOnDryRun, + ) knownReinvocationPolicies = sets.New( admreg.NeverReinvocationPolicy, - admreg.IfNeededReinvocationPolicy) + admreg.IfNeededReinvocationPolicy, + ) ) // reflectType reflects the type into a WebhookTypeDefinition, diff --git a/gen/api/main.go b/gen/api/main.go index 69d79b422..50ce96c92 100644 --- a/gen/api/main.go +++ b/gen/api/main.go @@ -57,7 +57,8 @@ func resolveProjectDir(pwd string) (string, error) { "working directory %q does not end in the module import path %q: "+ "the generators derive their output base by trimming it off, so running here "+ "would write to the wrong tree; run from a checkout whose resolved path ends in %[2]q", - resolved, projectModule) + resolved, projectModule, + ) } return normalized, nil diff --git a/go.mod b/go.mod index f7d9042c3..9b35c950b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module gpustack.ai/gpustack -go 1.26.9 +go 1.27.3 // This is a workaround to support generating proto from base external packages. // If we bump the version of the base external packages, we need to update the staging. @@ -27,6 +27,7 @@ require ( github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc github.com/distribution/reference v0.6.0 github.com/evanphx/json-patch v5.9.11+incompatible + github.com/evanphx/json-patch/v5 v5.9.11 github.com/go-logr/logr v1.4.3 github.com/go-openapi/inflect v0.21.5 github.com/go-task/slim-sprig/v3 v3.0.0 @@ -38,11 +39,11 @@ require ( github.com/hashicorp/go-multierror v1.1.1 github.com/henvic/httpretty v0.1.4 github.com/jonboulle/clockwork v0.5.0 - github.com/mattn/go-runewidth v0.0.19 + github.com/mattn/go-runewidth v0.0.23 github.com/patrickmn/go-cache v2.1.1-0.20191004192108-46f407853014+incompatible github.com/prometheus/client_golang v1.23.2 github.com/prometheus/client_model v0.6.2 - github.com/prometheus/common v0.67.5 + github.com/prometheus/common v0.70.0 github.com/robfig/cron/v3 v3.0.1 github.com/spf13/cobra v1.10.2 github.com/spf13/pflag v1.0.10 @@ -52,49 +53,52 @@ require ( go.uber.org/atomic v1.11.0 go.uber.org/automaxprocs v1.6.0 go.uber.org/multierr v1.11.0 - golang.org/x/crypto v0.49.0 - golang.org/x/exp v0.0.0-20260112195511-716be5621a96 - golang.org/x/mod v0.33.0 - golang.org/x/net v0.52.0 - golang.org/x/sync v0.20.0 - golang.org/x/sys v0.42.0 - golang.org/x/text v0.35.0 - golang.org/x/time v0.14.0 - google.golang.org/grpc v1.80.0 + golang.org/x/crypto v0.55.0 + golang.org/x/exp v0.0.0-20260410095643-746e56fc9e2f + golang.org/x/mod v0.38.0 + golang.org/x/net v0.58.0 + golang.org/x/sync v0.22.0 + golang.org/x/sys v0.47.0 + golang.org/x/text v0.41.0 + golang.org/x/time v0.15.0 + google.golang.org/grpc v1.83.2 gopkg.in/yaml.v3 v3.0.1 - helm.sh/helm/v3 v3.21.0 - k8s.io/api v0.35.3 - k8s.io/apiextensions-apiserver v0.35.3 - k8s.io/apimachinery v0.35.3 - k8s.io/apiserver v0.35.3 - k8s.io/cli-runtime v0.35.3 - k8s.io/client-go v0.35.3 - k8s.io/code-generator v0.35.3 - k8s.io/component-base v0.35.3 + helm.sh/helm/v3 v3.21.4 + k8s.io/api v0.36.5 + k8s.io/apiextensions-apiserver v0.36.5 + k8s.io/apimachinery v0.36.5 + k8s.io/apiserver v0.36.5 + k8s.io/cli-runtime v0.36.5 + k8s.io/client-go v0.36.5 + k8s.io/code-generator v0.36.5 + k8s.io/component-base v0.36.5 + k8s.io/component-helpers v0.36.5 + k8s.io/cri-streaming v0.36.5 k8s.io/gengo/v2 v2.0.0-20251215205346-5ee0d033ba5b k8s.io/klog/v2 v2.140.0 - k8s.io/kube-aggregator v0.35.1 - k8s.io/kube-openapi v0.0.0-20260127142750-a19766b6e2d4 - k8s.io/kubectl v0.35.3 - k8s.io/kubelet v0.35.1 - k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2 - sigs.k8s.io/controller-runtime v0.23.3 - sigs.k8s.io/kueue v0.17.1 + k8s.io/kube-aggregator v0.36.5 + k8s.io/kube-openapi v0.0.0-20260618221249-bc653b64f974 + k8s.io/kubectl v0.36.5 + k8s.io/kubelet v0.36.5 + k8s.io/utils v0.0.0-20260626114624-be93311217bd + sigs.k8s.io/controller-runtime v0.24.1 + sigs.k8s.io/kueue v0.19.10 sigs.k8s.io/node-feature-discovery/api/nfd v0.0.0-20260410111035-2c517aa1a8c1 - sigs.k8s.io/structured-merge-diff/v6 v6.3.2 + sigs.k8s.io/structured-merge-diff/v6 v6.4.2 sigs.k8s.io/yaml v1.6.0 ) require ( - cel.dev/expr v0.25.1 // indirect + cel.dev/expr v0.25.2 // indirect dario.cat/mergo v1.0.1 // indirect github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c // indirect github.com/MakeNowJust/heredoc v1.0.0 // indirect github.com/Masterminds/goutils v1.1.1 // indirect - github.com/Masterminds/semver/v3 v3.4.0 // indirect + github.com/Masterminds/semver/v3 v3.5.0 // indirect github.com/Masterminds/sprig/v3 v3.3.0 // indirect github.com/Masterminds/squirrel v1.5.4 // indirect github.com/NYTimes/gziphandler v1.1.1 // indirect + github.com/ProtonMail/go-crypto v1.4.1 // indirect github.com/akerl/timber v0.0.0-20180929185520-02c471ab033b // indirect github.com/antlr4-go/antlr/v4 v4.13.1 // indirect github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect @@ -103,50 +107,45 @@ require ( github.com/cenkalti/backoff/v5 v5.0.3 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/chai2010/gettext-go v1.0.3 // indirect - github.com/clipperhouse/uax29/v2 v2.2.0 // indirect - github.com/containerd/containerd v1.7.30 // indirect - github.com/containerd/errdefs v1.0.0 // indirect - github.com/containerd/log v0.1.0 // indirect - github.com/containerd/platforms v0.2.1 // indirect + github.com/clipperhouse/uax29/v2 v2.7.0 // indirect + github.com/cloudflare/circl v1.6.3 // indirect github.com/coreos/go-semver v0.3.1 // indirect - github.com/coreos/go-systemd/v22 v22.5.0 // indirect - github.com/cyphar/filepath-securejoin v0.6.1 // indirect + github.com/coreos/go-systemd/v22 v22.7.0 // indirect + github.com/cyphar/filepath-securejoin v0.7.0 // indirect github.com/emicklei/go-restful/v3 v3.13.0 // indirect - github.com/evanphx/json-patch/v5 v5.9.11 // indirect github.com/exponent-io/jsonpath v0.0.0-20210407135951-1de76d718b3f // indirect github.com/fatih/camelcase v1.0.0 // indirect - github.com/fatih/color v1.18.0 // indirect + github.com/fatih/color v1.19.0 // indirect github.com/felixge/httpsnoop v1.0.4 // indirect - github.com/fsnotify/fsnotify v1.9.0 // indirect - github.com/fxamacker/cbor/v2 v2.9.0 // indirect + github.com/fsnotify/fsnotify v1.10.1 // indirect + github.com/fxamacker/cbor/v2 v2.9.1 // indirect github.com/go-errors/errors v1.5.1 // indirect github.com/go-gorp/gorp/v3 v3.1.0 // indirect github.com/go-logr/stdr v1.2.2 // indirect - github.com/go-openapi/jsonpointer v0.22.4 // indirect - github.com/go-openapi/jsonreference v0.21.4 // indirect - github.com/go-openapi/swag v0.25.4 // indirect - github.com/go-openapi/swag/cmdutils v0.25.4 // indirect - github.com/go-openapi/swag/conv v0.25.4 // indirect - github.com/go-openapi/swag/fileutils v0.25.4 // indirect - github.com/go-openapi/swag/jsonname v0.25.4 // indirect - github.com/go-openapi/swag/jsonutils v0.25.4 // indirect - github.com/go-openapi/swag/loading v0.25.4 // indirect - github.com/go-openapi/swag/mangling v0.25.4 // indirect - github.com/go-openapi/swag/netutils v0.25.4 // indirect - github.com/go-openapi/swag/stringutils v0.25.4 // indirect - github.com/go-openapi/swag/typeutils v0.25.4 // indirect - github.com/go-openapi/swag/yamlutils v0.25.4 // indirect + github.com/go-openapi/jsonpointer v0.23.1 // indirect + github.com/go-openapi/jsonreference v0.21.5 // indirect + github.com/go-openapi/swag v0.26.0 // indirect + github.com/go-openapi/swag/cmdutils v0.26.0 // indirect + github.com/go-openapi/swag/conv v0.26.0 // indirect + github.com/go-openapi/swag/fileutils v0.26.0 // indirect + github.com/go-openapi/swag/jsonname v0.26.0 // indirect + github.com/go-openapi/swag/jsonutils v0.26.0 // indirect + github.com/go-openapi/swag/loading v0.26.0 // indirect + github.com/go-openapi/swag/mangling v0.26.0 // indirect + github.com/go-openapi/swag/netutils v0.26.0 // indirect + github.com/go-openapi/swag/stringutils v0.26.0 // indirect + github.com/go-openapi/swag/typeutils v0.26.0 // indirect + github.com/go-openapi/swag/yamlutils v0.26.0 // indirect github.com/gobwas/glob v0.2.3 // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/protobuf v1.5.4 // indirect github.com/google/btree v1.1.3 // indirect - github.com/google/cel-go v0.26.0 // indirect + github.com/google/cel-go v0.27.0 // indirect github.com/google/gnostic-models v0.7.1 // indirect - github.com/google/go-cmp v0.7.0 // indirect github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 // indirect github.com/gosuri/uitable v0.0.4 // indirect - github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect - github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect + github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.1.0 // indirect + github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.3.3 // indirect github.com/grpc-ecosystem/grpc-gateway/v2 v2.28.0 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/golang-lru/arc/v2 v2.0.7 // indirect @@ -154,14 +153,13 @@ require ( github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jmoiron/sqlx v1.4.0 // indirect github.com/json-iterator/go v1.1.12 // indirect - github.com/klauspost/compress v1.18.1 // indirect - github.com/kubeflow/mpi-operator v0.8.0 // indirect - github.com/kubeflow/trainer/v2 v2.2.0 // indirect + github.com/kubeflow/mpi-operator v0.8.2 // indirect + github.com/kubeflow/trainer/v2 v2.2.1 // indirect github.com/kubeflow/training-operator v1.9.3 // indirect github.com/kylelemons/godebug v1.1.0 // indirect github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 // indirect github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 // indirect - github.com/lib/pq v1.11.2 // indirect + github.com/lib/pq v1.12.3 // indirect github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect github.com/mattn/go-colorable v0.1.14 // indirect github.com/mattn/go-isatty v0.0.20 // indirect @@ -169,66 +167,73 @@ require ( github.com/mitchellh/copystructure v1.2.0 // indirect github.com/mitchellh/go-wordwrap v1.0.1 // indirect github.com/mitchellh/reflectwalk v1.0.2 // indirect - github.com/moby/spdystream v0.5.0 // indirect + github.com/moby/spdystream v0.5.1 // indirect github.com/moby/term v0.5.2 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect - github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect github.com/opencontainers/go-digest v1.0.0 // indirect github.com/opencontainers/image-spec v1.1.1 // indirect github.com/peterbourgon/diskv v2.0.1+incompatible // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect - github.com/project-codeflare/appwrapper v1.2.0 // indirect - github.com/prometheus/procfs v0.20.1 // indirect - github.com/ray-project/kuberay/ray-operator v1.6.0 // indirect + github.com/project-codeflare/appwrapper v1.2.2 // indirect + github.com/prometheus/procfs v0.21.0 // indirect + github.com/ray-project/kuberay/ray-operator v1.6.2 // indirect github.com/rubenv/sql-migrate v1.8.1 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 // indirect github.com/shopspring/decimal v1.4.0 // indirect github.com/sirupsen/logrus v1.9.4 // indirect github.com/spf13/cast v1.7.0 // indirect - github.com/stoewer/go-strcase v1.3.1 // indirect github.com/tidwall/match v1.1.1 // indirect github.com/tidwall/pretty v1.2.0 // indirect github.com/x448/float16 v0.8.4 // indirect github.com/xlab/treeprint v1.2.0 // indirect - go.etcd.io/etcd/api/v3 v3.6.5 // indirect - go.etcd.io/etcd/client/pkg/v3 v3.6.5 // indirect - go.etcd.io/etcd/client/v3 v3.6.5 // indirect + go.etcd.io/etcd/api/v3 v3.6.8 // indirect + go.etcd.io/etcd/client/pkg/v3 v3.6.8 // indirect + go.etcd.io/etcd/client/v3 v3.6.8 // indirect go.opentelemetry.io/auto/sdk v1.2.1 // indirect - go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.61.0 // indirect + go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.68.0 // indirect - go.opentelemetry.io/otel v1.43.0 // indirect + go.opentelemetry.io/otel v1.44.0 // indirect go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.43.0 // indirect go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.43.0 // indirect - go.opentelemetry.io/otel/metric v1.43.0 // indirect - go.opentelemetry.io/otel/sdk v1.43.0 // indirect - go.opentelemetry.io/otel/trace v1.43.0 // indirect + go.opentelemetry.io/otel/metric v1.44.0 // indirect + go.opentelemetry.io/otel/sdk v1.44.0 // indirect + go.opentelemetry.io/otel/trace v1.44.0 // indirect go.opentelemetry.io/proto/otlp v1.10.0 // indirect - go.uber.org/zap v1.27.1 // indirect + go.uber.org/zap v1.28.0 // indirect go.yaml.in/yaml/v2 v2.4.4 // indirect go.yaml.in/yaml/v3 v3.0.4 // indirect - golang.org/x/oauth2 v0.35.0 // indirect - golang.org/x/term v0.41.0 // indirect - golang.org/x/tools v0.42.0 // indirect + golang.org/x/oauth2 v0.36.0 // indirect + golang.org/x/term v0.45.0 // indirect + golang.org/x/tools v0.48.0 // indirect gomodules.xyz/jsonpatch/v2 v2.5.0 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20260401024825-9d38bb4040a9 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20260406210006-6f92a3bedf2d // indirect - google.golang.org/protobuf v1.36.11 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20260526163538-3dc84a4a5aaa // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20260610212136-7ab31c22f7ad // indirect + google.golang.org/protobuf v1.36.12 // indirect gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect - k8s.io/component-helpers v0.35.3 // indirect - k8s.io/kms v0.35.3 // indirect - oras.land/oras-go/v2 v2.6.0 // indirect - sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.33.0 // indirect - sigs.k8s.io/jobset v0.11.1 // indirect + k8s.io/dynamic-resource-allocation v0.36.2 // indirect + k8s.io/kms v0.36.5 // indirect + k8s.io/streaming v0.36.5 // indirect + oras.land/oras-go/v2 v2.6.1 // indirect + sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.34.0 // indirect + sigs.k8s.io/jobset v0.12.0 // indirect sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect - sigs.k8s.io/kustomize/api v0.20.1 // indirect - sigs.k8s.io/kustomize/kyaml v0.20.1 // indirect + sigs.k8s.io/kustomize/api v0.21.1 // indirect + sigs.k8s.io/kustomize/kyaml v0.21.1 // indirect sigs.k8s.io/randfill v1.0.0 // indirect volcano.sh/apis v1.14.0 // indirect ) + +// The Kueue SDK requires a copy of the CSI translation library from the +// Kubernetes 1.32 line, while every other Kubernetes module here is on the +// 1.36 line. No package here imports that library, so the stale version is +// excluded rather than left on an older line unnoticed. The exclusion covers +// that one version only: a version that does import the library has to select +// the release cohort and pass the modules check. +exclude k8s.io/csi-translation-lib v0.32.5 diff --git a/go.sum b/go.sum index 72fad5e28..0892d9677 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -cel.dev/expr v0.25.1 h1:1KrZg61W6TWSxuNZ37Xy49ps13NUovb66QLprthtwi4= -cel.dev/expr v0.25.1/go.mod h1:hrXvqGP6G6gyx8UAHSHJ5RGk//1Oj5nXQ2NI02Nrsg4= +cel.dev/expr v0.25.2 h1:K6j46C81hXtZQfuX60cVWQFBJahKSE2gfRbNuvr5bFs= +cel.dev/expr v0.25.2/go.mod h1:hrXvqGP6G6gyx8UAHSHJ5RGk//1Oj5nXQ2NI02Nrsg4= dario.cat/mergo v1.0.1 h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s= dario.cat/mergo v1.0.1/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA= @@ -16,14 +16,16 @@ github.com/MakeNowJust/heredoc v1.0.0 h1:cXCdzVdstXyiTqTvfqk9SDHpKNjxuom+DOlyEeQ github.com/MakeNowJust/heredoc v1.0.0/go.mod h1:mG5amYoWBHf8vpLOuehzbGGw0EHxpZZ6lCpQ4fNJ8LE= github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= -github.com/Masterminds/semver/v3 v3.4.0 h1:Zog+i5UMtVoCU8oKka5P7i9q9HgrJeGzI9SA1Xbatp0= -github.com/Masterminds/semver/v3 v3.4.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= +github.com/Masterminds/semver/v3 v3.5.0 h1:kQceYJfbupGfZOKZQg0kou0DgAKhzDg2NZPAwZ/2OOE= +github.com/Masterminds/semver/v3 v3.5.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= github.com/Masterminds/sprig/v3 v3.3.0 h1:mQh0Yrg1XPo6vjYXgtf5OtijNAKJRNcTdOOGZe3tPhs= github.com/Masterminds/sprig/v3 v3.3.0/go.mod h1:Zy1iXRYNqNLUolqCpL4uhk6SHUMAOSCzdgBfDb35Lz0= github.com/Masterminds/squirrel v1.5.4 h1:uUcX/aBc8O7Fg9kaISIUsHXdKuqehiXAMQTYX8afzqM= github.com/Masterminds/squirrel v1.5.4/go.mod h1:NNaOrjSoIDfDA40n7sr2tPNZRfjzjA400rg+riTZj10= github.com/NYTimes/gziphandler v1.1.1 h1:ZUDjpQae29j0ryrS0u/B8HZfJBtBQHjqw2rQ2cqUQ3I= github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= +github.com/ProtonMail/go-crypto v1.4.1 h1:9RfcZHqEQUvP8RzecWEUafnZVtEvrBVL9BiF67IQOfM= +github.com/ProtonMail/go-crypto v1.4.1/go.mod h1:e1OaTyu5SYVrO9gKOEhTc+5UcXtTUa+P3uLudwcgPqo= github.com/akerl/go-indefinite-article v0.0.1 h1:9zZDPScNTjbSy0wUrypWCsrfTK6hNlPXxAkc63Nl4vg= github.com/akerl/go-indefinite-article v0.0.1/go.mod h1:tQiPY+GYuK0LmC6ix1F/qQwTf2i6a1Uay7LnOFvg3H8= github.com/akerl/timber v0.0.0-20180929185520-02c471ab033b h1:x0+XThZ4DzJvakXxMcbFNaBAjuiF9stvVIxo4zVNTxM= @@ -40,51 +42,48 @@ github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM= github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= -github.com/bshuster-repo/logrus-logstash-hook v1.0.0 h1:e+C0SB5R1pu//O4MQ3f9cFuPGoOVeF2fE4Og9otCc70= -github.com/bshuster-repo/logrus-logstash-hook v1.0.0/go.mod h1:zsTqEiSzDgAa/8GZR7E1qaXrhYNDKBYy5/dWPTIflbk= +github.com/bshuster-repo/logrus-logstash-hook v1.1.0 h1:o2FzZifLg+z/DN1OFmzTWzZZx/roaqt8IPZCIVco8r4= +github.com/bshuster-repo/logrus-logstash-hook v1.1.0/go.mod h1:Q2aXOe7rNuPgbBtPCOzYyWDvKX7+FpxE5sRdvcPoui0= github.com/cenkalti/backoff/v5 v5.0.3 h1:ZN+IMa753KfX5hd8vVaMixjnqRZ3y8CuJKRKj1xcsSM= github.com/cenkalti/backoff/v5 v5.0.3/go.mod h1:rkhZdG3JZukswDf7f0cwqPNk4K0sa+F97BxZthm/crw= github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/chai2010/gettext-go v1.0.3 h1:9liNh8t+u26xl5ddmWLmsOsdNLwkdRTg5AG+JnTiM80= github.com/chai2010/gettext-go v1.0.3/go.mod h1:y+wnP2cHYaVj19NZhYKAwEMH2CI1gNHeQQ+5AjwawxA= -github.com/clipperhouse/uax29/v2 v2.2.0 h1:ChwIKnQN3kcZteTXMgb1wztSgaU+ZemkgWdohwgs8tY= -github.com/clipperhouse/uax29/v2 v2.2.0/go.mod h1:EFJ2TJMRUaplDxHKj1qAEhCtQPW2tJSwu5BF98AuoVM= +github.com/clipperhouse/uax29/v2 v2.7.0 h1:+gs4oBZ2gPfVrKPthwbMzWZDaAFPGYK72F0NJv2v7Vk= +github.com/clipperhouse/uax29/v2 v2.7.0/go.mod h1:EFJ2TJMRUaplDxHKj1qAEhCtQPW2tJSwu5BF98AuoVM= +github.com/cloudflare/circl v1.6.3 h1:9GPOhQGF9MCYUeXyMYlqTR6a5gTrgR/fBLXvUgtVcg8= +github.com/cloudflare/circl v1.6.3/go.mod h1:2eXP6Qfat4O/Yhh8BznvKnJ+uzEoTQ6jVKJRn81BiS4= github.com/container-storage-interface/spec v1.12.0 h1:zrFOEqpR5AghNaaDG4qyedwPBqU2fU0dWjLQMP/azK0= github.com/container-storage-interface/spec v1.12.0/go.mod h1:txsm+MA2B2WDa5kW69jNbqPnvTtfvZma7T/zsAZ9qX8= -github.com/containerd/containerd v1.7.30 h1:/2vezDpLDVGGmkUXmlNPLCCNKHJ5BbC5tJB5JNzQhqE= -github.com/containerd/containerd v1.7.30/go.mod h1:fek494vwJClULlTpExsmOyKCMUAbuVjlFsJQc4/j44M= -github.com/containerd/errdefs v1.0.0 h1:tg5yIfIlQIrxYtu9ajqY42W3lpS19XqdxRQeEwYG8PI= -github.com/containerd/errdefs v1.0.0/go.mod h1:+YBYIdtsnF4Iw6nWZhJcqGSg/dwvV7tyJ/kCkyJ2k+M= -github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I= -github.com/containerd/log v0.1.0/go.mod h1:VRRf09a7mHDIRezVKTRCrOq78v577GXq3bSa3EhrzVo= -github.com/containerd/platforms v0.2.1 h1:zvwtM3rz2YHPQsF2CHYM8+KtB5dvhISiXh5ZpSBQv6A= -github.com/containerd/platforms v0.2.1/go.mod h1:XHCb+2/hzowdiut9rkudds9bE5yJ7npe7dG/wG+uFPw= +github.com/coreos/go-oidc v2.5.0+incompatible h1:6W0vGJR3Tu0r0PwfmjOrRZSlfxeEln8dsejt3ZWIvwo= +github.com/coreos/go-oidc/v3 v3.18.0 h1:V9orjXynvu5wiC9SemFTWnG4F45v403aIcjWo0d41+A= +github.com/coreos/go-oidc/v3 v3.18.0/go.mod h1:DYCf24+ncYi+XkIH97GY1+dqoRlbaSI26KVTCI9SrY4= github.com/coreos/go-semver v0.3.1 h1:yi21YpKnrx1gt5R+la8n5WgS0kCrsPp33dmEyHReZr4= github.com/coreos/go-semver v0.3.1/go.mod h1:irMmmIw/7yzSRPWryHsK7EYSg09caPQL03VsM8rvUec= -github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs= -github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= +github.com/coreos/go-systemd/v22 v22.7.0 h1:LAEzFkke61DFROc7zNLX/WA2i5J8gYqe0rSj9KI28KA= +github.com/coreos/go-systemd/v22 v22.7.0/go.mod h1:xNUYtjHu2EDXbsxz1i41wouACIwT7Ybq9o0BQhMwD0w= github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= github.com/creack/pty v1.1.18 h1:n56/Zwd5o6whRC5PMGretI4IdRLlmBXYNjScPaBgsbY= github.com/creack/pty v1.1.18/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= -github.com/cyphar/filepath-securejoin v0.6.1 h1:5CeZ1jPXEiYt3+Z6zqprSAgSWiggmpVyciv8syjIpVE= -github.com/cyphar/filepath-securejoin v0.6.1/go.mod h1:A8hd4EnAeyujCJRrICiOWqjS1AX0a9kM5XL+NwKoYSc= +github.com/cyphar/filepath-securejoin v0.7.0 h1:s0Y3ITPy6sQn5xt54DuYvTF8hu134ooYLUb58DX/HjE= +github.com/cyphar/filepath-securejoin v0.7.0/go.mod h1:ymLGms/u3BYaviIiuKFnUx8EkQEZeK6cInNoAPJA3o4= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78= github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc= -github.com/distribution/distribution/v3 v3.0.0 h1:q4R8wemdRQDClzoNNStftB2ZAfqOiN6UX90KJc4HjyM= -github.com/distribution/distribution/v3 v3.0.0/go.mod h1:tRNuFoZsUdyRVegq8xGNeds4KLjwLCRin/tTo6i1DhU= +github.com/distribution/distribution/v3 v3.1.1 h1:KUbk7C8CfaLXy8kbf/hGq9cad/wCoLB6dbWH6DMbmX0= +github.com/distribution/distribution/v3 v3.1.1/go.mod h1:d7lXwZpph0bVcOj4Aqn0nMrWHIwRQGdiV5TLeI+/w6Y= github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk= github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E= -github.com/dlclark/regexp2 v1.11.0 h1:G/nrcoOa7ZXlpoa/91N3X7mM3r8eIlMBBJZvsz/mxKI= -github.com/dlclark/regexp2 v1.11.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8= -github.com/docker/docker-credential-helpers v0.9.3 h1:gAm/VtF9wgqJMoxzT3Gj5p4AqIjCBS4wrsOh9yRqcz8= -github.com/docker/docker-credential-helpers v0.9.3/go.mod h1:x+4Gbw9aGmChi3qTLZj8Dfn0TD20M/fuWy0E5+WDeCo= -github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c h1:+pKlWGMw7gf6bQ+oDZB4KHQFypsfjYlq/C4rfL7D3g8= -github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA= +github.com/dlclark/regexp2 v1.12.0 h1:0j4c5qQmnC6XOWNjP3PIXURXN2gWx76rd3KvgdPkCz8= +github.com/dlclark/regexp2 v1.12.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8= +github.com/docker/docker-credential-helpers v0.9.5 h1:EFNN8DHvaiK8zVqFA2DT6BjXE0GzfLOZ38ggPTKePkY= +github.com/docker/docker-credential-helpers v0.9.5/go.mod h1:v1S+hepowrQXITkEfw6o4+BMbGot02wiKpzWhGUZK6c= +github.com/docker/go-events v0.0.0-20250808211157-605354379745 h1:yOn6Ze6IbYI/KAw2lw/83ELYvZh6hvsygTVkD0dzMC4= +github.com/docker/go-events v0.0.0-20250808211157-605354379745/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA= github.com/docker/go-metrics v0.0.1 h1:AgB/0SvBxihN0X8OR4SjsblXkbMvalQ8cjmtKQ2rQV8= github.com/docker/go-metrics v0.0.1/go.mod h1:cG1hvH2utMXtqgqqYE9plW6lDxS3/5ayHzueweSI3Vw= github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= @@ -99,64 +98,64 @@ github.com/exponent-io/jsonpath v0.0.0-20210407135951-1de76d718b3f h1:Wl78ApPPB2 github.com/exponent-io/jsonpath v0.0.0-20210407135951-1de76d718b3f/go.mod h1:OSYXu++VVOHnXeitef/D8n/6y4QV8uLHSFXX4NeXMGc= github.com/fatih/camelcase v1.0.0 h1:hxNvNX/xYBp0ovncs8WyWZrOrpBNub/JfaMvbURyft8= github.com/fatih/camelcase v1.0.0/go.mod h1:yN2Sb0lFhZJUdVvtELVWefmrXpuZESvPmqwoZc+/fpc= -github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= -github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= -github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM= -github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU= +github.com/fatih/color v1.19.0 h1:Zp3PiM21/9Ld6FzSKyL5c/BULoe/ONr9KlbYVOfG8+w= +github.com/fatih/color v1.19.0/go.mod h1:zNk67I0ZUT1bEGsSGyCZYZNrHuTkJJB+r6Q9VuMi0LE= github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg= github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/foxcpp/go-mockdns v1.2.0 h1:omK3OrHRD1IWJz1FuFBCFquhXslXoF17OvBS6JPzZF0= github.com/foxcpp/go-mockdns v1.2.0/go.mod h1:IhLeSFGed3mJIAXPH2aiRQB+kqz7oqu8ld2qVbOu7Wk= github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8= github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= -github.com/fsnotify/fsnotify v1.9.0 h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S9k= -github.com/fsnotify/fsnotify v1.9.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0= -github.com/fxamacker/cbor/v2 v2.9.0 h1:NpKPmjDBgUfBms6tr6JZkTHtfFGcMKsw3eGcmD/sapM= -github.com/fxamacker/cbor/v2 v2.9.0/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ= +github.com/fsnotify/fsnotify v1.10.1 h1:b0/UzAf9yR5rhf3RPm9gf3ehBPpf0oZKIjtpKrx59Ho= +github.com/fsnotify/fsnotify v1.10.1/go.mod h1:TLheqan6HD6GBK6PrDWyDPBaEV8LspOxvPSjC+bVfgo= +github.com/fxamacker/cbor/v2 v2.9.1 h1:2rWm8B193Ll4VdjsJY28jxs70IdDsHRWgQYAI80+rMQ= +github.com/fxamacker/cbor/v2 v2.9.1/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ= github.com/go-errors/errors v1.5.1 h1:ZwEMSLRCapFLflTpT7NKaAc7ukJ8ZPEjzlxt8rPN8bk= github.com/go-errors/errors v1.5.1/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og= github.com/go-gorp/gorp/v3 v3.1.0 h1:ItKF/Vbuj31dmV4jxA1qblpSwkl9g1typ24xoe70IGs= github.com/go-gorp/gorp/v3 v3.1.0/go.mod h1:dLEjIyyRNiXvNZ8PSmzpt1GsWAUK8kjVhEpjH8TixEw= +github.com/go-jose/go-jose/v4 v4.1.4 h1:moDMcTHmvE6Groj34emNPLs/qtYXRVcd6S7NHbHz3kA= +github.com/go-jose/go-jose/v4 v4.1.4/go.mod h1:x4oUasVrzR7071A4TnHLGSPpNOm2a21K9Kf04k1rs08= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-logr/zapr v1.3.0 h1:XGdV8XW8zdwFiwOA2Dryh1gj2KRQyOOoNmBy4EplIcQ= github.com/go-logr/zapr v1.3.0/go.mod h1:YKepepNBd1u/oyhd/yQmtjVXmm9uML4IXUgMOwR8/Gg= github.com/go-openapi/inflect v0.21.5 h1:M2RCq6PPS3YbIaL7CXosGL3BbzAcmfBAT0nC3YfesZA= github.com/go-openapi/inflect v0.21.5/go.mod h1:GypUyi6bU880NYurWaEH2CmH84zFDNd+EhhmzroHmB4= -github.com/go-openapi/jsonpointer v0.22.4 h1:dZtK82WlNpVLDW2jlA1YCiVJFVqkED1MegOUy9kR5T4= -github.com/go-openapi/jsonpointer v0.22.4/go.mod h1:elX9+UgznpFhgBuaMQ7iu4lvvX1nvNsesQ3oxmYTw80= -github.com/go-openapi/jsonreference v0.21.4 h1:24qaE2y9bx/q3uRK/qN+TDwbok1NhbSmGjjySRCHtC8= -github.com/go-openapi/jsonreference v0.21.4/go.mod h1:rIENPTjDbLpzQmQWCj5kKj3ZlmEh+EFVbz3RTUh30/4= -github.com/go-openapi/swag v0.25.4 h1:OyUPUFYDPDBMkqyxOTkqDYFnrhuhi9NR6QVUvIochMU= -github.com/go-openapi/swag v0.25.4/go.mod h1:zNfJ9WZABGHCFg2RnY0S4IOkAcVTzJ6z2Bi+Q4i6qFQ= -github.com/go-openapi/swag/cmdutils v0.25.4 h1:8rYhB5n6WawR192/BfUu2iVlxqVR9aRgGJP6WaBoW+4= -github.com/go-openapi/swag/cmdutils v0.25.4/go.mod h1:pdae/AFo6WxLl5L0rq87eRzVPm/XRHM3MoYgRMvG4A0= -github.com/go-openapi/swag/conv v0.25.4 h1:/Dd7p0LZXczgUcC/Ikm1+YqVzkEeCc9LnOWjfkpkfe4= -github.com/go-openapi/swag/conv v0.25.4/go.mod h1:3LXfie/lwoAv0NHoEuY1hjoFAYkvlqI/Bn5EQDD3PPU= -github.com/go-openapi/swag/fileutils v0.25.4 h1:2oI0XNW5y6UWZTC7vAxC8hmsK/tOkWXHJQH4lKjqw+Y= -github.com/go-openapi/swag/fileutils v0.25.4/go.mod h1:cdOT/PKbwcysVQ9Tpr0q20lQKH7MGhOEb6EwmHOirUk= -github.com/go-openapi/swag/jsonname v0.25.4 h1:bZH0+MsS03MbnwBXYhuTttMOqk+5KcQ9869Vye1bNHI= -github.com/go-openapi/swag/jsonname v0.25.4/go.mod h1:GPVEk9CWVhNvWhZgrnvRA6utbAltopbKwDu8mXNUMag= -github.com/go-openapi/swag/jsonutils v0.25.4 h1:VSchfbGhD4UTf4vCdR2F4TLBdLwHyUDTd1/q4i+jGZA= -github.com/go-openapi/swag/jsonutils v0.25.4/go.mod h1:7OYGXpvVFPn4PpaSdPHJBtF0iGnbEaTk8AvBkoWnaAY= -github.com/go-openapi/swag/jsonutils/fixtures_test v0.25.4 h1:IACsSvBhiNJwlDix7wq39SS2Fh7lUOCJRmx/4SN4sVo= -github.com/go-openapi/swag/jsonutils/fixtures_test v0.25.4/go.mod h1:Mt0Ost9l3cUzVv4OEZG+WSeoHwjWLnarzMePNDAOBiM= -github.com/go-openapi/swag/loading v0.25.4 h1:jN4MvLj0X6yhCDduRsxDDw1aHe+ZWoLjW+9ZQWIKn2s= -github.com/go-openapi/swag/loading v0.25.4/go.mod h1:rpUM1ZiyEP9+mNLIQUdMiD7dCETXvkkC30z53i+ftTE= -github.com/go-openapi/swag/mangling v0.25.4 h1:2b9kBJk9JvPgxr36V23FxJLdwBrpijI26Bx5JH4Hp48= -github.com/go-openapi/swag/mangling v0.25.4/go.mod h1:6dxwu6QyORHpIIApsdZgb6wBk/DPU15MdyYj/ikn0Hg= -github.com/go-openapi/swag/netutils v0.25.4 h1:Gqe6K71bGRb3ZQLusdI8p/y1KLgV4M/k+/HzVSqT8H0= -github.com/go-openapi/swag/netutils v0.25.4/go.mod h1:m2W8dtdaoX7oj9rEttLyTeEFFEBvnAx9qHd5nJEBzYg= -github.com/go-openapi/swag/stringutils v0.25.4 h1:O6dU1Rd8bej4HPA3/CLPciNBBDwZj9HiEpdVsb8B5A8= -github.com/go-openapi/swag/stringutils v0.25.4/go.mod h1:GTsRvhJW5xM5gkgiFe0fV3PUlFm0dr8vki6/VSRaZK0= -github.com/go-openapi/swag/typeutils v0.25.4 h1:1/fbZOUN472NTc39zpa+YGHn3jzHWhv42wAJSN91wRw= -github.com/go-openapi/swag/typeutils v0.25.4/go.mod h1:Ou7g//Wx8tTLS9vG0UmzfCsjZjKhpjxayRKTHXf2pTE= -github.com/go-openapi/swag/yamlutils v0.25.4 h1:6jdaeSItEUb7ioS9lFoCZ65Cne1/RZtPBZ9A56h92Sw= -github.com/go-openapi/swag/yamlutils v0.25.4/go.mod h1:MNzq1ulQu+yd8Kl7wPOut/YHAAU/H6hL91fF+E2RFwc= -github.com/go-openapi/testify/enable/yaml/v2 v2.0.2 h1:0+Y41Pz1NkbTHz8NngxTuAXxEodtNSI1WG1c/m5Akw4= -github.com/go-openapi/testify/enable/yaml/v2 v2.0.2/go.mod h1:kme83333GCtJQHXQ8UKX3IBZu6z8T5Dvy5+CW3NLUUg= -github.com/go-openapi/testify/v2 v2.0.2 h1:X999g3jeLcoY8qctY/c/Z8iBHTbwLz7R2WXd6Ub6wls= -github.com/go-openapi/testify/v2 v2.0.2/go.mod h1:HCPmvFFnheKK2BuwSA0TbbdxJ3I16pjwMkYkP4Ywn54= +github.com/go-openapi/jsonpointer v0.23.1 h1:1HBACs7XIwR2RcmItfdSFlALhGbe6S92p0ry4d1GWg4= +github.com/go-openapi/jsonpointer v0.23.1/go.mod h1:iWRmZTrGn7XwYhtPt/fvdSFj1OfNBngqRT2UG3BxSqY= +github.com/go-openapi/jsonreference v0.21.5 h1:6uCGVXU/aNF13AQNggxfysJ+5ZcU4nEAe+pJyVWRdiE= +github.com/go-openapi/jsonreference v0.21.5/go.mod h1:u25Bw85sX4E2jzFodh1FOKMTZLcfifd1Q+iKKOUxExw= +github.com/go-openapi/swag v0.26.0 h1:GVDXCmfvhfu1BxiHo8/FA+BbKmhecHnG3varjON5/RI= +github.com/go-openapi/swag v0.26.0/go.mod h1:82g3193sZJRbocs7bNCqGfIgq8pkuwVwCfhKIRlEQF0= +github.com/go-openapi/swag/cmdutils v0.26.0 h1:iowihOcvq7y4egO8cOq0dmfohz6wfeQ63U1EnuhO2TU= +github.com/go-openapi/swag/cmdutils v0.26.0/go.mod h1:Sm1MVFMkF6guJJ+pQqHnQA3N0j9qALV3NxzDSv6bETM= +github.com/go-openapi/swag/conv v0.26.0 h1:5yGGsPYI1ZCva93U0AoKi/iZrNhaJEjr324YVsiD89I= +github.com/go-openapi/swag/conv v0.26.0/go.mod h1:tpAmIL7X58VPnHHiSO4uE3jBeRamGsFsfdDeDtb5ECE= +github.com/go-openapi/swag/fileutils v0.26.0 h1:WJoPRvsA7QRiiWluowkLJa9jaYR7FCuxmDvnCgaRRxU= +github.com/go-openapi/swag/fileutils v0.26.0/go.mod h1:0WDJ7lp67eNjPMO50wAWYlKvhOb6CQ37rzR7wrgI8Tc= +github.com/go-openapi/swag/jsonname v0.26.0 h1:gV1NFX9M8avo0YSpmWogqfQISigCmpaiNci8cGECU5w= +github.com/go-openapi/swag/jsonname v0.26.0/go.mod h1:urBBR8bZNoDYGr653ynhIx+gTeIz0ARZxHkAPktJK2M= +github.com/go-openapi/swag/jsonutils v0.26.0 h1:FawFML2iAXsPqmERscuMPIHmFsoP1tOqWkxBaKNMsnA= +github.com/go-openapi/swag/jsonutils v0.26.0/go.mod h1:2VmA0CJlyFqgawOaPI9psnjFDqzyivIqLYN34t9p91E= +github.com/go-openapi/swag/jsonutils/fixtures_test v0.26.0 h1:apqeINu/ICHouqiRZbyFvuDge5jCmmLTqGQ9V95EaOM= +github.com/go-openapi/swag/jsonutils/fixtures_test v0.26.0/go.mod h1:AyM6QT8uz5IdKxk5akv0y6u4QvcL9GWERt0Jx/F/R8Y= +github.com/go-openapi/swag/loading v0.26.0 h1:Apg6zaKhCJurpJer0DCxq99qwmhFddBhaMX7kilDcko= +github.com/go-openapi/swag/loading v0.26.0/go.mod h1:dBxQ/6V2uBaAQdevN18VELE6xSpJWZxLX4txe12JwDg= +github.com/go-openapi/swag/mangling v0.26.0 h1:Du2YC4YLA/Y5m/YKQd7AnY5qq0wRKSFZTTt8ktFaXcQ= +github.com/go-openapi/swag/mangling v0.26.0/go.mod h1:jifS7W9vbg+pw63bT+GI53otluMQL3CeemuyCHKwVx0= +github.com/go-openapi/swag/netutils v0.26.0 h1:CmZp+ZT7HrmFwrC3GdGsXBq2+42T1bjKBapcqVpIs3c= +github.com/go-openapi/swag/netutils v0.26.0/go.mod h1:5iK+Ok3ZohWWex1C50BFTPexi03UaPwjW4Oj8kgrpwo= +github.com/go-openapi/swag/stringutils v0.26.0 h1:qZQngLxs5s7SLijc3N2ZO+fUq2o8LjuWAASSrJuh+xg= +github.com/go-openapi/swag/stringutils v0.26.0/go.mod h1:sWn5uY+QIIspwPhvgnqJsH8xqFT2ZbYcvbcFanRyhFE= +github.com/go-openapi/swag/typeutils v0.26.0 h1:2kdEwdiNWy+JJdOvu5MA2IIg2SylWAFuuyQIKYybfq4= +github.com/go-openapi/swag/typeutils v0.26.0/go.mod h1:oovDuIUvTrEHVMqWilQzKzV4YlSKgyZmFh7AlfABNVE= +github.com/go-openapi/swag/yamlutils v0.26.0 h1:H7O8l/8NJJQ/oiReEN+oMpnGMyt8G0hl460nRZxhLMQ= +github.com/go-openapi/swag/yamlutils v0.26.0/go.mod h1:1evKEGAtP37Pkwcc7EWMF0hedX0/x3Rkvei2wtG/TbU= +github.com/go-openapi/testify/enable/yaml/v2 v2.4.2 h1:5zRca5jw7lzVREKCZVNBpysDNBjj74rBh0N2BGQbSR0= +github.com/go-openapi/testify/enable/yaml/v2 v2.4.2/go.mod h1:XVevPw5hUXuV+5AkI1u1PeAm27EQVrhXTTCPAF85LmE= +github.com/go-openapi/testify/v2 v2.4.2 h1:tiByHpvE9uHrrKjOszax7ZvKB7QOgizBWGBLuq0ePx4= +github.com/go-openapi/testify/v2 v2.4.2/go.mod h1:SgsVHtfooshd0tublTtJ50FPKhujf47YRqauXXOUxfw= github.com/go-sql-driver/mysql v1.8.1 h1:LedoTUt/eveggdHS9qUFC1EFSa8bU2+1pZjSRpvNJ1Y= github.com/go-sql-driver/mysql v1.8.1/go.mod h1:wEBSXgmK//2ZFJyE+qWnIsVGmvmEKlqwuVSjsCm7DZg= github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI= @@ -165,30 +164,27 @@ github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y= github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8= github.com/goccy/go-json v0.10.6 h1:p8HrPJzOakx/mn/bQtjgNjdTcN+/S6FcG2CTtQOrHVU= github.com/goccy/go-json v0.10.6/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M= -github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/golang-jwt/jwt/v5 v5.3.0 h1:pv4AsKCKKZuqlgs5sUmn4x8UlGa0kEVt/puTpKx9vvo= -github.com/golang-jwt/jwt/v5 v5.3.0/go.mod h1:fxCRLWMO43lRc8nhHWY6LGqRcf+1gQWArsqaEUEa5bE= +github.com/golang-jwt/jwt/v5 v5.3.1 h1:kYf81DTWFe7t+1VvL7eS+jKFVWaUnK9cB1qbwn63YCY= +github.com/golang-jwt/jwt/v5 v5.3.1/go.mod h1:fxCRLWMO43lRc8nhHWY6LGqRcf+1gQWArsqaEUEa5bE= github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 h1:f+oWsMOmNPc8JmEHVZIycC7hBoQxHH9pNKQORJNozsQ= github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8/go.mod h1:wcDNUvekVysuuOpQKo3191zZyTpiI6se1N1ULghS0sw= github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= github.com/google/btree v1.1.3 h1:CVpQJjYgC4VbzxeGVHfvZrv1ctoYCAI8vbl07Fcxlyg= github.com/google/btree v1.1.3/go.mod h1:qOPhT0dTNdNzV6Z/lhRX0YXUafgPLFUh+gZMl761Gm4= -github.com/google/cel-go v0.26.0 h1:DPGjXackMpJWH680oGY4lZhYjIameYmR+/6RBdDGmaI= -github.com/google/cel-go v0.26.0/go.mod h1:A9O8OU9rdvrK5MQyrqfIxo1a0u4g3sF8KB6PUIaryMM= +github.com/google/cel-go v0.27.0 h1:e7ih85+4qVrBuqQWTW4FKSqZYokVuc3HnhH5keboFTo= +github.com/google/cel-go v0.27.0/go.mod h1:tTJ11FWqnhw5KKpnWpvW9CJC3Y9GK4EIS0WXnBbebzw= github.com/google/gnostic-models v0.7.1 h1:SisTfuFKJSKM5CPZkffwi6coztzzeYUhc3v4yxLWH8c= github.com/google/gnostic-models v0.7.1/go.mod h1:whL5G0m6dmc5cPxKc5bdKdEN3UjI7OUGxBlw57miDrQ= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/google/go-containerregistry v0.20.7 h1:24VGNpS0IwrOZ2ms2P1QE3Xa5X9p4phx0aUgzYzHW6I= github.com/google/go-containerregistry v0.20.7/go.mod h1:Lx5LCZQjLH1QBaMPeGwsME9biPeo1lPx6lbGj/UmzgM= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/pprof v0.0.0-20260115054156-294ebfa9ad83 h1:z2ogiKUYzX5Is6zr/vP9vJGqPwcdqsWjOt+V8J7+bTc= -github.com/google/pprof v0.0.0-20260115054156-294ebfa9ad83/go.mod h1:MxpfABSjhmINe3F1It9d+8exIHFvUqtLIRCdOGNXqiI= +github.com/google/pprof v0.0.0-20260402051712-545e8a4df936 h1:EwtI+Al+DeppwYX2oXJCETMO23COyaKGP6fHVpkpWpg= +github.com/google/pprof v0.0.0-20260402051712-545e8a4df936/go.mod h1:MxpfABSjhmINe3F1It9d+8exIHFvUqtLIRCdOGNXqiI= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/gorilla/handlers v1.5.2 h1:cLTUSsNkgcwhgRqvCNmdbRWG0A3N4F+M2nWKdScwyEE= @@ -199,15 +195,10 @@ github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 h1:JeSE6pjso5T github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674/go.mod h1:r4w70xmWCQKmi1ONH4KIaBptdivuRPyosB9RmPlGEwA= github.com/gosuri/uitable v0.0.4 h1:IG2xLKRvErL3uhY6e1BylFzG+aJiwQviDDTfOKeKTpY= github.com/gosuri/uitable v0.0.4/go.mod h1:tKR86bXuXPZazfOTG1FIzvjIdXzd0mo4Vtn16vt0PJo= -github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 h1:+ngKgrYPPJrOjhax5N+uePQ0Fh1Z7PheYoUI/0nzkPA= -github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= -github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 h1:+9834+KizmvFV7pXQGSXQTsaWhq2GjuNUt0aUU0YBYw= -github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.0.1 h1:qnpSQwGEnkcRpTqNOIR6bJbR0gAorgP9CSALpRcKoAA= -github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.0.1/go.mod h1:lXGCsh6c22WGtjr+qGHj1otzZpV/1kwTMAqkwZsnWRU= -github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.3.0 h1:FbSCl+KggFl+Ocym490i/EyXF4lPgLoUtcSWquBM0Rs= -github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.3.0/go.mod h1:qOchhhIlmRcqk/O9uCo/puJlyo07YINaIqdZfZG3Jkc= -github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho= -github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= +github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.1.0 h1:QGLs/O40yoNK9vmy4rhUGBVyMf1lISBGtXRpsu/Qu/o= +github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.1.0/go.mod h1:hM2alZsMUni80N33RBe6J0e423LB+odMj7d3EMP9l20= +github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.3.3 h1:B+8ClL/kCQkRiU82d9xajRPKYMrB7E0MbtzWVi1K4ns= +github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.3.3/go.mod h1:NbCUVmiS4foBGBHOYlCT25+YmGpJ32dZPi75pGEUpj4= github.com/grpc-ecosystem/grpc-gateway/v2 v2.28.0 h1:HWRh5R2+9EifMyIHV7ZV+MIZqgz+PMpZ14Jynv3O2Zs= github.com/grpc-ecosystem/grpc-gateway/v2 v2.28.0/go.mod h1:JfhWUomR1baixubs02l85lZYYOm7LV6om4ceouMv45c= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= @@ -234,19 +225,18 @@ github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnr github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/klauspost/compress v1.18.1 h1:bcSGx7UbpBqMChDtsF28Lw6v/G94LPrrbMbdC3JH2co= -github.com/klauspost/compress v1.18.1/go.mod h1:ZQFFVG+MdnR0P+l6wpXgIL4NTtwiKIdBnrBd8Nrxr+0= -github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/klauspost/compress v1.18.4 h1:RPhnKRAQ4Fh8zU2FY/6ZFDwTVTxgJ/EMydqSTzE9a2c= +github.com/klauspost/compress v1.18.4/go.mod h1:R0h/fSBs8DE4ENlcrlib3PsXS61voFxhIs2DeRhCvJ4= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/kubeflow/mpi-operator v0.8.0 h1:22EccUiO4VDooG4TooesdE8o8euGVj89PIRhiP24SRE= -github.com/kubeflow/mpi-operator v0.8.0/go.mod h1:1/YGVaFrbQd1a1tFsfE3qBcd4qU30numDnZmRnCy/jI= -github.com/kubeflow/trainer/v2 v2.2.0 h1:whChZckEtycLo1UKH/M0hiNaCUozbLvf9JrgmMv+TAg= -github.com/kubeflow/trainer/v2 v2.2.0/go.mod h1:i+FsPxb3zMYJ9LRf6ARMy2J12FGEU7Zvc+DgzHhtIE4= +github.com/kubeflow/mpi-operator v0.8.2 h1:7PVtV31iX3LSVW0BqRQ64w/NYNfAgP86Bmua2OEi5lg= +github.com/kubeflow/mpi-operator v0.8.2/go.mod h1:bQrsQ1PNkj5WFkx/IwqfvWxAS22f/LgH1owoDH9DpuE= +github.com/kubeflow/spark-operator/v2 v2.5.1 h1:7E1iz79b5p8fEcn2zr/yJ/T3kuZtJJqj+DPvvGV3WjA= +github.com/kubeflow/spark-operator/v2 v2.5.1/go.mod h1:+GLXPGpGCfCJRPGyUCHmFCAZvf7Z0ZOV88M+CzmdEPE= +github.com/kubeflow/trainer/v2 v2.2.1 h1:GsM80cgxnLnd8j8+lrX/Dpcvw7DYqpxkL0ni4XA/U7Y= +github.com/kubeflow/trainer/v2 v2.2.1/go.mod h1:vdt+Q4altnU16a5pPV5X+3Ym34gWKfxu8EaRu8T8FqM= github.com/kubeflow/training-operator v1.9.3 h1:aaSHqskOtCY8Dn8sVd+l9p5XAczW6O0nYMPjVLAw/lc= github.com/kubeflow/training-operator v1.9.3/go.mod h1:6zI0hgeCOheiW5Z12IcVkKBuSWm714fz8mUvYu4Fid4= github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= @@ -256,24 +246,18 @@ github.com/lann/builder v0.0.0-20180802200727-47ae307949d0/go.mod h1:dXGbAdH5GtB github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 h1:P6pPBnrTSX3DEVR4fDembhRWSsG5rVo6hYhAB/ADZrk= github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0/go.mod h1:vmVJ0l/dxyfGW6FmdpVm2joNMFikkuWg0EoCKLGUMNw= github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= -github.com/lib/pq v1.11.2 h1:x6gxUeu39V0BHZiugWe8LXZYZ+Utk7hSJGThs8sdzfs= -github.com/lib/pq v1.11.2/go.mod h1:/p+8NSbOcwzAEI7wiMXFlgydTwcgTr3OSKMsD2BitpA= +github.com/lib/pq v1.12.3 h1:tTWxr2YLKwIvK90ZXEw8GP7UFHtcbTtty8zsI+YjrfQ= +github.com/lib/pq v1.12.3/go.mod h1:/p+8NSbOcwzAEI7wiMXFlgydTwcgTr3OSKMsD2BitpA= github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de h1:9TO3cAIGXtEhnIaL+V+BEER86oLrvS+kWobKpbJuye0= github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de/go.mod h1:zAbeS9B/r2mtpb6U+EI2rYA5OAXxsYw6wTamcNW+zcE= github.com/lithammer/dedent v1.1.0 h1:VNzHMVCBNG1j0fh3OrsFRkVUwStdDArbgBWoPAffktY= github.com/lithammer/dedent v1.1.0/go.mod h1:jrXYCQtgg0nJiN+StA2KgR7w6CiQNv9Fd/Z9BP0jIOc= -github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= -github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= -github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE= github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8= -github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/mattn/go-runewidth v0.0.19 h1:v++JhqYnZuu5jSKrk9RbgF5v4CGUjqRfBm05byFGLdw= -github.com/mattn/go-runewidth v0.0.19/go.mod h1:XBkDxAl56ILZc9knddidhrOlY5R/pDhgLpndooCuJAs= +github.com/mattn/go-runewidth v0.0.23 h1:7ykA0T0jkPpzSvMS5i9uoNn2Xy3R383f9HDx3RybWcw= +github.com/mattn/go-runewidth v0.0.23/go.mod h1:XBkDxAl56ILZc9knddidhrOlY5R/pDhgLpndooCuJAs= github.com/mattn/go-sqlite3 v1.14.22 h1:2gZY6PC6kBnID23Tichd1K+Z0oS6nE/XwU+Vz/5o4kU= github.com/mattn/go-sqlite3 v1.14.22/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y= github.com/miekg/dns v1.1.72 h1:vhmr+TF2A3tuoGNkLDFK9zi36F2LS+hKTRW0Uf8kbzI= @@ -284,8 +268,8 @@ github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQ github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0= github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= -github.com/moby/spdystream v0.5.0 h1:7r0J1Si3QO/kjRitvSLVVFUjxMEb/YLj6S9FF62JBCU= -github.com/moby/spdystream v0.5.0/go.mod h1:xBAYlnt/ay+11ShkdFKNAG7LsyK/tmNBVvVOwrfMgdI= +github.com/moby/spdystream v0.5.1 h1:9sNYeYZUcci9R6/w7KDaFWEWeV4LStVG78Mpyq/Zm/Y= +github.com/moby/spdystream v0.5.1/go.mod h1:xBAYlnt/ay+11ShkdFKNAG7LsyK/tmNBVvVOwrfMgdI= github.com/moby/term v0.5.2 h1:6qk3FJAFDs6i/q3W/pQ97SX192qKfZgGjCQqfCJkgzQ= github.com/moby/term v0.5.2/go.mod h1:d3djjFCrjnB+fl8NJux+EJzu0msscUP+f8it8hPkFLc= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= @@ -298,12 +282,13 @@ github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 h1:n6/ github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00/go.mod h1:Pm3mSP3c5uWn86xMLZ5Sa7JB9GsEZySvHYXCTK4E9q4= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f h1:y5//uYreIhSUg3J1GEMiLbxo1LJaP8RfCpH6pymGZus= -github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= -github.com/onsi/ginkgo/v2 v2.28.1 h1:S4hj+HbZp40fNKuLUQOYLDgZLwNUVn19N3Atb98NCyI= -github.com/onsi/ginkgo/v2 v2.28.1/go.mod h1:CLtbVInNckU3/+gC8LzkGUb9oF+e8W8TdUsxPwvdOgE= -github.com/onsi/gomega v1.39.1 h1:1IJLAad4zjPn2PsnhH70V4DKRFlrCzGBNrNaru+Vf28= -github.com/onsi/gomega v1.39.1/go.mod h1:hL6yVALoTOxeWudERyfppUcZXjMwIMLnuSfruD2lcfg= +github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= +github.com/onsi/ginkgo/v2 v2.32.0 h1:Hw7s2pVrQo/8Yz5N77qdnpHaoc+c6cC9WIV1Jce+J6E= +github.com/onsi/ginkgo/v2 v2.32.0/go.mod h1:+aXOY+vzZ5mu2iI2HpTZUPmM//oQfsNFX6gU9kNcA44= +github.com/onsi/gomega v1.42.1 h1:iN1rCUX+44NZ1Dc97MPoeFYbFR0vh8zxoxMFwKdyZ6I= +github.com/onsi/gomega v1.42.1/go.mod h1:REff/hsDsodHoKlWsP2mAPhu1+5/6hVYNf9rIEBpeSg= +github.com/open-policy-agent/cert-controller v0.16.0 h1:/w+wAM9dylWGwhPnvfCgepyBLfyz19PIa8YeaThsQDg= +github.com/open-policy-agent/cert-controller v0.16.0/go.mod h1:w5qBWYbc8HwyHI9VYAZ6YjWOcZtQ39A30I9W4X7pVVk= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= github.com/opencontainers/image-spec v1.1.1 h1:y0fUlFfIZhPF1W537XOLg0/fcx6zcHCJwooC2xJA040= @@ -323,20 +308,20 @@ github.com/poy/onpar v1.1.2 h1:QaNrNiZx0+Nar5dLgTVp5mXkyoVFIbepjyEoGSnhbAY= github.com/poy/onpar v1.1.2/go.mod h1:6X8FLNoxyr9kkmnlqpK6LSoiOtrO6MICtWwEuWkLjzg= github.com/prashantv/gostub v1.1.0 h1:BTyx3RfQjRHnUWaGF9oQos79AlQ5k8WNktv7VGvVH4g= github.com/prashantv/gostub v1.1.0/go.mod h1:A5zLQHz7ieHGG7is6LLXLz7I8+3LZzsrV0P1IAHhP5U= -github.com/project-codeflare/appwrapper v1.2.0 h1:MvenqEV/NuNOoq9SmttRABw0Yueiu8p3S0kFOybYeZo= -github.com/project-codeflare/appwrapper v1.2.0/go.mod h1:8e4sj4GJQTx88w19ZnvCBKbYwr6Rx6IN2MpvvMYIXWs= +github.com/project-codeflare/appwrapper v1.2.2 h1:W5Dm0J8cOUPnb+Jo9rkHcvAzY+GkECy/vdGmozvGKHI= +github.com/project-codeflare/appwrapper v1.2.2/go.mod h1:bkUzfhQOWQAUFaWp38PelmPiRX2fE3o61GmOYz5MSmk= github.com/prometheus/client_golang v1.23.2 h1:Je96obch5RDVy3FDMndoUsjAhG5Edi49h0RJWRi/o0o= github.com/prometheus/client_golang v1.23.2/go.mod h1:Tb1a6LWHB3/SPIzCoaDXI4I8UHKeFTEQ1YCr+0Gyqmg= github.com/prometheus/client_model v0.6.2 h1:oBsgwpGs7iVziMvrGhE53c/GrLUsZdHnqNwqPLxwZyk= github.com/prometheus/client_model v0.6.2/go.mod h1:y3m2F6Gdpfy6Ut/GBsUqTWZqCUvMVzSfMLjcu6wAwpE= -github.com/prometheus/common v0.67.5 h1:pIgK94WWlQt1WLwAC5j2ynLaBRDiinoAb86HZHTUGI4= -github.com/prometheus/common v0.67.5/go.mod h1:SjE/0MzDEEAyrdr5Gqc6G+sXI67maCxzaT3A2+HqjUw= +github.com/prometheus/common v0.70.0 h1:bcpru3tWPVnxGnETLgOV5jbp/JRXgYEyv65CuBLAMMI= +github.com/prometheus/common v0.70.0/go.mod h1:S/SFasQmgGiYH6C81LKCtYa8QACgthGg5zxL2udV7SY= github.com/prometheus/otlptranslator v1.0.0 h1:s0LJW/iN9dkIH+EnhiD3BlkkP5QVIUVEoIwkU+A6qos= github.com/prometheus/otlptranslator v1.0.0/go.mod h1:vRYWnXvI6aWGpsdY/mOT/cbeVRBlPWtBNDb7kGR3uKM= -github.com/prometheus/procfs v0.20.1 h1:XwbrGOIplXW/AU3YhIhLODXMJYyC1isLFfYCsTEycfc= -github.com/prometheus/procfs v0.20.1/go.mod h1:o9EMBZGRyvDrSPH1RqdxhojkuXstoe4UlK79eF5TGGo= -github.com/ray-project/kuberay/ray-operator v1.6.0 h1:1hs7Di2U/vm09ot7MIU8jUqEo7gHDc4gkbv1eFvqCsQ= -github.com/ray-project/kuberay/ray-operator v1.6.0/go.mod h1:7vBLj6LNKuqbgERKugX3tsYm7uYRFwoE5BpQBUADeK0= +github.com/prometheus/procfs v0.21.0 h1:Qh/e6TlBjZf+XLLqNCqFGmCU6Kj/2Bu7kj3oAc0UnXc= +github.com/prometheus/procfs v0.21.0/go.mod h1:aB55Cww9pdSJVHk0hUf0inxWyyjPogFIjmHKYgMKmtY= +github.com/ray-project/kuberay/ray-operator v1.6.2 h1:XUckRswLMyk71D00L62d2Vanh0fVkNqu56+IF/rr+O0= +github.com/ray-project/kuberay/ray-operator v1.6.2/go.mod h1:7vBLj6LNKuqbgERKugX3tsYm7uYRFwoE5BpQBUADeK0= github.com/redis/go-redis/extra/rediscmd/v9 v9.0.5 h1:EaDatTxkdHG+U3Bk4EUr+DZ7fOGwTfezUiUJMaIcaho= github.com/redis/go-redis/extra/rediscmd/v9 v9.0.5/go.mod h1:fyalQWdtzDBECAQFBJuQe5bzQ02jGd5Qcbgb97Flm7U= github.com/redis/go-redis/extra/redisotel/v9 v9.0.5 h1:EfpWLLCyXw8PSM2/XNJLjI3Pb27yVE+gIAfeqp8LUCc= @@ -353,12 +338,14 @@ github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 h1:KRzFb2m7YtdldCEkzs6KqmJw4nqEVZGK7IN2kJkjTuQ= github.com/santhosh-tekuri/jsonschema/v6 v6.0.2/go.mod h1:JXeL+ps8p7/KNMjDQk3TCwPpBy0wYklyWTfbkIzdIFU= -github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= -github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= +github.com/sergi/go-diff v1.4.0 h1:n/SP9D5ad1fORl+llWyN+D6qoUETXNZARKjyY2/KVCw= +github.com/sergi/go-diff v1.4.0/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4= github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k= github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= github.com/sirupsen/logrus v1.9.4 h1:TsZE7l11zFCLZnZ+teH4Umoq5BhEIfIzfRDZ1Uzql2w= github.com/sirupsen/logrus v1.9.4/go.mod h1:ftWc9WdOfJ0a92nsE2jF5u5ZwH8Bv2zdeOC42RjbV2g= +github.com/smallnest/chanx v1.2.0 h1:RLyldZBbQZ4O0dSvdkTMHo4+mDw20Bc1jXXTHf+ymZo= +github.com/smallnest/chanx v1.2.0/go.mod h1:+4nWMF0+CqEcU74SnX2NxaGqZ8zX4pcQ8Jcs77DbX5A= github.com/soheilhy/cmux v0.1.5 h1:jjzc5WVemNEDTLwv9tlmemhC73tI08BNOIGwBOo10Js= github.com/soheilhy/cmux v0.1.5/go.mod h1:T7TcVDs9LWfQgPlPsdngu6I6QIoyIFZDDC6sNE1GqG0= github.com/spf13/cast v1.7.0 h1:ntdiHjuueXFgm5nzDRdOS4yfT43P5Fnud6DH50rz/7w= @@ -367,24 +354,16 @@ github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3 github.com/spf13/cobra v1.10.2 h1:DMTTonx5m65Ic0GOoRY2c16WCbHxOOw6xxezuLaBpcU= github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiTUUS4= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk= github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/stoewer/go-strcase v1.3.1 h1:iS0MdW+kVTxgMoE1LAZyMiYJFKlOzLooE4MxjirtkAs= -github.com/stoewer/go-strcase v1.3.1/go.mod h1:fAH5hQ5pehh+j3nZfvwdk2RgEgQjAoM8wodgtPmh1xo= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= -github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= +github.com/stretchr/objx v0.5.3 h1:jmXUvGomnU1o3W/V5h2VEradbpJDwGrzugQQvL0POH4= +github.com/stretchr/objx v0.5.3/go.mod h1:rDQraq+vQZU7Fde9LOZLr8Tax6zZvy4kuNKF+QYS+U0= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= @@ -408,30 +387,30 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= go.etcd.io/bbolt v1.4.3 h1:dEadXpI6G79deX5prL3QRNP6JB8UxVkqo4UPnHaNXJo= go.etcd.io/bbolt v1.4.3/go.mod h1:tKQlpPaYCVFctUIgFKFnAlvbmB3tpy1vkTnDWohtc0E= -go.etcd.io/etcd/api/v3 v3.6.5 h1:pMMc42276sgR1j1raO/Qv3QI9Af/AuyQUW6CBAWuntA= -go.etcd.io/etcd/api/v3 v3.6.5/go.mod h1:ob0/oWA/UQQlT1BmaEkWQzI0sJ1M0Et0mMpaABxguOQ= -go.etcd.io/etcd/client/pkg/v3 v3.6.5 h1:Duz9fAzIZFhYWgRjp/FgNq2gO1jId9Yae/rLn3RrBP8= -go.etcd.io/etcd/client/pkg/v3 v3.6.5/go.mod h1:8Wx3eGRPiy0qOFMZT/hfvdos+DjEaPxdIDiCDUv/FQk= -go.etcd.io/etcd/client/v3 v3.6.5 h1:yRwZNFBx/35VKHTcLDeO7XVLbCBFbPi+XV4OC3QJf2U= -go.etcd.io/etcd/client/v3 v3.6.5/go.mod h1:ZqwG/7TAFZ0BJ0jXRPoJjKQJtbFo/9NIY8uoFFKcCyo= -go.etcd.io/etcd/pkg/v3 v3.6.5 h1:byxWB4AqIKI4SBmquZUG1WGtvMfMaorXFoCcFbVeoxM= -go.etcd.io/etcd/pkg/v3 v3.6.5/go.mod h1:uqrXrzmMIJDEy5j00bCqhVLzR5jEJIwDp5wTlLwPGOU= -go.etcd.io/etcd/server/v3 v3.6.5 h1:4RbUb1Bd4y1WkBHmuF+cZII83JNQMuNXzyjwigQ06y0= -go.etcd.io/etcd/server/v3 v3.6.5/go.mod h1:PLuhyVXz8WWRhzXDsl3A3zv/+aK9e4A9lpQkqawIaH0= +go.etcd.io/etcd/api/v3 v3.6.8 h1:gqb1VN92TAI6G2FiBvWcqKtHiIjr4SU2GdXxTwyexbM= +go.etcd.io/etcd/api/v3 v3.6.8/go.mod h1:qyQj1HZPUV3B5cbAL8scG62+fyz5dSxxu0w8pn28N6Q= +go.etcd.io/etcd/client/pkg/v3 v3.6.8 h1:Qs/5C0LNFiqXxYf2GU8MVjYUEXJ6sZaYOz0zEqQgy50= +go.etcd.io/etcd/client/pkg/v3 v3.6.8/go.mod h1:GsiTRUZE2318PggZkAo6sWb6l8JLVrnckTNfbG8PWtw= +go.etcd.io/etcd/client/v3 v3.6.8 h1:B3G76t1UykqAOrbio7s/EPatixQDkQBevN8/mwiplrY= +go.etcd.io/etcd/client/v3 v3.6.8/go.mod h1:MVG4BpSIuumPi+ELF7wYtySETmoTWBHVcDoHdVupwt8= +go.etcd.io/etcd/pkg/v3 v3.6.8 h1:Xe+LIL974spy8b4nEx3H0KMr1ofq3r0kh6FbU3aw4es= +go.etcd.io/etcd/pkg/v3 v3.6.8/go.mod h1:TRibVNe+FqJIe1abOAA1PsuQ4wqO87ZaOoprg09Tn8c= +go.etcd.io/etcd/server/v3 v3.6.8 h1:U2strdSEy1U8qcSzRIdkYpvOPtBy/9i/IfaaCI9flZ4= +go.etcd.io/etcd/server/v3 v3.6.8/go.mod h1:88dCtwUnSirkUoJbflQxxWXqtBSZa6lSG0Kuej+dois= go.etcd.io/raft/v3 v3.6.0 h1:5NtvbDVYpnfZWcIHgGRk9DyzkBIXOi8j+DDp1IcnUWQ= go.etcd.io/raft/v3 v3.6.0/go.mod h1:nLvLevg6+xrVtHUmVaTcTz603gQPHfh7kUAwV6YpfGo= go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64= go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= -go.opentelemetry.io/contrib/bridges/prometheus v0.57.0 h1:UW0+QyeyBVhn+COBec3nGhfnFe5lwB0ic1JBVjzhk0w= -go.opentelemetry.io/contrib/bridges/prometheus v0.57.0/go.mod h1:ppciCHRLsyCio54qbzQv0E4Jyth/fLWDTJYfvWpcSVk= -go.opentelemetry.io/contrib/exporters/autoexport v0.57.0 h1:jmTVJ86dP60C01K3slFQa2NQ/Aoi7zA+wy7vMOKD9H4= -go.opentelemetry.io/contrib/exporters/autoexport v0.57.0/go.mod h1:EJBheUMttD/lABFyLXhce47Wr6DPWYReCzaZiXadH7g= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.61.0 h1:q4XOmH/0opmeuJtPsbFNivyl7bCt7yRBbeEm2sC/XtQ= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.61.0/go.mod h1:snMWehoOh2wsEwnvvwtDyFCxVeDAODenXHtn5vzrKjo= +go.opentelemetry.io/contrib/bridges/prometheus v0.67.0 h1:dkBzNEAIKADEaFnuESzcXvpd09vxvDZsOjx11gjUqLk= +go.opentelemetry.io/contrib/bridges/prometheus v0.67.0/go.mod h1:Z5RIwRkZgauOIfnG5IpidvLpERjhTninpP1dTG2jTl4= +go.opentelemetry.io/contrib/exporters/autoexport v0.67.0 h1:4fnRcNpc6YFtG3zsFw9achKn3XgmxPxuMuqIL5rE8e8= +go.opentelemetry.io/contrib/exporters/autoexport v0.67.0/go.mod h1:qTvIHMFKoxW7HXg02gm6/Wofhq5p3Ib/A/NNt1EoBSQ= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 h1:yI1/OhfEPy7J9eoa6Sj051C7n5dvpj0QX8g4sRchg04= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0/go.mod h1:NoUCKYWK+3ecatC4HjkRktREheMeEtrXoQxrqYFeHSc= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.68.0 h1:CqXxU8VOmDefoh0+ztfGaymYbhdB/tT3zs79QaZTNGY= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.68.0/go.mod h1:BuhAPThV8PBHBvg8ZzZ/Ok3idOdhWIodywz2xEcRbJo= -go.opentelemetry.io/otel v1.43.0 h1:mYIM03dnh5zfN7HautFE4ieIig9amkNANT+xcVxAj9I= -go.opentelemetry.io/otel v1.43.0/go.mod h1:JuG+u74mvjvcm8vj8pI5XiHy1zDeoCS2LB1spIq7Ay0= +go.opentelemetry.io/otel v1.44.0 h1:JjwHmHpA4iZ3wBxluu2fbbE7j4kqlE8jXyAyPXH7HqU= +go.opentelemetry.io/otel v1.44.0/go.mod h1:BMgjTHL9WPRlRjL2oZCBTL4whCGtXch2H4BhOPIAyYc= go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.19.0 h1:Dn8rkudDzY6KV9dr/D/bTUuWgqDf9xe0rr4G2elrn0Y= go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.19.0/go.mod h1:gMk9F0xDgyN9M/3Ed5Y1wKcx/9mlU91NXY2SNq7RQuU= go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.19.0 h1:HIBTQ3VO5aupLKjC90JgMqpezVXwFuq6Ryjn0/izoag= @@ -456,16 +435,16 @@ go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.43.0 h1:mS47AX77OtFfKG4 go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.43.0/go.mod h1:PJnsC41lAGncJlPUniSwM81gc80GkgWJWr3cu2nKEtU= go.opentelemetry.io/otel/log v0.19.0 h1:KUZs/GOsw79TBBMfDWsXS+KZ4g2Ckzksd1ymzsIEbo4= go.opentelemetry.io/otel/log v0.19.0/go.mod h1:5DQYeGmxVIr4n0/BcJvF4upsraHjg6vudJJpnkL6Ipk= -go.opentelemetry.io/otel/metric v1.43.0 h1:d7638QeInOnuwOONPp4JAOGfbCEpYb+K6DVWvdxGzgM= -go.opentelemetry.io/otel/metric v1.43.0/go.mod h1:RDnPtIxvqlgO8GRW18W6Z/4P462ldprJtfxHxyKd2PY= -go.opentelemetry.io/otel/sdk v1.43.0 h1:pi5mE86i5rTeLXqoF/hhiBtUNcrAGHLKQdhg4h4V9Dg= -go.opentelemetry.io/otel/sdk v1.43.0/go.mod h1:P+IkVU3iWukmiit/Yf9AWvpyRDlUeBaRg6Y+C58QHzg= +go.opentelemetry.io/otel/metric v1.44.0 h1:1w0gILTcHdr3YI+ixLyjemwrVnsMURbTZFrSYCdDdmc= +go.opentelemetry.io/otel/metric v1.44.0/go.mod h1:8O7hanEPBNgEMmybD3s2VBKcgWOCsA6tzHBPODAiquo= +go.opentelemetry.io/otel/sdk v1.44.0 h1:nHYwb9lK+fJPU/dnT6s7W7Z8itMWyqrnVfbheVYrZ58= +go.opentelemetry.io/otel/sdk v1.44.0/go.mod h1:Osuydd3Se74nqjAKxid74N5eC+jfEqfTegHRnq58oK0= go.opentelemetry.io/otel/sdk/log v0.19.0 h1:scYVLqT22D2gqXItnWiocLUKGH9yvkkeql5dBDiXyko= go.opentelemetry.io/otel/sdk/log v0.19.0/go.mod h1:vFBowwXGLlW9AvpuF7bMgnNI95LiW10szrOdvzBHlAg= -go.opentelemetry.io/otel/sdk/metric v1.43.0 h1:S88dyqXjJkuBNLeMcVPRFXpRw2fuwdvfCGLEo89fDkw= -go.opentelemetry.io/otel/sdk/metric v1.43.0/go.mod h1:C/RJtwSEJ5hzTiUz5pXF1kILHStzb9zFlIEe85bhj6A= -go.opentelemetry.io/otel/trace v1.43.0 h1:BkNrHpup+4k4w+ZZ86CZoHHEkohws8AY+WTX09nk+3A= -go.opentelemetry.io/otel/trace v1.43.0/go.mod h1:/QJhyVBUUswCphDVxq+8mld+AvhXZLhe+8WVFxiFff0= +go.opentelemetry.io/otel/sdk/metric v1.44.0 h1:3LlKgI+VjbVsjNRFZJZAJ30WjXC5VkNRks6si09iEfI= +go.opentelemetry.io/otel/sdk/metric v1.44.0/go.mod h1:5B5pMARnXxKhltooO4xUuCBorl65a4EpnTalObqOigA= +go.opentelemetry.io/otel/trace v1.44.0 h1:jxF5CsGYCe74MCRx2X4g7WsY/VBKRqqpNvXlX/6gtIk= +go.opentelemetry.io/otel/trace v1.44.0/go.mod h1:oLl1jrMQAVo6v3GAggN+1VH9VIz9iUSvW53sW1Q8PIE= go.opentelemetry.io/proto/otlp v1.10.0 h1:IQRWgT5srOCYfiWnpqUYz9CVmbO8bFmKcwYxpuCSL2g= go.opentelemetry.io/proto/otlp v1.10.0/go.mod h1:/CV4QoCR/S9yaPj8utp3lvQPoqMtxXdzn7ozvvozVqk= go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE= @@ -474,10 +453,12 @@ go.uber.org/automaxprocs v1.6.0 h1:O3y2/QNTOdbF+e/dpXNNW7Rx2hZ4sTIPyybbxyNqTUs= go.uber.org/automaxprocs v1.6.0/go.mod h1:ifeIMSnPZuznNm6jmdzmU3/bfk01Fe2fotchwEFJ8r8= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= +go.uber.org/mock v0.6.0 h1:hyF9dfmbgIX5EfOdasqLsWD6xqpNZlXblLB/Dbnwv3Y= +go.uber.org/mock v0.6.0/go.mod h1:KiVJ4BqZJaMj4svdfmHM0AUx4NJYO8ZNpPnZn1Z+BBU= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= -go.uber.org/zap v1.27.1 h1:08RqriUEv8+ArZRYSTXy1LeBScaMpVSTBhCeaZYfMYc= -go.uber.org/zap v1.27.1/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E= +go.uber.org/zap v1.28.0 h1:IZzaP1Fv73/T/pBMLk4VutPl36uNC+OSUh3JLG3FIjo= +go.uber.org/zap v1.28.0/go.mod h1:rDLpOi171uODNm/mxFcuYWxDsqWSAVkFdX4XojSKg/Q= go.yaml.in/yaml/v2 v2.4.4 h1:tuyd0P+2Ont/d6e2rl3be67goVK4R6deVxCUX5vyPaQ= go.yaml.in/yaml/v2 v2.4.4/go.mod h1:gMZqIpDtDqOfM0uNfy0SkpRhvUryYH0Z6wdMYcacYXQ= go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc= @@ -485,53 +466,48 @@ go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.49.0 h1:+Ng2ULVvLHnJ/ZFEq4KdcDd/cfjrrjjNSXNzxg0Y4U4= -golang.org/x/crypto v0.49.0/go.mod h1:ErX4dUh2UM+CFYiXZRTcMpEcN8b/1gxEuv3nODoYtCA= -golang.org/x/exp v0.0.0-20260112195511-716be5621a96 h1:Z/6YuSHTLOHfNFdb8zVZomZr7cqNgTJvA8+Qz75D8gU= -golang.org/x/exp v0.0.0-20260112195511-716be5621a96/go.mod h1:nzimsREAkjBCIEFtHiYkrJyT+2uy9YZJB7H1k68CXZU= +golang.org/x/crypto v0.55.0 h1:+KWHjbgOaAQ66dh/YlkZKHlz9ZUlq61AFirAR9ntP8M= +golang.org/x/crypto v0.55.0/go.mod h1:uq0V9dE/fzQuJtbnL+2EhWOE63vo164FY8xqEnV9xis= +golang.org/x/exp v0.0.0-20260410095643-746e56fc9e2f h1:W3F4c+6OLc6H2lb//N1q4WpJkhzJCK5J6kUi1NTVXfM= +golang.org/x/exp v0.0.0-20260410095643-746e56fc9e2f/go.mod h1:J1xhfL/vlindoeF/aINzNzt2Bket5bjo9sdOYzOsU80= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.33.0 h1:tHFzIWbBifEmbwtGz65eaWyGiGZatSrT9prnU8DbVL8= -golang.org/x/mod v0.33.0/go.mod h1:swjeQEj+6r7fODbD2cqrnje9PnziFuw4bmLbBZFrQ5w= +golang.org/x/mod v0.38.0 h1:MECBjubtXD7yj4HrhIUcywNaGeNVUdfVnxmPajOk4yk= +golang.org/x/mod v0.38.0/go.mod h1:V6Xz0pq8TQ3dGqVQ1FVHuelZpAL0uNhSkk9ogYP3c40= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.52.0 h1:He/TN1l0e4mmR3QqHMT2Xab3Aj3L9qjbhRm78/6jrW0= -golang.org/x/net v0.52.0/go.mod h1:R1MAz7uMZxVMualyPXb+VaqGSa3LIaUqk0eEt3w36Sw= -golang.org/x/oauth2 v0.35.0 h1:Mv2mzuHuZuY2+bkyWXIHMfhNdJAdwW3FuWeCPYN5GVQ= -golang.org/x/oauth2 v0.35.0/go.mod h1:lzm5WQJQwKZ3nwavOZ3IS5Aulzxi68dUSgRHujetwEA= +golang.org/x/net v0.58.0 h1:ynWG7rqYi4ccpTEuPZ2QGWHktVEM9DMCj9yzDE0Q7To= +golang.org/x/net v0.58.0/go.mod h1:YwCddHnFlT7eLQqVprV19OnhLGtc5xOKgE0RyqgfWAU= +golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs= +golang.org/x/oauth2 v0.36.0/go.mod h1:YDBUJMTkDnJS+A4BP4eZBjCqtokkg1hODuPjwiGPO7Q= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.20.0 h1:e0PTpb7pjO8GAtTs2dQ6jYa5BWYlMuX047Dco/pItO4= -golang.org/x/sync v0.20.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0= +golang.org/x/sync v0.22.0 h1:SZjpbeLmrCk4xhRSZFNZW5gFUeCeFgjekvI/+gfScek= +golang.org/x/sync v0.22.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.42.0 h1:omrd2nAlyT5ESRdCLYdm3+fMfNFE/+Rf4bDIQImRJeo= -golang.org/x/sys v0.42.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= -golang.org/x/term v0.41.0 h1:QCgPso/Q3RTJx2Th4bDLqML4W6iJiaXFq2/ftQF13YU= -golang.org/x/term v0.41.0/go.mod h1:3pfBgksrReYfZ5lvYM0kSO0LIkAl4Yl2bXOkKP7Ec2A= +golang.org/x/sys v0.47.0 h1:o7XGOvZQCADBQQ4Y7VNq2dRWQR7JmOUW8Kxx4ZsNgWs= +golang.org/x/sys v0.47.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= +golang.org/x/term v0.45.0 h1:NwWyBmoJCbfTHpxrWoZ9C6/VxOf7ic219I8xZZFdrf0= +golang.org/x/term v0.45.0/go.mod h1:9aqxs0blBcrm/n0L9QW0aRVD+ktan8ssZromtqJC43w= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.35.0 h1:JOVx6vVDFokkpaq1AEptVzLTpDe9KGpj5tR4/X+ybL8= -golang.org/x/text v0.35.0/go.mod h1:khi/HExzZJ2pGnjenulevKNX1W67CUy0AsXcNubPGCA= -golang.org/x/time v0.14.0 h1:MRx4UaLrDotUKUdCIqzPC48t1Y9hANFKIRpNx+Te8PI= -golang.org/x/time v0.14.0/go.mod h1:eL/Oa2bBBK0TkX57Fyni+NgnyQQN4LitPmob2Hjnqw4= +golang.org/x/text v0.41.0 h1:vz/seA0lnX87Othu2f/0L24RcgrXD9/YFTSuGjj3rH8= +golang.org/x/text v0.41.0/go.mod h1:jvf1O8ajNzZqhSrQBPbutR/EB83Cc0CFrezNQIwbb5M= +golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U= +golang.org/x/time v0.15.0/go.mod h1:Y4YMaQmXwGQZoFaVFk4YpCt4FLQMYKZe9oeV/f4MSno= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20200505023115-26f46d2f7ef8/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.42.0 h1:uNgphsn75Tdz5Ji2q36v/nsFSfR/9BRFvqhGBaJGd5k= -golang.org/x/tools v0.42.0/go.mod h1:Ma6lCIwGZvHK6XtgbswSoWroEkhugApmsXyrUmBhfr0= +golang.org/x/tools v0.48.0 h1:3+hClM1aLL5mjMKm5ovokw9epgRXPuu2tILgismM6RE= +golang.org/x/tools v0.48.0/go.mod h1:08xX0orndb/F7jJxGDicx061tyd5pcMto75YMAXr6lk= golang.org/x/tools/go/expect v0.1.1-deprecated h1:jpBZDwmgPhXsKZC6WhL20P4b/wmnpsEAGHaNy0n/rJM= golang.org/x/tools/go/expect v0.1.1-deprecated/go.mod h1:eihoPOH+FgIqa3FpoTwguz/bVUSGBlGQU67vpBeOrBY= golang.org/x/tools/go/packages/packagestest v0.1.1-deprecated h1:1h2MnaIAIXISqTFKdENegdpAgUXz6NrPEsbIeWaBRvM= @@ -544,16 +520,15 @@ gomodules.xyz/jsonpatch/v2 v2.5.0 h1:JELs8RLM12qJGXU4u/TO3V25KW8GreMKl9pdkk14RM0 gomodules.xyz/jsonpatch/v2 v2.5.0/go.mod h1:AH3dM2RI6uoBZxn3LVrfvJ3E0/9dG4cSrbuBJT4moAY= gonum.org/v1/gonum v0.17.0 h1:VbpOemQlsSMrYmn7T2OUvQ4dqxQXU+ouZFQsZOx50z4= gonum.org/v1/gonum v0.17.0/go.mod h1:El3tOrEuMpv2UdMrbNlKEh9vd86bmQ6vqIcDwxEOc1E= -google.golang.org/genproto/googleapis/api v0.0.0-20260401024825-9d38bb4040a9 h1:VPWxll4HlMw1Vs/qXtN7BvhZqsS9cdAittCNvVENElA= -google.golang.org/genproto/googleapis/api v0.0.0-20260401024825-9d38bb4040a9/go.mod h1:7QBABkRtR8z+TEnmXTqIqwJLlzrZKVfAUm7tY3yGv0M= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260406210006-6f92a3bedf2d h1:wT2n40TBqFY6wiwazVK9/iTWbsQrgk5ZfCSVFLO9LQA= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260406210006-6f92a3bedf2d/go.mod h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8= -google.golang.org/grpc v1.80.0 h1:Xr6m2WmWZLETvUNvIUmeD5OAagMw3FiKmMlTdViWsHM= -google.golang.org/grpc v1.80.0/go.mod h1:ho/dLnxwi3EDJA4Zghp7k2Ec1+c2jqup0bFkw07bwF4= -google.golang.org/protobuf v1.36.11 h1:fV6ZwhNocDyBLK0dj+fg8ektcVegBBuEolpbTQyBNVE= -google.golang.org/protobuf v1.36.11/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco= +google.golang.org/genproto/googleapis/api v0.0.0-20260526163538-3dc84a4a5aaa h1:Kjn0N0tCrDgiAFW+lGO4JZ3ck44CehvJQMAwj9QF0G8= +google.golang.org/genproto/googleapis/api v0.0.0-20260526163538-3dc84a4a5aaa/go.mod h1:q4lMZS6kskjT5HvCPrnnypcDPVJqT/f4nfxmkE7gryY= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260610212136-7ab31c22f7ad h1:45WmJvIV6C2+O/jjLkPUH+F3aOj/1miDoU2DD0+NWbg= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260610212136-7ab31c22f7ad/go.mod h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8= +google.golang.org/grpc v1.83.2 h1:EManeRomTObA0BU7I8vXgg/78uE5MJ9M8B39EX2WscU= +google.golang.org/grpc v1.83.2/go.mod h1:YPI1hK3kDked6iHvgX3tR0y+nX/qpMFKhPgFsokw1S8= +google.golang.org/protobuf v1.36.12 h1:pJOKDDOyeXErUroCihFAd5LQuwXBSpVnKGrj5o/fwxc= +google.golang.org/protobuf v1.36.12/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/evanphx/json-patch.v4 v4.13.0 h1:czT3CmqEaQ1aanPc5SdlgQrrEIb8w/wwCvWWnfEbYzo= @@ -562,61 +537,71 @@ gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= gopkg.in/natefinch/lumberjack.v2 v2.2.1 h1:bBRl1b0OH9s/DuPhuXpNl+VtCaJXFZ5/uEFST95x9zc= gopkg.in/natefinch/lumberjack.v2 v2.2.1/go.mod h1:YD8tP3GAjkrDg1eZH7EGmyESg/lsYskCTPBJVb9jqSc= -gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -helm.sh/helm/v3 v3.21.0 h1:9TRbaXQH+BIKLLDYlu++JsyWodS5kBBOLF7C7HY5+cs= -helm.sh/helm/v3 v3.21.0/go.mod h1:5IvU6Ae6ruB/vasVHhnC1IU5RvqFM349vLYS1BiHqeY= -k8s.io/apiserver v0.35.3 h1:D2eIcfJ05hEAEewoSDg+05e0aSRwx8Y4Agvd/wiomUI= -k8s.io/apiserver v0.35.3/go.mod h1:JI0n9bHYzSgIxgIrfe21dbduJ9NHzKJ6RchcsmIKWKY= -k8s.io/cli-runtime v0.35.3 h1:UZq4ipNimtzBmhN7PPKbfAdqo8quK0H0UdGl6qAQnqI= -k8s.io/cli-runtime v0.35.3/go.mod h1:O7MUmCqcKSd5xI+O5X7/pRkB5l0O2NIhOdUVwbHLXu4= -k8s.io/client-go v0.35.3 h1:s1lZbpN4uI6IxeTM2cpdtrwHcSOBML1ODNTCCfsP1pg= -k8s.io/client-go v0.35.3/go.mod h1:RzoXkc0mzpWIDvBrRnD+VlfXP+lRzqQjCmKtiwZ8Q9c= -k8s.io/component-base v0.35.3 h1:mbKbzoIMy7JDWS/wqZobYW1JDVRn/RKRaoMQHP9c4P0= -k8s.io/component-base v0.35.3/go.mod h1:IZ8LEG30kPN4Et5NeC7vjNv5aU73ku5MS15iZyvyMYk= -k8s.io/component-helpers v0.35.3 h1:Rl2p3wNMC0YU21rziLkWXavr7MwkB5Td3lNZ/+gYGm8= -k8s.io/component-helpers v0.35.3/go.mod h1:8BkyfcBA6XsCtFYxDB+mCfZqM6P39Aco12AKigNn0C8= +helm.sh/helm/v3 v3.21.4 h1:T/GcIEXU/gNjJnkITlIZ3e9xqkZjhFTmISuStTZ6+Qg= +helm.sh/helm/v3 v3.21.4/go.mod h1:cS2FBb+xfLuaSqvEmbqIeKUVFgHdHVHtVeXb2epof3M= +k8s.io/apiserver v0.36.5 h1:KX599gn2a5fQXeoCrDNdpND+AJ9ymq3u4XXvAslwnlo= +k8s.io/apiserver v0.36.5/go.mod h1:wxPt+sgzaPkk+WOgsrwsGB5eyRFXlRuPd2EoZSvh5k8= +k8s.io/cli-runtime v0.36.5 h1:TwL178KVy8bRTe6h2nfvSwkcn/B2nDZpOqYqE8e+Eg0= +k8s.io/cli-runtime v0.36.5/go.mod h1:cPBZUIJIH8ElAFPy+5v2ypmhQOlzyNS36Sm+K3fr+/I= +k8s.io/client-go v0.36.5 h1:D79FgevPon0NIBcjUHMy+QnALtihLGTBqOvIGCgoZmw= +k8s.io/client-go v0.36.5/go.mod h1:JAGQ3N4Z8E3H0W0Nm6NBg1EvB9+/wtEoBPDe8XGkHsI= +k8s.io/component-base v0.36.5 h1:4lvIJ/QZDOchuIRqIna6JqjqO2MoDsH7JdaQ8FJtLVw= +k8s.io/component-base v0.36.5/go.mod h1:ZCmi+txXm31F2uYY5p9FwQsww0g5BM0pI/gNsH9uAMY= +k8s.io/component-helpers v0.36.5 h1:ZRChXMmBeKd0U34CgYHgQiQLzV0O971DTR3JSMUpgRU= +k8s.io/component-helpers v0.36.5/go.mod h1:cSPYaE5E3h0f8kHMCNYX7h9+XBWUNZ7Qt0VPzepw8z0= +k8s.io/cri-streaming v0.36.5 h1:Mo3EUdf17ahHmtaCdZOPpGVOst5Uwx/TwZP3OOVU2Y0= +k8s.io/cri-streaming v0.36.5/go.mod h1:LIvWDMxcFGG7U3KKlpO7R8MDc76XtZA6OHoHcVxumQw= +k8s.io/dynamic-resource-allocation v0.36.2 h1:1/EsAKFsxuLU2pS0XuryhJbZgzBETcPMw63LF4qIEWQ= +k8s.io/dynamic-resource-allocation v0.36.2/go.mod h1:3WOyPlAjcFTFVEcOUNzjxGOvTb9KOtWLrS9ScEOw1dY= k8s.io/gengo/v2 v2.0.0-20251215205346-5ee0d033ba5b h1:0YkdvW3rX2vaBWsqCGZAekxPRwaI5NuYNprOsMNVLns= k8s.io/gengo/v2 v2.0.0-20251215205346-5ee0d033ba5b/go.mod h1:yvyl3l9E+UxlqOMUULdKTAYB0rEhsmjr7+2Vb/1pCSo= -k8s.io/kms v0.35.3 h1:jaxr/7dNqcztGldnfCEZg8DegEOnHV6cfoBC2ACMWEg= -k8s.io/kms v0.35.3/go.mod h1:VT+4ekZAdrZDMgShK37vvlyHUVhwI9t/9tvh0AyCWmQ= -k8s.io/kube-openapi v0.0.0-20260127142750-a19766b6e2d4 h1:HhDfevmPS+OalTjQRKbTHppRIz01AWi8s45TMXStgYY= -k8s.io/kube-openapi v0.0.0-20260127142750-a19766b6e2d4/go.mod h1:kdmbQkyfwUagLfXIad1y2TdrjPFWp2Q89B3qkRwf/pQ= -k8s.io/kubectl v0.35.3 h1:1KqSYXk/sodU7VeDvK6atX2kAGUZd2QTeR5K7Hb9r9w= -k8s.io/kubectl v0.35.3/go.mod h1:GPHxZqRe+u/i3gTBoVQHeIyq2NilfNPj9hDWeuN3x5s= -k8s.io/kubelet v0.35.1 h1:8hOxcPmV50p0N24ScAki8cnYPZlrOpjieLk93zOvZMA= -k8s.io/kubelet v0.35.1/go.mod h1:yJqkfRRPd56bD1Dp8nOof2AsdSKkdPnkfryNibQZk/8= -k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2 h1:AZYQSJemyQB5eRxqcPky+/7EdBj0xi3g0ZcxxJ7vbWU= -k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2/go.mod h1:xDxuJ0whA3d0I4mf/C4ppKHxXynQ+fxnkmQH0vTHnuk= -oras.land/oras-go/v2 v2.6.0 h1:X4ELRsiGkrbeox69+9tzTu492FMUu7zJQW6eJU+I2oc= -oras.land/oras-go/v2 v2.6.0/go.mod h1:magiQDfG6H1O9APp+rOsvCPcW1GD2MM7vgnKY0Y+u1o= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.33.0 h1:qPrZsv1cwQiFeieFlRqT627fVZ+tyfou/+S5S0H5ua0= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.33.0/go.mod h1:Ve9uj1L+deCXFrPOk1LpFXqTg7LCFzFso6PA48q/XZw= -sigs.k8s.io/cluster-inventory-api v0.0.0-20251028164203-2e3fabb46733 h1:l90ANqblqFrE4L2QLLk+9iPjfmaLRvOFL51l/fgwUgg= -sigs.k8s.io/cluster-inventory-api v0.0.0-20251028164203-2e3fabb46733/go.mod h1:guwenlZ9iIfYlNxn7ExCfugOLTh6wjjRX3adC36YCmQ= -sigs.k8s.io/controller-runtime v0.23.3 h1:VjB/vhoPoA9l1kEKZHBMnQF33tdCLQKJtydy4iqwZ80= -sigs.k8s.io/controller-runtime v0.23.3/go.mod h1:B6COOxKptp+YaUT5q4l6LqUJTRpizbgf9KSRNdQGns0= -sigs.k8s.io/jobset v0.11.1 h1:WgLEBnXTeX+4MxfVkIbfm4jIVgjvIY6Jfaei2okxKNk= -sigs.k8s.io/jobset v0.11.1/go.mod h1:aPKgaoGXcxUVUQNB8RbuE7Q9pET9A9MDRsjvHO2lsH0= +k8s.io/kms v0.36.5 h1:LsNYAws4YDI4RFZ9WxFA2tEICZQYeG5HHrDYao23L4U= +k8s.io/kms v0.36.5/go.mod h1:7GDHEJmWmfAJR4eBr4YzM272dPBmoVTgTkoCUOumzq4= +k8s.io/kube-openapi v0.0.0-20260618221249-bc653b64f974 h1:JVogoTvOj6gutlx8bUwGh0e8o8L4X8nDbTLyONmoVvk= +k8s.io/kube-openapi v0.0.0-20260618221249-bc653b64f974/go.mod h1:V/QaCUYDa+0QpcHhVVc5l99Uz56wEMEXBSj9oCDkNDY= +k8s.io/kubectl v0.36.5 h1:466PfDKAiTUbgQSmnjYlashGcMn1zZ0IsOVo7oK1CIk= +k8s.io/kubectl v0.36.5/go.mod h1:nBQ7q6lEydoSESFe9DdQD9r6FS/k0/78C8hp1sC44zw= +k8s.io/kubelet v0.36.5 h1:28D9bkk4p4x5qzX4smu5DMRDoMWd/ELtkKkYaVXeMqE= +k8s.io/kubelet v0.36.5/go.mod h1:bp+0lzM6WxFmCX39rNzU0itS2PAEDzcbrTvZSmzQVFU= +k8s.io/streaming v0.36.5 h1:gcY9VwgT4J/idqwS9ZrzJtH8ouHvZuFEyDWofcaL+F4= +k8s.io/streaming v0.36.5/go.mod h1:tJ6S2bZa2HxIBauguBbCWSCYyd93Grfz1+z3tcOvlDE= +k8s.io/utils v0.0.0-20260626114624-be93311217bd h1:Ea7fgQ5we8Y9T0OX5o0dAHzQOBRI07D/dEYRaB9ZZEs= +k8s.io/utils v0.0.0-20260626114624-be93311217bd/go.mod h1:xDxuJ0whA3d0I4mf/C4ppKHxXynQ+fxnkmQH0vTHnuk= +oras.land/oras-go/v2 v2.6.1 h1:bonOEkjLfp8tt6qXWRRWP6p1F+9octchOf2EqnWB4Zs= +oras.land/oras-go/v2 v2.6.1/go.mod h1:dhtFrFOuZuDtAVeZ9FUnaa5zfzplG3ZnFX9/uH1J/Yk= +sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.34.0 h1:hSfpvjjTQXQY2Fol2CS0QHMNs/WI1MOSGzCm1KhM5ec= +sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.34.0/go.mod h1:Ve9uj1L+deCXFrPOk1LpFXqTg7LCFzFso6PA48q/XZw= +sigs.k8s.io/cluster-inventory-api v0.1.3 h1:E7GY85hOIIPdALNdTO9Cbs2PXqjotWq6afe/NTwgCJo= +sigs.k8s.io/cluster-inventory-api v0.1.3/go.mod h1:7J3M6srZ1I4snZR+p5zxgEBdXnia3tlHo5ODMHJpEUk= +sigs.k8s.io/controller-runtime v0.24.1 h1:miPEwrmirImAvgME1L9qebGHrOnGJoVmVdtOU9fRfo4= +sigs.k8s.io/controller-runtime v0.24.1/go.mod h1:vFkfY5fGt5xAC/sKb8IBFKgWPNKG9OUG29dR8Y2wImw= +sigs.k8s.io/gateway-api v1.6.0 h1:735YBRj5NXFrOGX0GoSjwzUIzbz8kiEOfADsqHFmHgE= +sigs.k8s.io/gateway-api v1.6.0/go.mod h1:FVfx3t389ybeXOqvDghLbdvJdSCfI/PReqCUI3lu3mY= +sigs.k8s.io/jobset v0.12.0 h1:YYPuV0px8Ongq/RXmJg6V0w2UC67aiR+rCMD06vhQQQ= +sigs.k8s.io/jobset v0.12.0/go.mod h1:JpUzWItLGW1ysjbENDk/tRz0rvAwVPFHgHnMv/W2HVY= sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 h1:IpInykpT6ceI+QxKBbEflcR5EXP7sU1kvOlxwZh5txg= sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg= -sigs.k8s.io/kueue v0.17.1 h1:r4cwg3ZFF75l7RjVbdCJgM+0RpU0MJGp7t3rLH8Zyh4= -sigs.k8s.io/kueue v0.17.1/go.mod h1:bRlc6Egt3iDQ3QmbXFi3Oh6KB8m/OXCGN+JVQ3jzfHo= -sigs.k8s.io/kustomize/api v0.20.1 h1:iWP1Ydh3/lmldBnH/S5RXgT98vWYMaTUL1ADcr+Sv7I= -sigs.k8s.io/kustomize/api v0.20.1/go.mod h1:t6hUFxO+Ph0VxIk1sKp1WS0dOjbPCtLJ4p8aADLwqjM= -sigs.k8s.io/kustomize/kyaml v0.20.1 h1:PCMnA2mrVbRP3NIB6v9kYCAc38uvFLVs8j/CD567A78= -sigs.k8s.io/kustomize/kyaml v0.20.1/go.mod h1:0EmkQHRUsJxY8Ug9Niig1pUMSCGHxQ5RklbpV/Ri6po= +sigs.k8s.io/kueue v0.19.10 h1:T/tt3THg1S8+lLdVken9C7oBKd/RtOdaZ0hwS+6OTgw= +sigs.k8s.io/kueue v0.19.10/go.mod h1:OGxzbaVjAF8r46rUbyo3qhtUtLrEtUFIbq85/oTJJhA= +sigs.k8s.io/kustomize/api v0.21.1 h1:lzqbzvz2CSvsjIUZUBNFKtIMsEw7hVLJp0JeSIVmuJs= +sigs.k8s.io/kustomize/api v0.21.1/go.mod h1:f3wkKByTrgpgltLgySCntrYoq5d3q7aaxveSagwTlwI= +sigs.k8s.io/kustomize/kyaml v0.21.1 h1:IVlbmhC076nf6foyL6Taw4BkrLuEsXUXNpsE+ScX7fI= +sigs.k8s.io/kustomize/kyaml v0.21.1/go.mod h1:hmxADesM3yUN2vbA5z1/YTBnzLJ1dajdqpQonwBL1FQ= +sigs.k8s.io/lws v0.9.0 h1:DcJCgxjjoGOx//QHZkeKpyiblxYq70aCRZNYSfykWyI= +sigs.k8s.io/lws v0.9.0/go.mod h1:oYkORu4fUxGwA2Q/V4IOXfn5yGpQVDAHAZx2TVbi9LY= sigs.k8s.io/node-feature-discovery/api/nfd v0.0.0-20260410111035-2c517aa1a8c1 h1:CU23gtBVlent2NN2wAhWbMaonFpcPdE2JvwXpXpsC2U= sigs.k8s.io/node-feature-discovery/api/nfd v0.0.0-20260410111035-2c517aa1a8c1/go.mod h1:kLLxvV/3LKLXm6WGN3itMiH9Fi9DnPzObh+xPGwpaXY= sigs.k8s.io/randfill v1.0.0 h1:JfjMILfT8A6RbawdsK2JXGBR5AQVfd+9TbzrlneTyrU= sigs.k8s.io/randfill v1.0.0/go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY= -sigs.k8s.io/structured-merge-diff/v6 v6.3.2 h1:kwVWMx5yS1CrnFWA/2QHyRVJ8jM6dBA80uLmm0wJkk8= -sigs.k8s.io/structured-merge-diff/v6 v6.3.2/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE= -sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= +sigs.k8s.io/scheduler-plugins v0.34.7 h1:GENSA4rKpCKBrPvNSo2AV2QHU7j3a6LT14kNlHhXfeg= +sigs.k8s.io/scheduler-plugins v0.34.7/go.mod h1:V1Tbv7SoBokUVAFKx5xh5tL/9erbopjYiKo3a7Jo2vI= +sigs.k8s.io/structured-merge-diff/v6 v6.4.2 h1:qdOxHwrl2Kaag1aQEarlYcOA9vSyGCp3CIki3aW8c4Q= +sigs.k8s.io/structured-merge-diff/v6 v6.4.2/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE= sigs.k8s.io/yaml v1.6.0 h1:G8fkbMSAFqgEFgh4b1wmtzDnioxFCUgTZhlbj5P9QYs= sigs.k8s.io/yaml v1.6.0/go.mod h1:796bPqUfzR/0jLAl6XjHl3Ck7MiyVv8dbTdyT3/pMf4= volcano.sh/apis v1.14.0 h1:Rf8wzGFmgzbyg85GO0CxapDDEk/VM3D7QbjbI/sH+OQ= diff --git a/hack/check/upgrade-compat.sh b/hack/check/upgrade-compat.sh index 936be4463..73bd3e825 100755 --- a/hack/check/upgrade-compat.sh +++ b/hack/check/upgrade-compat.sh @@ -205,11 +205,20 @@ K8S_MODULES=( # mismatch and not a difference of cadence. When the module is present it # joins the release cohort. # +# k8s.io/cri-streaming and k8s.io/streaming are published in the Kubernetes +# release line too. The CRI streaming server left the kubelet module in the +# 1.36 line and moved into its own module, so a graph that reaches the server +# carries both of them. They are listed here rather than with the required +# modules, because a graph that does not reach the server does not carry them +# and must still pass. +# # k8s.io/gengo v1 is published on its own cadence and the repository is # moving off it, so the graph may drop it. When it is still there its version # is its own and is not compared with the release line. OPTIONAL_RELEASE_MODULES=( + k8s.io/cri-streaming k8s.io/csi-translation-lib + k8s.io/streaming ) OPTIONAL_OWN_CADENCE_MODULES=( @@ -1175,6 +1184,35 @@ modules_case_setup() { # belongs to the module and not to the line. fixture_move_line "${dir}" "36" ;; + cri-streaming-mismatch) + # The graph carries the release line at v0.36 and the module that hosts + # the CRI streaming server, which the release line published, is still on + # an older one. + fixture_move_line "${dir}" "36" + printf 'k8s.io/cri-streaming|v0.32.5||\n' >>"${dir}/modules.txt" + ;; + cri-streaming-valid) + # The same module on the line the graph carries, so nothing is reported. + fixture_move_line "${dir}" "36" + printf 'k8s.io/cri-streaming|v0.36.5||\n' >>"${dir}/modules.txt" + ;; + cri-streaming-absent) + # The same graph without the module, so a graph that does not reach the + # CRI streaming server still passes. + fixture_move_line "${dir}" "36" + ;; + streaming-mismatch) + # The module the CRI streaming server is built on, on an older line. + fixture_move_line "${dir}" "36" + printf 'k8s.io/streaming|v0.32.5||\n' >>"${dir}/modules.txt" + ;; + streaming-valid) + fixture_move_line "${dir}" "36" + printf 'k8s.io/streaming|v0.36.5||\n' >>"${dir}/modules.txt" + ;; + streaming-absent) + fixture_move_line "${dir}" "36" + ;; gengo-v1-absent) # The graph after the move to gengo v2, where the old module is gone. sed -i.bak '/^k8s\.io\/gengo|/d' "${dir}/modules.txt" @@ -1466,6 +1504,12 @@ self_test() { "minor-mismatch|newly covered minor mismatch|1|ERROR: Kubernetes minor versions disagree: k8s.io/kubectl is v0.36 but k8s.io/api is v0.35" "csi-mismatch|csi translation lib on an older line|1|ERROR: Kubernetes minor versions disagree: k8s.io/csi-translation-lib is v0.32 but k8s.io/api is v0.36" "csi-absent|csi translation lib absent from the graph|0|module check passed" + "cri-streaming-mismatch|cri streaming module on an older line|1|ERROR: Kubernetes minor versions disagree: k8s.io/cri-streaming is v0.32 but k8s.io/api is v0.36" + "cri-streaming-valid|cri streaming module on the graph's line|0|module check passed" + "cri-streaming-absent|cri streaming module absent from the graph|0|module check passed" + "streaming-mismatch|streaming module on an older line|1|ERROR: Kubernetes minor versions disagree: k8s.io/streaming is v0.32 but k8s.io/api is v0.36" + "streaming-valid|streaming module on the graph's line|0|module check passed" + "streaming-absent|streaming module absent from the graph|0|module check passed" "gengo-v1-absent|gengo v1 dropped from the graph|0|module check passed" "missing-gengo-v2|missing required gengo v2|1|ERROR: required module missing from the graph: k8s.io/gengo/v2" "depth3-logr-stamp|drifted stamp on a depth-3 copy|1|ERROR: staged module github.com/go-logr/logr is stamped v9.9.9 but the graph pins github.com/go-logr/logr at v1.4.3" diff --git a/hack/deps.sh b/hack/deps.sh index 0aa098c12..9525dff09 100755 --- a/hack/deps.sh +++ b/hack/deps.sh @@ -35,11 +35,11 @@ function mod_staging() { fi done < <( cat </dev/null 2>&1; then + got="$(sha256sum "${archive}" | cut -d ' ' -f 1)" + else + got="$(shasum -a 256 "${archive}" | cut -d ' ' -f 1)" + fi + if [[ "${want}" != "${got}" ]]; then + gpustack::log::error "checksum for ${tarball} does not verify: ${want} vs ${got}" + rm -f "${archive}" "${checksums}" + return 1 + fi + + tar -xzf "${archive}" \ + --directory "${ROOT_DIR}/.sbin" \ + --strip-components 1 \ + --no-same-owner \ + "golangci-lint-${version}-${os}-${arch}/golangci-lint" + chmod a+x "${ROOT_DIR}/.sbin/golangci-lint" + rm -f "${archive}" "${checksums}" } function gpustack::lint::golangci_lint::validate() { diff --git a/pack/gpustack-operator/Dockerfile b/pack/gpustack-operator/Dockerfile index c795c1afc..04347d87c 100644 --- a/pack/gpustack-operator/Dockerfile +++ b/pack/gpustack-operator/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_VERSION="1.26.9" +ARG GO_VERSION="1.27.3" ARG SKOPEO_VERSION="1.22.0" ARG HELM_VERSION="3.21.0" ARG VALS_VERSION="0.44.0" diff --git a/pkg/api/helper_test.go b/pkg/api/helper_test.go index 6bdb8329d..b2b5cfc0a 100644 --- a/pkg/api/helper_test.go +++ b/pkg/api/helper_test.go @@ -114,7 +114,8 @@ func (f *flakyUpdates) react(action k8stesting.Action) (bool, runtime.Object, er Resource: f.resource, }, action.GetResource().Resource, - errors.New("the object has been modified")) + errors.New("the object has been modified"), + ) } return false, nil, nil diff --git a/pkg/devicemanager/allocator/amd/deviceplugin_test.go b/pkg/devicemanager/allocator/amd/deviceplugin_test.go index 8bceb3951..7fbfb747e 100644 --- a/pkg/devicemanager/allocator/amd/deviceplugin_test.go +++ b/pkg/devicemanager/allocator/amd/deviceplugin_test.go @@ -254,7 +254,8 @@ func TestGetContainerAllocateResponse(t *testing.T) { s := &server{} resp, err := s.GetContainerAllocateResponse( context.Background(), testPod(), testContainer(0, 0), - testDevices(testCardUUID, testCardUUID2), testAllocated(testCardUUID2)) + testDevices(testCardUUID, testCardUUID2), testAllocated(testCardUUID2), + ) require.NoError(t, err) assert.Equal(t, map[string]string{"AMD_VISIBLE_DEVICES": "none"}, resp.Envs) assert.Empty(t, resp.Mounts) @@ -296,7 +297,8 @@ func TestDeviceSetPerAllocationMode(t *testing.T) { s := &server{ResourceServer: deviceplugin.ResourceServer{AllocationMode: mode}} resp, err := s.GetContainerAllocateResponse( context.Background(), testPod(), testContainer(0, 0), - testDevices(testCardUUID, testCardUUID2), testAllocated(c.granted...)) + testDevices(testCardUUID, testCardUUID2), testAllocated(c.granted...), + ) require.NoError(t, err) assert.Equal(t, testDeviceSpecs(c.wantDRM...), resp.Devices) }) @@ -374,7 +376,8 @@ func TestDeviceSetRefusals(t *testing.T) { s := &server{} resp, err := s.GetContainerAllocateResponse( - context.Background(), testPod(), testContainer(0, 0), devs, testAllocated(c.granted...)) + context.Background(), testPod(), testContainer(0, 0), devs, testAllocated(c.granted...), + ) require.Error(t, err) assert.Contains(t, err.Error(), c.wantErr) assert.Nil(t, resp) @@ -394,7 +397,8 @@ func TestGetContainerAllocateResponseRefusesAnIdentitylessAccelerator(t *testing s := &server{} resp, err := s.GetContainerAllocateResponse( context.Background(), testPod(), testContainer(0, 0), - devs, testAllocated("")) + devs, testAllocated(""), + ) require.Error(t, err) assert.Contains(t, err.Error(), "no unique id") assert.Nil(t, resp) @@ -452,7 +456,8 @@ func TestPlaceLogicalSliced(t *testing.T) { placed, err := s.PlaceLogicalSliced( context.Background(), testPod(), testContainer(c.coresPct, 50), testDevices(testCardUUID), testAllocated(testCardUUID), - deviceplugin.Placements{testResource(testCardUUID): c.occupied}) + deviceplugin.Placements{testResource(testCardUUID): c.occupied}, + ) if c.wantErr != "" { require.ErrorContains(t, err, c.wantErr) @@ -477,7 +482,8 @@ func TestPlaceLogicalSliced_RefusesACardWithNoIdentity(t *testing.T) { _, err := s.PlaceLogicalSliced( context.Background(), testPod(), testContainer(25, 50), - testDevices(""), testAllocated(""), nil) + testDevices(""), testAllocated(""), nil, + ) require.ErrorContains(t, err, "reports no unique id") } @@ -491,7 +497,8 @@ func TestGetLogicalSlicedResponse_SingleCard(t *testing.T) { resp, err := s.GetLogicalSlicedResponse( context.Background(), pod, ctr, testDevices(testCardUUID), testAllocated(testCardUUID), - deviceplugin.Placements{testResource(testCardUUID): {{Start: 0, Length: 12}}}) + deviceplugin.Placements{testResource(testCardUUID): {{Start: 0, Length: 12}}}, + ) require.NoError(t, err) assert.Equal(t, map[string]string{ @@ -533,7 +540,8 @@ func TestGetLogicalSlicedResponse_MultiCard(t *testing.T) { deviceplugin.Placements{ testResource(testCardUUID): {{Start: 0, Length: 12}}, testResource(testCardUUID2): {{Start: 12, Length: 12}}, - }) + }, + ) require.NoError(t, err) assert.Equal(t, testCardUUID+","+testCardUUID2, resp.Envs["ROCR_VISIBLE_DEVICES"]) @@ -578,7 +586,8 @@ func TestGetLogicalSlicedResponse_Rejections(t *testing.T) { s := &server{} _, err := s.GetLogicalSlicedResponse( context.Background(), testPod(), c.ctr, - testDevices(testCardUUID), testAllocated(testCardUUID), c.placements) + testDevices(testCardUUID), testAllocated(testCardUUID), c.placements, + ) require.ErrorContains(t, err, c.wantErr) }) } @@ -596,7 +605,8 @@ func TestGetLogicalSlicedResponse_KeepsADeclaredLogLevel(t *testing.T) { context.Background(), testPod(), testContainer(25, 50, core.EnvVar{Name: "LIBVROCM_LOG_LEVEL", Value: "2"}), testDevices(testCardUUID), testAllocated(testCardUUID), - deviceplugin.Placements{testResource(testCardUUID): {{Start: 0, Length: 12}}}) + deviceplugin.Placements{testResource(testCardUUID): {{Start: 0, Length: 12}}}, + ) require.NoError(t, err) assert.NotContains(t, resp.Envs, "LIBVROCM_LOG_LEVEL") } diff --git a/pkg/devicemanager/allocator/ascend/deviceplugin_test.go b/pkg/devicemanager/allocator/ascend/deviceplugin_test.go index c1a33593c..511c7b3df 100644 --- a/pkg/devicemanager/allocator/ascend/deviceplugin_test.go +++ b/pkg/devicemanager/allocator/ascend/deviceplugin_test.go @@ -230,7 +230,8 @@ func TestSlicedVirtualNPUIDAssignment(t *testing.T) { readVNPU := func(uid, ctr string) int { _, vnpu, ok := parseNPUInfoConfig( - filepath.Join(deviceplugin.PodWorkDir(uid, ctr), "etc/enpu/vcann-rt/npu_info.config")) + filepath.Join(deviceplugin.PodWorkDir(uid, ctr), "etc/enpu/vcann-rt/npu_info.config"), + ) require.True(t, ok) return vnpu } @@ -390,7 +391,8 @@ func TestGetSlicedContainerAllocateResponse_A5EnvAndQuotaUseDifferentIDs(t *test assert.Equal(t, "3", resp.Envs["ASCEND_VISIBLE_DEVICES"], "the runtime resolves the dcmi device id on A5") body, err := os.ReadFile(filepath.Join( - deviceplugin.PodWorkDir("uid-a5-sliced", "train"), "etc/enpu/vcann-rt/npu_info.config")) + deviceplugin.PodWorkDir("uid-a5-sliced", "train"), "etc/enpu/vcann-rt/npu_info.config", + )) require.NoError(t, err) assert.Contains(t, string(body), "physical-npu-id=7\n", "vcann-rt still keys its quota by the physical id") } diff --git a/pkg/devicemanager/allocator/ascend/share.go b/pkg/devicemanager/allocator/ascend/share.go index a26da41b3..662b45cd5 100644 --- a/pkg/devicemanager/allocator/ascend/share.go +++ b/pkg/devicemanager/allocator/ascend/share.go @@ -154,5 +154,6 @@ func (s *server) ensureShareEnabled(accel *workercore.Accelerator) error { return fmt.Errorf( "enable container-share mode of card %d device %d: %w; "+ "enable it on the host with `npu-smi set -t device-share -i %d -c %d -d 1`", - cardID, deviceID, err, cardID, deviceID) + cardID, deviceID, err, cardID, deviceID, + ) } diff --git a/pkg/devicemanager/allocator/cambricon/deviceplugin_test.go b/pkg/devicemanager/allocator/cambricon/deviceplugin_test.go index 89ab9c126..5fa3bfec9 100644 --- a/pkg/devicemanager/allocator/cambricon/deviceplugin_test.go +++ b/pkg/devicemanager/allocator/cambricon/deviceplugin_test.go @@ -185,7 +185,8 @@ func TestVisibleDevices(t *testing.T) { for _, c := range cases { t.Run(c.name, func(t *testing.T) { visible, err := visibleDevices( - deviceplugin.AllocatedAccelerators(cambriconDevicesFixture(), c.allocated)) + deviceplugin.AllocatedAccelerators(cambriconDevicesFixture(), c.allocated), + ) require.NoError(t, err) assert.Equal(t, c.want, visible) }) @@ -212,7 +213,8 @@ func TestWholeCard_MissingOwnDeviceNodeRejected(t *testing.T) { pod, ctr := wholeCardPod("pod-no-devnode", "train") _, err := newWholeCardServer(workercore.DeviceAllocationModeExclusive).GetContainerAllocateResponse( - context.Background(), pod, ctr, devs, allocateMLU0()) + context.Background(), pod, ctr, devs, allocateMLU0(), + ) require.Error(t, err) for _, want := range []string{testCard0, cardDevicePath(missingCardIndex)} { assert.Containsf(t, err.Error(), want, "the message must name %q", want) diff --git a/pkg/devicemanager/allocator/cambricon/smlu.go b/pkg/devicemanager/allocator/cambricon/smlu.go index 4e3d129b4..c98fa0c3b 100644 --- a/pkg/devicemanager/allocator/cambricon/smlu.go +++ b/pkg/devicemanager/allocator/cambricon/smlu.go @@ -308,7 +308,8 @@ func ensureSMLUModeEnabled(driver smluDriver, card string, ordinal int, logger k return fmt.Errorf( "card %s (device index %d): enable sMLU mode: %w; to enable it on the host for the card "+ "at this PCI address run `cnmon set -c %d -smlu on`, confirming the ordinal with `cnmon`", - card, ordinal, err, ordinal) + card, ordinal, err, ordinal, + ) } // reserveInstance is the Allocate core. Under allocMu it: (1) reuses an existing @@ -330,7 +331,8 @@ func reserveInstance(driver smluDriver, podUID, container, card string, ordinal, if m.Card != card || m.CoresPct != coresPct || m.MemMiB != memMiB { return smluInstance{}, fmt.Errorf( "marker %q mismatches request (card=%s cores=%d mem=%d): fail closed", - self, card, coresPct, memMiB) + self, card, coresPct, memMiB, + ) } list, err := driver.ListInstances() if err != nil { diff --git a/pkg/devicemanager/allocator/hygon/mig.go b/pkg/devicemanager/allocator/hygon/mig.go index 2932f935d..6d36141b4 100644 --- a/pkg/devicemanager/allocator/hygon/mig.go +++ b/pkg/devicemanager/allocator/hygon/mig.go @@ -219,7 +219,8 @@ func parseMigMarker(path string) (migMarker, error) { } if card, ok := cardFromMigMarkerPath(path); !ok || card != m.Card { return migMarker{}, fmt.Errorf( - "marker %q records card %q, not the card its file name names: fail closed", path, m.Card) + "marker %q records card %q, not the card its file name names: fail closed", path, m.Card, + ) } return m, nil } @@ -406,7 +407,8 @@ func reserveMigInstance( if m, perr := parseMigMarker(self); perr == nil { if m.Profile != profile { return migInstance{}, migRebound, fmt.Errorf( - "marker %q mismatches request (profile=%s): fail closed", self, profile) + "marker %q mismatches request (profile=%s): fail closed", self, profile, + ) } state, serr := drv.CardState(card.PciBusID, profile) if serr != nil { @@ -415,7 +417,8 @@ func reserveMigInstance( live, ok := findLiveMigInstance(state, m.GiID) if !ok { return migInstance{}, migRebound, fmt.Errorf( - "marker %q references missing gpu instance %d on card %s: fail closed", self, m.GiID, cardUUID) + "marker %q references missing gpu instance %d on card %s: fail closed", self, m.GiID, cardUUID, + ) } // Guard against GPU-instance id reuse. The vendor assigns ids from a pool, so a destroyed // instance's id can come back attached to a different partition -- and because this vendor's @@ -424,7 +427,8 @@ func reserveMigInstance( if live.UUID != m.MigUUID { return migInstance{}, migRebound, fmt.Errorf( "marker %q gpu instance %d uuid %q no longer matches live uuid %q (id reused): fail closed", - self, m.GiID, m.MigUUID, live.UUID) + self, m.GiID, m.MigUUID, live.UUID, + ) } return m.instance(), migRebound, nil } else if !os.IsNotExist(perr) { @@ -454,12 +458,14 @@ func reserveMigInstance( slot, ok := pickMigPlacement(state.Possible, occupied) if !ok { return migInstance{}, migCreated, fmt.Errorf( - "card %s has no free placement for profile %s", cardUUID, profile) + "card %s has no free placement for profile %s", cardUUID, profile, + ) } inst, err = drv.CreateInstance(card.PciBusID, profile, slot) if err != nil { return migInstance{}, migCreated, fmt.Errorf( - "create %s instance on card %s: %w", profile, cardUUID, err) + "create %s instance on card %s: %w", profile, cardUUID, err, + ) } outcome = migCreated } @@ -519,7 +525,8 @@ func migAllocatedCards( if accel.Topology.PciBusID == "" { return nil, fmt.Errorf( "card %s: no recorded pci address to reach it through the multi-instance library: fail closed", - accel.ID) + accel.ID, + ) } cards = append(cards, migCard{UUID: accel.ID, PciBusID: accel.Topology.PciBusID}) } diff --git a/pkg/devicemanager/allocator/hygon/mig_reclaim.go b/pkg/devicemanager/allocator/hygon/mig_reclaim.go index 17d4046fa..9bc592a79 100644 --- a/pkg/devicemanager/allocator/hygon/mig_reclaim.go +++ b/pkg/devicemanager/allocator/hygon/mig_reclaim.go @@ -115,7 +115,8 @@ func (r *migReclaimer) note(seen map[string]sets.Set[uint32], m migMarker) { func (r *migReclaimer) release(entry migMarkerEntry) { m := entry.marker logger := r.logger.WithValues( - "pod", m.PodUID, "container", m.Container, "card", m.Card, "gpuInstance", m.GiID) + "pod", m.PodUID, "container", m.Container, "card", m.Card, "gpuInstance", m.GiID, + ) release := lockMigCard(m.PciBusID) defer release() diff --git a/pkg/devicemanager/allocator/hygon/mig_test.go b/pkg/devicemanager/allocator/hygon/mig_test.go index 3c2fb47fa..889e1fabc 100644 --- a/pkg/devicemanager/allocator/hygon/mig_test.go +++ b/pkg/devicemanager/allocator/hygon/mig_test.go @@ -369,7 +369,8 @@ func TestReserveMigInstance(t *testing.T) { PodUID: "other-pod", Container: "other-ctr", Card: testCard().UUID, PciBusID: testCard().PciBusID, Profile: profile, ProfileID: 3, GiID: 7, MigUUID: "held", ConfPath: "/etc/dmi_mig_config/ci/dev0gi7ci0.conf", Start: 2, Length: 1, - })) + }, + )) inst, outcome, err := reserveMigInstance(drv, podsDir, "pod", "ctr", testCard(), profile) @@ -408,7 +409,8 @@ func TestReserveMigInstance(t *testing.T) { migMarker{ PodUID: "other", Container: "ctr", Card: testCard().UUID, PciBusID: testCard().PciBusID, Profile: "8g.63gb", GiID: 1, MigUUID: "big", ConfPath: "/x", Start: 0, Length: 4, - })) + }, + )) _, _, err := reserveMigInstance(drv, podsDir, "pod", "ctr", testCard(), profile) @@ -587,7 +589,8 @@ func TestMigReclaimerReconcile(t *testing.T) { ProfileID: 3, GiID: giID, MigUUID: fmt.Sprintf("u%d", giID), ConfPath: fmt.Sprintf("/etc/dmi_mig_config/ci/dev0gi%dci0.conf", giID), Start: int32(giID), Length: 1, - })) + }, + )) } instance := func(giID uint32) migLiveInstance { return migLiveInstance{PciBusID: bdf, Instance: migInstance{ @@ -717,7 +720,8 @@ func TestMigReclaimerDoesNotCollectAPartitionClaimedMidSweep(t *testing.T) { PodUID: "just-admitted", Container: "main", Card: card, PciBusID: bdf, Profile: "2g.15gb", ProfileID: 3, GiID: 4, MigUUID: "u4", ConfPath: "/etc/dmi_mig_config/ci/dev0gi4ci0.conf", Start: 1, Length: 1, - })) + }, + )) } agedReclaimer(drv, podsDir).reconcile([]string{"just-admitted"}) @@ -802,7 +806,8 @@ func TestMigReclaimerLeavesAFreshRecordAlone(t *testing.T) { PodUID: "just-admitted", Container: "main", Card: card, PciBusID: bdf, Profile: "2g.15gb", ProfileID: 3, GiID: 4, MigUUID: "u4", ConfPath: "/etc/dmi_mig_config/ci/dev0gi4ci0.conf", Start: 1, Length: 1, - })) + }, + )) drv := &fakeMigDriver{listed: []migLiveInstance{{PciBusID: bdf, Instance: migInstance{ GiID: 4, ProfileID: 3, Placement: migPlacement{1, 1}, UUID: "u4", }}}} diff --git a/pkg/devicemanager/allocator/hygon/mig_visibility.go b/pkg/devicemanager/allocator/hygon/mig_visibility.go index 073bb5675..6e3962159 100644 --- a/pkg/devicemanager/allocator/hygon/mig_visibility.go +++ b/pkg/devicemanager/allocator/hygon/mig_visibility.go @@ -58,7 +58,8 @@ func (s *server) ActuatePhysicalSliced( return nil, fmt.Errorf( "container %q was granted %d accelerators, but a hygon partition request can only be served by"+ " one: the vendor runtime makes exactly one partition visible to a container, so the rest"+ - " would be carved and never reachable", ctr.Name, len(cards)) + " would be carved and never reachable", ctr.Name, len(cards), + ) } card := cards[0] @@ -69,7 +70,8 @@ func (s *server) ActuatePhysicalSliced( release := lockMigCard(card.PciBusID) inst, outcome, err := reserveMigInstance( - s.mig, deviceplugin.OperatorPodsDir, string(pod.UID), ctr.Name, card, profile) + s.mig, deviceplugin.OperatorPodsDir, string(pod.UID), ctr.Name, card, profile, + ) release() if err != nil { return nil, err @@ -141,7 +143,8 @@ func (s *server) GetPhysicalSlicedVisibilityResponse( ) (*deviceplugin.ContainerAllocateResponse, error) { if s.mig == nil { return nil, fmt.Errorf( - "partition driver not configured; cannot address the partition container %q holds", owner) + "partition driver not configured; cannot address the partition container %q holds", owner, + ) } cards, err := migAllocatedCards(devs, allocated) @@ -151,7 +154,8 @@ func (s *server) GetPhysicalSlicedVisibilityResponse( if len(cards) != 1 { return nil, fmt.Errorf( "container %q co-allocates %d accelerators, but a hygon partition is only ever held on one", - ctr.Name, len(cards)) + ctr.Name, len(cards), + ) } card := cards[0] @@ -178,7 +182,8 @@ func (s *server) liveOwnedMigInstance(card migCard, podUID, owner string) (migIn m, err := parseMigMarker(path) if err != nil { return migInstance{}, fmt.Errorf( - "read the partition record of container %q on card %s: %w", owner, card.UUID, err) + "read the partition record of container %q on card %s: %w", owner, card.UUID, err, + ) } release := lockMigCard(card.PciBusID) @@ -192,12 +197,14 @@ func (s *server) liveOwnedMigInstance(card migCard, podUID, owner string) (migIn if !ok { return migInstance{}, fmt.Errorf( "the partition container %q holds on card %s (gpu instance %d) is gone: fail closed", - owner, card.UUID, m.GiID) + owner, card.UUID, m.GiID, + ) } if live.UUID != m.MigUUID { return migInstance{}, fmt.Errorf( "gpu instance %d on card %s now carries identity %q, not the %q container %q holds (id reused):"+ - " fail closed", m.GiID, card.UUID, live.UUID, m.MigUUID, owner) + " fail closed", m.GiID, card.UUID, live.UUID, m.MigUUID, owner, + ) } return m.instance(), nil } @@ -221,7 +228,8 @@ func (s *server) migContainerResponse( if confMount == nil { return nil, fmt.Errorf( "the registry file %q of partition %s is absent, so the container could not activate it", - inst.ConfPath, inst.UUID) + inst.ConfPath, inst.UUID, + ) } resp := &deviceplugin.ContainerAllocateResponse{} diff --git a/pkg/devicemanager/allocator/hygon/preflight.go b/pkg/devicemanager/allocator/hygon/preflight.go index 5f48c6487..ff24cf108 100644 --- a/pkg/devicemanager/allocator/hygon/preflight.go +++ b/pkg/devicemanager/allocator/hygon/preflight.go @@ -113,7 +113,8 @@ func (d *recordingMigDriver) CreateInstance( ) (migInstance, error) { d.creates = append(d.creates, recordedMigCreate{pciBusID: pciBusID, profile: profile, slot: slot}) return migInstance{}, fmt.Errorf( - "hygon preflight: refusing to create a partition through the simulated responder") + "hygon preflight: refusing to create a partition through the simulated responder", + ) } func (d *recordingMigDriver) DestroyInstance(_ string, inst migInstance) error { diff --git a/pkg/devicemanager/allocator/metax/sgpu.go b/pkg/devicemanager/allocator/metax/sgpu.go index 1e39e6274..ab8db6674 100644 --- a/pkg/devicemanager/allocator/metax/sgpu.go +++ b/pkg/devicemanager/allocator/metax/sgpu.go @@ -283,7 +283,8 @@ func reserveSlice(mgr sgpuManager, podUID, container, bdf string, coresPct int, if m.CardBDF != bdf || m.CoresPct != coresPct || m.MemMiB != memMiB || m.wholeCard() != wholeCard { return sliceResult{}, fmt.Errorf( "marker %q mismatches request (card=%s cores=%d mem=%d wholeCard=%t): fail closed", - self, bdf, coresPct, memMiB, wholeCard) + self, bdf, coresPct, memMiB, wholeCard, + ) } if m.wholeCard() { return sliceResult{wholeCard: true}, nil @@ -294,7 +295,8 @@ func reserveSlice(mgr sgpuManager, podUID, container, bdf string, coresPct int, // by the reclaim loop, so a live pod reaching this is a real fault. if !subdeviceOnCard(registry, bdf, m.Index) { return sliceResult{}, fmt.Errorf( - "marker %q references missing sgpu subdevice %s#%d: fail closed", self, bdf, m.Index) + "marker %q references missing sgpu subdevice %s#%d: fail closed", self, bdf, m.Index, + ) } return sliceResult{index: m.Index, envValue: encodeMetaxSGPUs(bdf, m.Index, coresPct, memMiB, encodeAlias(podUID))}, nil } else if !os.IsNotExist(err) { diff --git a/pkg/devicemanager/allocator/nvidia/mig.go b/pkg/devicemanager/allocator/nvidia/mig.go index 28b5db46a..ced74869e 100644 --- a/pkg/devicemanager/allocator/nvidia/mig.go +++ b/pkg/devicemanager/allocator/nvidia/mig.go @@ -211,7 +211,8 @@ func parseMarker(path string) (migMarker, error) { } if card, ok := cardFromMarkerPath(path); !ok || card != m.Card { return migMarker{}, fmt.Errorf( - "marker %q records card %q, not the card its file name names: fail closed", path, m.Card) + "marker %q records card %q, not the card its file name names: fail closed", path, m.Card, + ) } return m, nil } @@ -458,7 +459,8 @@ func reserveMigInstance( if m, perr := parseMarker(self); perr == nil { if m.Profile != profile { return migInstance{}, migRebound, fmt.Errorf( - "marker %q mismatches request (profile=%s): fail closed", self, profile) + "marker %q mismatches request (profile=%s): fail closed", self, profile, + ) } state, serr := drv.CardState(cardUUID, profile, computeSlices, memorySlices) if serr != nil { @@ -467,7 +469,8 @@ func reserveMigInstance( liveInst, ok := findLiveInstance(state, m.GiID) if !ok { return migInstance{}, migRebound, fmt.Errorf( - "marker %q references missing gpu instance %d on card %s: fail closed", self, m.GiID, cardUUID) + "marker %q references missing gpu instance %d on card %s: fail closed", self, m.GiID, cardUUID, + ) } // Guard against GPU-instance id reuse: a destroyed GI's id can be reassigned to a // different partition, so verify the live instance's MIG-device UUID still matches the @@ -475,7 +478,8 @@ func reserveMigInstance( if liveInst.UUID != m.MigUUID { return migInstance{}, migRebound, fmt.Errorf( "marker %q gpu instance %d uuid %q no longer matches live uuid %q (id reused): fail closed", - self, m.GiID, m.MigUUID, liveInst.UUID) + self, m.GiID, m.MigUUID, liveInst.UUID, + ) } return m.instance(), migRebound, nil } else if !os.IsNotExist(perr) { @@ -514,7 +518,8 @@ func reserveMigInstance( slot, ok := pickPlacement(state.Possible, occupied) if !ok { return migInstance{}, migCreated, fmt.Errorf( - "card %s has no free placement for profile %s", cardUUID, profile) + "card %s has no free placement for profile %s", cardUUID, profile, + ) } inst, err = drv.CreateInstance(cardUUID, profile, computeSlices, memorySlices, slot) if err != nil { @@ -635,7 +640,8 @@ func (s *server) ActuatePhysicalSliced( } unlock := lockCard(cardUUID) inst, outcome, err := reserveMigInstance( - s.mig, deviceplugin.OperatorPodsDir, string(pod.UID), ctr.Name, cardUUID, profile, computeSlices, memorySlices) + s.mig, deviceplugin.OperatorPodsDir, string(pod.UID), ctr.Name, cardUUID, profile, computeSlices, memorySlices, + ) unlock() if err != nil { rollback() diff --git a/pkg/devicemanager/allocator/nvidia/mig_test.go b/pkg/devicemanager/allocator/nvidia/mig_test.go index 6c3c08233..69de94d1c 100644 --- a/pkg/devicemanager/allocator/nvidia/mig_test.go +++ b/pkg/devicemanager/allocator/nvidia/mig_test.go @@ -226,7 +226,8 @@ func TestReserveMigInstance(t *testing.T) { drv.possible[testGPUUUID0] = evenSlots() inst, outcome, err := reserveMigInstance( - drv, deviceplugin.OperatorPodsDir, "pod-a", "c", testGPUUUID0, profile, 1, 2) + drv, deviceplugin.OperatorPodsDir, "pod-a", "c", testGPUUUID0, profile, 1, 2, + ) require.NoError(t, err) assert.Equal(t, migCreated, outcome) assert.Equal(t, migPlacement{0, 2}, inst.Placement) @@ -252,7 +253,8 @@ func TestReserveMigInstance(t *testing.T) { })) inst, outcome, err := reserveMigInstance( - drv, deviceplugin.OperatorPodsDir, "pod-b", "c", testGPUUUID0, profile, 1, 2) + drv, deviceplugin.OperatorPodsDir, "pod-b", "c", testGPUUUID0, profile, 1, 2, + ) require.NoError(t, err) assert.Equal(t, migCreated, outcome) assert.Equal(t, migPlacement{2, 2}, inst.Placement, "slot 0 is occupied by pod-old") @@ -266,7 +268,8 @@ func TestReserveMigInstance(t *testing.T) { drv.seedLive(testGPUUUID0, migInstance{GiID: 7, ComputeSlices: 1, Placement: migPlacement{4, 2}, UUID: "MIG-reuse"}) inst, outcome, err := reserveMigInstance( - drv, deviceplugin.OperatorPodsDir, "pod-c", "c", testGPUUUID0, profile, 1, 2) + drv, deviceplugin.OperatorPodsDir, "pod-c", "c", testGPUUUID0, profile, 1, 2, + ) require.NoError(t, err) assert.Equal(t, migBound, outcome, "an unbound instance is reused, not created") assert.Equal(t, uint32(7), inst.GiID) @@ -281,7 +284,8 @@ func TestReserveMigInstance(t *testing.T) { drv.seedLive(testGPUUUID0, migInstance{GiID: 1, ComputeSlices: 7, Placement: migPlacement{0, 8}, UUID: "MIG-whole"}) _, _, err := reserveMigInstance( - drv, deviceplugin.OperatorPodsDir, "pod-d", "c", testGPUUUID0, profile, 1, 2) + drv, deviceplugin.OperatorPodsDir, "pod-d", "c", testGPUUUID0, profile, 1, 2, + ) require.Error(t, err) assert.Contains(t, err.Error(), "no free placement") assert.Equal(t, 0, drv.createCalls) @@ -298,7 +302,8 @@ func TestReserveMigInstance(t *testing.T) { })) inst, outcome, err := reserveMigInstance( - drv, deviceplugin.OperatorPodsDir, "pod-e", "c", testGPUUUID0, profile, 1, 2) + drv, deviceplugin.OperatorPodsDir, "pod-e", "c", testGPUUUID0, profile, 1, 2, + ) require.NoError(t, err) assert.Equal(t, migRebound, outcome, "a retry rebinds its own partition, not a new one") assert.Equal(t, "MIG-self", inst.UUID) @@ -317,7 +322,8 @@ func TestReserveMigInstance(t *testing.T) { })) _, _, err := reserveMigInstance( - drv, deviceplugin.OperatorPodsDir, "pod-f", "c", testGPUUUID0, profile, 1, 2) + drv, deviceplugin.OperatorPodsDir, "pod-f", "c", testGPUUUID0, profile, 1, 2, + ) require.Error(t, err) assert.Contains(t, err.Error(), "id reused") assert.Equal(t, 0, drv.createCalls) @@ -337,7 +343,8 @@ func TestReserveMigInstance_SkipsEmptyUUIDInstance(t *testing.T) { drv.seedLive(testGPUUUID0, migInstance{GiID: 9, ComputeSlices: 1, Placement: migPlacement{0, 2}, UUID: ""}) inst, outcome, err := reserveMigInstance( - drv, deviceplugin.OperatorPodsDir, "pod-a", "c", testGPUUUID0, profile, 1, 2) + drv, deviceplugin.OperatorPodsDir, "pod-a", "c", testGPUUUID0, profile, 1, 2, + ) require.NoError(t, err) assert.Equal(t, migCreated, outcome, "a UUID-less orphan is not adopted") assert.Equal(t, 1, drv.createCalls) @@ -453,7 +460,8 @@ func TestReserveMigInstance_CorruptMarkerFailsAdoptionClosed(t *testing.T) { } inst, outcome, err := reserveMigInstance( - drv, deviceplugin.OperatorPodsDir, "pod-new", "c", testGPUUUID0, profile, 1, 2) + drv, deviceplugin.OperatorPodsDir, "pod-new", "c", testGPUUUID0, profile, 1, 2, + ) require.NoError(t, err, "a corrupt marker never fails the allocation outright") assert.Equal(t, c.wantOutcome, outcome) assert.Equal(t, c.wantCreates, drv.createCalls) @@ -475,13 +483,15 @@ func TestReserveMigInstance_IdempotentRetry(t *testing.T) { drv.possible[testGPUUUID0] = evenSlots() first, outcome, err := reserveMigInstance( - drv, deviceplugin.OperatorPodsDir, "pod-a", "c", testGPUUUID0, profile, 1, 2) + drv, deviceplugin.OperatorPodsDir, "pod-a", "c", testGPUUUID0, profile, 1, 2, + ) require.NoError(t, err) require.Equal(t, migCreated, outcome) // A kubelet Allocate retry rebinds the same instance rather than double-creating. second, outcome, err := reserveMigInstance( - drv, deviceplugin.OperatorPodsDir, "pod-a", "c", testGPUUUID0, profile, 1, 2) + drv, deviceplugin.OperatorPodsDir, "pod-a", "c", testGPUUUID0, profile, 1, 2, + ) require.NoError(t, err) assert.Equal(t, migRebound, outcome) assert.Equal(t, first.GiID, second.GiID) @@ -501,7 +511,8 @@ func TestReserveMigInstance_SelfMarkerStale(t *testing.T) { })) _, _, err := reserveMigInstance( - drv, deviceplugin.OperatorPodsDir, "pod-a", "c", testGPUUUID0, profile, 1, 2) + drv, deviceplugin.OperatorPodsDir, "pod-a", "c", testGPUUUID0, profile, 1, 2, + ) require.Error(t, err) assert.Contains(t, err.Error(), "missing gpu instance") } @@ -516,7 +527,8 @@ func TestReserveMigInstance_ProfileMismatch(t *testing.T) { })) _, _, err := reserveMigInstance( - drv, deviceplugin.OperatorPodsDir, "pod-a", "c", testGPUUUID0, "1g.10gb", 1, 2) + drv, deviceplugin.OperatorPodsDir, "pod-a", "c", testGPUUUID0, "1g.10gb", 1, 2, + ) require.Error(t, err) assert.Contains(t, err.Error(), "mismatches request") } @@ -543,7 +555,8 @@ func TestReserveMigInstance_ConcurrentSameCard(t *testing.T) { unlock := lockCard(testGPUUUID1) defer unlock() inst, _, err := reserveMigInstance( - drv, deviceplugin.OperatorPodsDir, "pod-sib", "c", testGPUUUID1, profile, 1, 2) + drv, deviceplugin.OperatorPodsDir, "pod-sib", "c", testGPUUUID1, profile, 1, 2, + ) require.NoError(t, err) sibling <- inst.Placement }() @@ -555,7 +568,8 @@ func TestReserveMigInstance_ConcurrentSameCard(t *testing.T) { unlock := lockCard(testGPUUUID0) defer unlock() inst, outcome, err := reserveMigInstance( - drv, deviceplugin.OperatorPodsDir, fmt.Sprintf("pod-%d", i), "c", testGPUUUID0, profile, 1, 2) + drv, deviceplugin.OperatorPodsDir, fmt.Sprintf("pod-%d", i), "c", testGPUUUID0, profile, 1, 2, + ) require.NoError(t, err) require.Equal(t, migCreated, outcome) starts[i] = inst.Placement.Start diff --git a/pkg/devicemanager/allocator/nvidia/mig_visibility_test.go b/pkg/devicemanager/allocator/nvidia/mig_visibility_test.go index 30723b08c..6b22c8337 100644 --- a/pkg/devicemanager/allocator/nvidia/mig_visibility_test.go +++ b/pkg/devicemanager/allocator/nvidia/mig_visibility_test.go @@ -168,7 +168,8 @@ func TestGetPhysicalSlicedVisibilityResponse(t *testing.T) { devs := migDevices(visProfile, 1, 2, c.cards...) resp, err := s.GetPhysicalSlicedVisibilityResponse( context.Background(), visibilityPod(), &core.Container{Name: visSidecar}, - devs, allocatedCardSet(devs, c.cards), visOwner) + devs, allocatedCardSet(devs, c.cards), visOwner, + ) if c.wantErr != "" { require.Error(t, err) @@ -193,7 +194,8 @@ func TestGetPhysicalSlicedVisibilityResponse_NoDriver(t *testing.T) { resp, err := s.GetPhysicalSlicedVisibilityResponse( context.Background(), visibilityPod(), &core.Container{Name: visSidecar}, - devs, allocatedCardSet(devs, []string{testGPUUUID0}), visOwner) + devs, allocatedCardSet(devs, []string{testGPUUUID0}), visOwner, + ) require.Error(t, err) assert.Nil(t, resp) } diff --git a/pkg/devicemanager/allocator/nvidia/preflight_test.go b/pkg/devicemanager/allocator/nvidia/preflight_test.go index 7d9b19ab0..cc02f72d4 100644 --- a/pkg/devicemanager/allocator/nvidia/preflight_test.go +++ b/pkg/devicemanager/allocator/nvidia/preflight_test.go @@ -351,7 +351,8 @@ func TestPreflightResponder_RedirectsTheHamiLockDirectoryAndPutsItBack(t *testin injection := deviceplugin.DefaultInjectionResolver(injectionConfig) pod, container, devs, allocated := modeAllocation( - workercore.DeviceAllocationModeSliced, "lockdir") + workercore.DeviceAllocationModeSliced, "lockdir", + ) p := &preflighter{logger: klog.Background(), mig: newFakeMigDriver(), injection: injection} responder, restore, err := p.PreflightResponder(workercore.DeviceAllocationModeSliced) diff --git a/pkg/devicemanager/allocator/thead/deviceplugin_test.go b/pkg/devicemanager/allocator/thead/deviceplugin_test.go index 55442a954..665680a58 100644 --- a/pkg/devicemanager/allocator/thead/deviceplugin_test.go +++ b/pkg/devicemanager/allocator/thead/deviceplugin_test.go @@ -528,7 +528,8 @@ func TestGetContainerAllocateResponse(t *testing.T) { pod, ctr := partitionPod("pod-a") got, err := s.GetContainerAllocateResponse( - context.Background(), pod, ctr, devs, allocatedOn(c.allocated...)) + context.Background(), pod, ctr, devs, allocatedOn(c.allocated...), + ) if c.wantErr != "" { require.Error(t, err, "an incomplete device set must fail the allocation, never shorten the response") assert.Nil(t, got) @@ -570,7 +571,8 @@ func TestGetSlicedContainerAllocateResponse(t *testing.T) { pod, ctr := slicedPod("pod-a", 10, 25, 0) got, err := newSlicedServer(t).GetContainerAllocateResponse( - context.Background(), pod, ctr, devs, allocatedOn(testPPUUUID0)) + context.Background(), pod, ctr, devs, allocatedOn(testPPUUUID0), + ) require.NoError(t, err) // The device set is the whole-accelerator one, unchanged: the slice is enforced inside the container, @@ -766,7 +768,8 @@ func TestGetSlicedContainerAllocateResponseQuota(t *testing.T) { pod, ctr := slicedPod("pod-"+strconv.Itoa(len(c.name)), c.coresPercent, c.memPercent, c.memMib) got, err := newSlicedServer(t).GetContainerAllocateResponse( - context.Background(), pod, ctr, devs, allocated) + context.Background(), pod, ctr, devs, allocated, + ) if c.wantErr != "" { require.Error(t, err, "a figure that cannot be derived must fail the allocation") assert.Nil(t, got) @@ -797,7 +800,8 @@ func TestGetSlicedContainerAllocateResponseRespectsContainerLogLevel(t *testing. ctr.Env = []core.EnvVar{{Name: "LIBHGGC_LOG_LEVEL", Value: "2"}} got, err := newSlicedServer(t).GetContainerAllocateResponse( - context.Background(), pod, ctr, devs, allocatedOn(testPPUUUID0)) + context.Background(), pod, ctr, devs, allocatedOn(testPPUUUID0), + ) require.NoError(t, err) _, injected := got.Envs["LIBHGGC_LOG_LEVEL"] @@ -816,7 +820,8 @@ func TestActuatePhysicalSliced(t *testing.T) { pod, ctr := partitionPod("pod-a") got, err := s.ActuatePhysicalSliced( - context.Background(), pod, ctr, partitionDevices(testPPUUUID0), allocatedOn(testPPUUUID0), testProfile) + context.Background(), pod, ctr, partitionDevices(testPPUUUID0), allocatedOn(testPPUUUID0), testProfile, + ) require.NoError(t, err) assert.Equal(t, testProfile, got.Profile) @@ -864,7 +869,8 @@ func TestActuatePhysicalSlicedVendorExample(t *testing.T) { pod, ctr := partitionPod("pod-a") got, err := s.ActuatePhysicalSliced( - context.Background(), pod, ctr, partitionDevices(testPPUUUID0), allocatedOn(testPPUUUID0), testProfile) + context.Background(), pod, ctr, partitionDevices(testPPUUUID0), allocatedOn(testPPUUUID0), testProfile, + ) require.NoError(t, err) assert.Equal(t, []string{ @@ -1024,7 +1030,8 @@ func TestActuatePhysicalSlicedRequiredNodes(t *testing.T) { pod, ctr := partitionPod("pod-a") got, err := s.ActuatePhysicalSliced( - context.Background(), pod, ctr, partitionDevices(testPPUUUID0), allocatedOn(testPPUUUID0), testProfile) + context.Background(), pod, ctr, partitionDevices(testPPUUUID0), allocatedOn(testPPUUUID0), testProfile, + ) require.Error(t, err, "an incomplete device set must fail the allocation, never shorten the response") assert.Nil(t, got) assert.Contains(t, err.Error(), c.wantErr) @@ -1122,7 +1129,8 @@ func TestActuatePhysicalSlicedCardAddressingGuard(t *testing.T) { pod, ctr := partitionPod("pod-a") got, err := s.ActuatePhysicalSliced( - context.Background(), pod, ctr, devs, allocatedOn(testPPUUUID0), testProfile) + context.Background(), pod, ctr, devs, allocatedOn(testPPUUUID0), testProfile, + ) if c.wantErr == "" { require.NoError(t, err, "an unallocated card is never addressed, so its record is never needed") assert.Equal(t, 1, drv.createCalls) @@ -1173,7 +1181,8 @@ func TestActuatePhysicalSlicedAddressesTheNodeTheOrdinalNames(t *testing.T) { pod, ctr := partitionPod("pod-a") got, err := s.ActuatePhysicalSliced( - context.Background(), pod, ctr, devs, allocatedOn(testPPUUUID0), testProfile) + context.Background(), pod, ctr, devs, allocatedOn(testPPUUUID0), testProfile, + ) require.NoError(t, err) assert.Equal(t, []string{ @@ -1314,7 +1323,8 @@ func TestActuatePhysicalSlicedRefusals(t *testing.T) { pod, ctr := partitionPod("pod-a") got, err := s.ActuatePhysicalSliced( - context.Background(), pod, ctr, partitionDevices(testPPUUUID0), c.allocated, c.profile) + context.Background(), pod, ctr, partitionDevices(testPPUUUID0), c.allocated, c.profile, + ) require.Error(t, err) assert.Nil(t, got) assert.Contains(t, err.Error(), c.wantErr) diff --git a/pkg/devicemanager/allocator/thead/mig.go b/pkg/devicemanager/allocator/thead/mig.go index e23e9e742..75f0280f0 100644 --- a/pkg/devicemanager/allocator/thead/mig.go +++ b/pkg/devicemanager/allocator/thead/mig.go @@ -241,7 +241,8 @@ func parseMarker(path string) (migMarker, error) { } if card, ok := cardFromMarkerPath(path); !ok || card != m.Card { return migMarker{}, fmt.Errorf( - "marker %q records card %q, not the card its file name names: fail closed", path, m.Card) + "marker %q records card %q, not the card its file name names: fail closed", path, m.Card, + ) } return m, nil } @@ -498,7 +499,8 @@ func reserveMigInstance( if m, perr := parseMarker(self); perr == nil { if m.Profile != profile { return migInstance{}, migRebound, fmt.Errorf( - "marker %q mismatches request (profile=%s): fail closed", self, profile) + "marker %q mismatches request (profile=%s): fail closed", self, profile, + ) } state, serr := drv.CardState(cardUUID, profile, computeSlices, memorySlices) if serr != nil { @@ -507,7 +509,8 @@ func reserveMigInstance( liveInst, ok := findLiveInstance(state, m.GiID) if !ok { return migInstance{}, migRebound, fmt.Errorf( - "marker %q references missing gpu instance %d on card %s: fail closed", self, m.GiID, cardUUID) + "marker %q references missing gpu instance %d on card %s: fail closed", self, m.GiID, cardUUID, + ) } // Guard against GPU-instance id reuse: a destroyed instance's id can be reassigned to a // different partition, so verify the live instance's identity still matches the marker @@ -515,7 +518,8 @@ func reserveMigInstance( if liveInst.UUID != m.MigUUID { return migInstance{}, migRebound, fmt.Errorf( "marker %q gpu instance %d uuid %q no longer matches live uuid %q (id reused): fail closed", - self, m.GiID, m.MigUUID, liveInst.UUID) + self, m.GiID, m.MigUUID, liveInst.UUID, + ) } return m.instance(), migRebound, nil } else if !os.IsNotExist(perr) { @@ -546,7 +550,8 @@ func reserveMigInstance( slot, ok := pickPlacement(state.Possible, occupied) if !ok { return migInstance{}, migCreated, fmt.Errorf( - "card %s has no free placement for profile %s", cardUUID, profile) + "card %s has no free placement for profile %s", cardUUID, profile, + ) } inst, err = drv.CreateInstance(cardUUID, profile, computeSlices, memorySlices, slot) if err != nil { @@ -849,7 +854,8 @@ func requireCardNode(devs *workercore.Devices, cardUUID string) (uint32, *device } if len(acc.PhysicalIndexes) == 0 { return 0, nil, fmt.Errorf( - "card %s: no recorded minor number to prove its device node addresses it: fail closed", cardUUID) + "card %s: no recorded minor number to prove its device node addresses it: fail closed", cardUUID, + ) } spec, err := requireNumberedDeviceNode(cardNodePath(acc.Index), acc.PhysicalIndexes[0]) if err != nil { @@ -995,7 +1001,8 @@ func (s *server) ActuatePhysicalSliced( unlock := lockCard(cardUUID) inst, outcome, err := reserveMigInstance( - s.mig, deviceplugin.OperatorPodsDir, string(pod.UID), ctr.Name, cardUUID, profile, computeSlices, memorySlices) + s.mig, deviceplugin.OperatorPodsDir, string(pod.UID), ctr.Name, cardUUID, profile, computeSlices, memorySlices, + ) unlock() if err != nil { rollback() diff --git a/pkg/devicemanager/allocator/thead/mig_test.go b/pkg/devicemanager/allocator/thead/mig_test.go index 538d441f8..41fd96ea8 100644 --- a/pkg/devicemanager/allocator/thead/mig_test.go +++ b/pkg/devicemanager/allocator/thead/mig_test.go @@ -576,7 +576,8 @@ func TestReserveMigInstance(t *testing.T) { } inst, outcome, err := reserveMigInstance( - drv, podsDir, c.podUID, "c", testPPUUUID0, testProfile, 1, 2) + drv, podsDir, c.podUID, "c", testPPUUUID0, testProfile, 1, 2, + ) assert.Equal(t, c.wantCreateCalls, drv.createCalls) if c.wantErr != "" { @@ -764,7 +765,8 @@ func TestReserveMigInstanceConcurrentSameCard(t *testing.T) { unlock := lockCard(testPPUUUID0) defer unlock() inst, outcome, err := reserveMigInstance( - drv, podsDir, fmt.Sprintf("pod-%d", i), "c", testPPUUUID0, testProfile, 1, 2) + drv, podsDir, fmt.Sprintf("pod-%d", i), "c", testPPUUUID0, testProfile, 1, 2, + ) require.NoError(t, err) require.Equal(t, migCreated, outcome) starts[i] = inst.Placement.Start diff --git a/pkg/devicemanager/allocator/thead/mig_visibility.go b/pkg/devicemanager/allocator/thead/mig_visibility.go index e4bb758ce..cf4b52117 100644 --- a/pkg/devicemanager/allocator/thead/mig_visibility.go +++ b/pkg/devicemanager/allocator/thead/mig_visibility.go @@ -138,7 +138,8 @@ func (s *server) liveOwnedInstance(devs *workercore.Devices, podUID, owner, card if liveInst.UUID != m.MigUUID { return migInstance{}, fmt.Errorf( "marker %q gpu instance %d uuid %q no longer matches live uuid %q (id reused): fail closed", - path, m.GiID, m.MigUUID, liveInst.UUID) + path, m.GiID, m.MigUUID, liveInst.UUID, + ) } return m.instance(), nil } diff --git a/pkg/devicemanager/allocator/thead/mig_visibility_test.go b/pkg/devicemanager/allocator/thead/mig_visibility_test.go index ec54a7e1e..0822670ad 100644 --- a/pkg/devicemanager/allocator/thead/mig_visibility_test.go +++ b/pkg/devicemanager/allocator/thead/mig_visibility_test.go @@ -225,7 +225,8 @@ func TestGetPhysicalSlicedVisibilityResponse(t *testing.T) { pod, ctr := visibilityPod() resp, err := s.GetPhysicalSlicedVisibilityResponse( - context.Background(), pod, ctr, devs, allocatedOn(c.cards...), visOwner) + context.Background(), pod, ctr, devs, allocatedOn(c.cards...), visOwner, + ) if c.wantErr != "" { require.Error(t, err) @@ -271,7 +272,8 @@ func TestGetPhysicalSlicedVisibilityResponseMatchesOwner(t *testing.T) { require.NoError(t, err) resp, err := s.GetPhysicalSlicedVisibilityResponse( - context.Background(), pod, sidecar, devs, allocated, visOwner) + context.Background(), pod, sidecar, devs, allocated, visOwner, + ) require.NoError(t, err) assert.Equal(t, devicePaths(ownerResp.Response), devicePaths(resp)) @@ -311,7 +313,8 @@ func TestGetPhysicalSlicedVisibilityResponseRefusals(t *testing.T) { pod, ctr := visibilityPod() resp, err := s.GetPhysicalSlicedVisibilityResponse( - context.Background(), pod, ctr, partitionDevices(testPPUUUID0), c.allocated, visOwner) + context.Background(), pod, ctr, partitionDevices(testPPUUUID0), c.allocated, visOwner, + ) require.Error(t, err) assert.Contains(t, err.Error(), c.wantErr) assert.Nil(t, resp) @@ -331,7 +334,8 @@ func TestGetPhysicalSlicedVisibilityResponseCardStateError(t *testing.T) { pod, ctr := visibilityPod() resp, err := s.GetPhysicalSlicedVisibilityResponse( - context.Background(), pod, ctr, partitionDevices(testPPUUUID0), allocatedOn(testPPUUUID0), visOwner) + context.Background(), pod, ctr, partitionDevices(testPPUUUID0), allocatedOn(testPPUUUID0), visOwner, + ) require.Error(t, err) assert.Contains(t, err.Error(), "read card") assert.Nil(t, resp) diff --git a/pkg/devicemanager/detector/detector_test.go b/pkg/devicemanager/detector/detector_test.go index 0f531020c..d903ef558 100644 --- a/pkg/devicemanager/detector/detector_test.go +++ b/pkg/devicemanager/detector/detector_test.go @@ -313,7 +313,8 @@ func TestNodeWideFabricDomain(t *testing.T) { // Over the whole node it is not unanimous, so no key is published at all. assert.Empty(t, nodefeature.ConstructFabricNodeLabels( - nodeWideDeviceGroups(own, device.DevicesGroupList{inPod, gpu}, sets.New("ascend"))), + nodeWideDeviceGroups(own, device.DevicesGroupList{inPod, gpu}, sets.New("ascend")), + ), "the node as a whole has no single domain") // And the other manufacturer's pass, whose own groups hold no fabric either way, computes that @@ -321,7 +322,8 @@ func TestNodeWideFabricDomain(t *testing.T) { assert.Empty(t, nodefeature.ConstructFabricNodeLabels( nodeWideDeviceGroups(device.DevicesGroupList{gpu}, - device.DevicesGroupList{inPod, gpu}, sets.New("nvidia"))), + device.DevicesGroupList{inPod, gpu}, sets.New("nvidia")), + ), "both writers agree, so neither deletes the other's key") } diff --git a/pkg/devicemanager/detector/hygon/mig_profile.go b/pkg/devicemanager/detector/hygon/mig_profile.go index 1c2af5aac..62b0deae2 100644 --- a/pkg/devicemanager/detector/hygon/mig_profile.go +++ b/pkg/devicemanager/detector/hygon/mig_profile.go @@ -263,14 +263,16 @@ func deriveSlicedProfiles( name := nodefeature.NormalizePartitionedProfileName(raw) if nodefeature.GetAcceleratablePartitionedProfileResourceName(Manufacturer, name) == "" { rejected = append(rejected, fmt.Sprintf( - "profile %d named %q yields no valid resource name, so it cannot be requested", info.Id, raw)) + "profile %d named %q yields no valid resource name, so it cannot be requested", info.Id, raw, + )) continue } placements := placementsFor(info.Id) if len(placements) == 0 || placements[0].Length <= 0 { rejected = append(rejected, fmt.Sprintf( - "profile %d named %q has no legal placement, so its memory-slice span is unknown", info.Id, raw)) + "profile %d named %q has no legal placement, so its memory-slice span is unknown", info.Id, raw, + )) continue } @@ -306,7 +308,8 @@ func deriveSlicedProfiles( } rejected = append(rejected, fmt.Sprintf( "profiles %s normalize to %q with a different geometry, memory, count or placement set;"+ - " all of them are withheld", strings.Join(raws, ", "), name)) + " all of them are withheld", strings.Join(raws, ", "), name, + )) continue } profiles = append(profiles, group[0].profile) @@ -388,7 +391,8 @@ func rejectDivergentGroupProfiles(group *device.DevicesGroup) (rejected []string rejected = append(rejected, fmt.Sprintf( "profile %q is exposed with a different geometry, memory, count or placement set by"+ " card %s than by another card of the same group; it is withheld from the group", - p.Name, group.Accelerators[i].ID)) + p.Name, group.Accelerators[i].ID, + )) } } } diff --git a/pkg/devicemanager/detector/hygon/mig_profile_test.go b/pkg/devicemanager/detector/hygon/mig_profile_test.go index 2ac52447b..6d969c158 100644 --- a/pkg/devicemanager/detector/hygon/mig_profile_test.go +++ b/pkg/devicemanager/detector/hygon/mig_profile_test.go @@ -237,7 +237,8 @@ func TestMigPlacementsByProfile(t *testing.T) { func(profileID uint32) ([]dmi.GpuInstancePlacement, dmi.Return) { a := tc.answers[profileID] return a.slots, a.ret - }) + }, + ) gotIDs := make([]uint32, 0, len(answered)) for _, info := range answered { diff --git a/pkg/devicemanager/detector/link.go b/pkg/devicemanager/detector/link.go index fcd73a157..45fec0681 100644 --- a/pkg/devicemanager/detector/link.go +++ b/pkg/devicemanager/detector/link.go @@ -45,7 +45,8 @@ func interfacesChanged( } return !kubemeta.DeepEqual( withoutLinkFirstSeen(triggersDetect(reported)), - withoutLinkFirstSeen(triggersDetect(detected))) + withoutLinkFirstSeen(triggersDetect(detected)), + ) } // triggersDetect keeps the interfaces whose change is worth another detect round. diff --git a/pkg/devicemanager/detector/link_test.go b/pkg/devicemanager/detector/link_test.go index 8655119d7..65cb24ded 100644 --- a/pkg/devicemanager/detector/link_test.go +++ b/pkg/devicemanager/detector/link_test.go @@ -408,7 +408,8 @@ func (c *countingDevicesClient) Get( ) (*workercore.Devices, error) { if c.stored == nil { return nil, kerrors.NewNotFound( - schema.GroupResource{Group: workercore.GroupVersion.Group, Resource: "devices"}, name) + schema.GroupResource{Group: workercore.GroupVersion.Group, Resource: "devices"}, name, + ) } return c.stored.DeepCopy(), nil } @@ -668,7 +669,8 @@ func TestInterfacesChanged(t *testing.T) { for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { if got := interfacesChanged( - tc.reported, !tc.noBaseline, tc.detected, tc.detectedErr); got != tc.want { + tc.reported, !tc.noBaseline, tc.detected, tc.detectedErr, + ); got != tc.want { t.Errorf("interfacesChanged = %v, want %v", got, tc.want) } }) diff --git a/pkg/devicemanager/detector/node_feature_sync_test.go b/pkg/devicemanager/detector/node_feature_sync_test.go index 5e29a6ce8..ece8746c3 100644 --- a/pkg/devicemanager/detector/node_feature_sync_test.go +++ b/pkg/devicemanager/detector/node_feature_sync_test.go @@ -39,7 +39,8 @@ func nodeFeatureFixture(stored map[string]string) (*nfd.NodeFeature, *core.Node) // promise the whole node a co-location its GPUs are not in. func TestNodeWideReadSynced(t *testing.T) { notFound := kerrors.NewNotFound( - schema.GroupResource{Group: "worker.gpustack.ai", Resource: "devices"}, "node-1") + schema.GroupResource{Group: "worker.gpustack.ai", Resource: "devices"}, "node-1", + ) assert.True(t, nodeWideReadSynced(nil), "a stored record is the whole node") assert.False(t, nodeWideReadSynced(notFound), @@ -48,7 +49,8 @@ func TestNodeWideReadSynced(t *testing.T) { "a read that did not happen cannot support publishing or withholding") assert.False(t, nodeWideReadSynced(kerrors.NewForbidden( schema.GroupResource{Group: "worker.gpustack.ai", Resource: "devices"}, "node-1", - errors.New("nope"))), "nor can any other API error") + errors.New("nope"), + )), "nor can any other API error") } // TestNodeFeatureLabelsGroupSets pins which group set each label set is reduced over. diff --git a/pkg/devicemanager/detector/nvidia/mig_process.go b/pkg/devicemanager/detector/nvidia/mig_process.go index 7b6a74a11..e71412a21 100644 --- a/pkg/devicemanager/detector/nvidia/mig_process.go +++ b/pkg/devicemanager/detector/nvidia/mig_process.go @@ -50,7 +50,8 @@ func (in *nvidia) MonitorAcceleratorPartitions( in.logger.Info("no nvidia pci devices found for allocated partitions", "partitions", len(requests)) grp.Partitions = unreadAcceleratorPartitions( - requests, device.AcceleratorProcessReasonDriverError) + requests, device.AcceleratorProcessReasonDriverError, + ) return grp, nil } @@ -61,7 +62,8 @@ func (in *nvidia) MonitorAcceleratorPartitions( in.logger.V(3).Error(ret, "failed to count devices for allocated partitions", "count", cnt, "partitions", len(requests)) grp.Partitions = unreadAcceleratorPartitions( - requests, device.AcceleratorProcessReasonDriverError) + requests, device.AcceleratorProcessReasonDriverError, + ) return grp, nil } @@ -103,7 +105,8 @@ func (in *nvidia) MonitorAcceleratorPartitions( // a card that has left the machine while an allocation still names a partition on it. for _, cardRequests := range byCard { grp.Partitions = append(grp.Partitions, unreadAcceleratorPartitions( - cardRequests, device.AcceleratorProcessReasonDriverError)...) + cardRequests, device.AcceleratorProcessReasonDriverError, + )...) } return grp, nil diff --git a/pkg/devicemanager/detector/nvidia/mig_process_test.go b/pkg/devicemanager/detector/nvidia/mig_process_test.go index 7820fdcc7..78f5fec91 100644 --- a/pkg/devicemanager/detector/nvidia/mig_process_test.go +++ b/pkg/devicemanager/detector/nvidia/mig_process_test.go @@ -266,7 +266,8 @@ func TestMonitorAcceleratorPartitionsUnread(t *testing.T) { func TestUnreadAcceleratorPartitions(t *testing.T) { got := unreadAcceleratorPartitions( []device.AcceleratorPartitionRequest{request("1g.10gb", 0, 1)}, - device.AcceleratorProcessReasonPermission) + device.AcceleratorProcessReasonPermission, + ) assert.Equal(t, []device.AcceleratorPartition{{ DeviceID: "GPU-0", Profile: "1g.10gb", Placements: placement(0, 1), diff --git a/pkg/devicemanager/detector/nvidia/mig_profile.go b/pkg/devicemanager/detector/nvidia/mig_profile.go index 1a88dbb36..69992ddd2 100644 --- a/pkg/devicemanager/detector/nvidia/mig_profile.go +++ b/pkg/devicemanager/detector/nvidia/mig_profile.go @@ -79,7 +79,8 @@ func deriveSlicedProfiles( if len(placements) == 0 || placements[0].Length <= 0 { errs = append(errs, fmt.Errorf( "profile %d named %q: driver enumerated no legal placement, so its memory-slice span is unknown", - info.Id, name)) + info.Id, name, + )) continue } diff --git a/pkg/devicemanager/detector/nvidia/mig_profile_test.go b/pkg/devicemanager/detector/nvidia/mig_profile_test.go index f31913e6f..4756dec04 100644 --- a/pkg/devicemanager/detector/nvidia/mig_profile_test.go +++ b/pkg/devicemanager/detector/nvidia/mig_profile_test.go @@ -377,7 +377,8 @@ func TestMigPlacementsByProfile(t *testing.T) { return nil, nvml.ERROR_NOT_SUPPORTED } return tc.slots[id], nvml.SUCCESS - }) + }, + ) if (err != nil) != tc.wantErr { t.Errorf("migPlacementsByProfile() error = %v, wantErr %v", err, tc.wantErr) } diff --git a/pkg/devicemanager/detector/slice.go b/pkg/devicemanager/detector/slice.go index 2b8a62d95..80e52c951 100644 --- a/pkg/devicemanager/detector/slice.go +++ b/pkg/devicemanager/detector/slice.go @@ -622,7 +622,8 @@ func withPartitions( slices.SortFunc(section.Partitions, func(a, b SlicePartition) int { return strings.Compare( a.Manufacturer+"\x00"+a.DeviceID+"\x00"+a.PodUID+"\x00"+a.Container, - b.Manufacturer+"\x00"+b.DeviceID+"\x00"+b.PodUID+"\x00"+b.Container) + b.Manufacturer+"\x00"+b.DeviceID+"\x00"+b.PodUID+"\x00"+b.Container, + ) }) return section } @@ -724,7 +725,8 @@ func buildSliceSection( for _, procs := range procGrp.Accelerators { usages, diag := aggregateAcceleratorProcesses( manufacturer, procs, cardMemory[manufacturer+"/"+procs.ID], - names, resolve) + names, resolve, + ) // The bound drops a device whole, never some of its records: a record missing from a // device the section still reports as measured would read as a measured zero. @@ -749,7 +751,8 @@ func buildSliceSection( slices.SortFunc(section.Usages, func(a, b SliceUsage) int { return strings.Compare( a.Manufacturer+"\x00"+a.DeviceID+"\x00"+a.PodUID+"\x00"+a.Container, - b.Manufacturer+"\x00"+b.DeviceID+"\x00"+b.PodUID+"\x00"+b.Container) + b.Manufacturer+"\x00"+b.DeviceID+"\x00"+b.PodUID+"\x00"+b.Container, + ) }) slices.SortFunc(section.Devices, func(a, b SliceDeviceDiagnostics) int { return strings.Compare(a.Manufacturer+"\x00"+a.DeviceID, b.Manufacturer+"\x00"+b.DeviceID) diff --git a/pkg/devicemanager/detector/slice_test.go b/pkg/devicemanager/detector/slice_test.go index ea7318d37..a589721d5 100644 --- a/pkg/devicemanager/detector/slice_test.go +++ b/pkg/devicemanager/detector/slice_test.go @@ -566,7 +566,8 @@ func TestBuildSliceSectionBound(t *testing.T) { // Every figure on such a device is absent, whichever container is asked for. figures, ok := section.Figures( testManufacturer, "00000000-89ab-cdef-0123-456789abcdef", - "instance-container-name", diag.DeviceID) + "instance-container-name", diag.DeviceID, + ) require.True(t, ok) assert.Nil(t, figures.MemoryUsedMiB) assert.Nil(t, figures.CoresUtilizationPercent) @@ -621,7 +622,8 @@ func TestCollectSlices(t *testing.T) { slicedPods := func(_ context.Context) ([]core.Pod, error) { return []core.Pod{*instancePodFixture( - testPodAUID, testCtrAID, workercore.DeviceAllocationModeSliced, testDeviceID)}, nil + testPodAUID, testCtrAID, workercore.DeviceAllocationModeSliced, testDeviceID, + )}, nil } t.Run("a detector serving no per-process query yields no section", func(t *testing.T) { @@ -654,7 +656,8 @@ func TestCollectSlices(t *testing.T) { t.Run(mode.String(), func(t *testing.T) { d, provider := detectorWith(func(_ context.Context) ([]core.Pod, error) { return []core.Pod{*instancePodFixture( - testPodAUID, testCtrAID, mode, testDeviceID)}, nil + testPodAUID, testCtrAID, mode, testDeviceID, + )}, nil }, fakeProcTree(100, testPodAUID, testCtrAID)) assert.Nil(t, d.collectSlices(t.Context(), metrics)) @@ -672,7 +675,8 @@ func TestCollectSlices(t *testing.T) { t.Run(mode.String(), func(t *testing.T) { d, provider := detectorWith(func(_ context.Context) ([]core.Pod, error) { return []core.Pod{*instancePodFixture( - testPodAUID, testCtrAID, mode, testDeviceID)}, nil + testPodAUID, testCtrAID, mode, testDeviceID, + )}, nil }, fakeProcTree(100, testPodAUID, testCtrAID)) section := d.collectSlices(t.Context(), metrics) @@ -744,34 +748,40 @@ func TestCarvedAcceleratorsOf(t *testing.T) { { name: "a logical slice is a target", pods: []core.Pod{*instancePodFixture( - testPodAUID, testCtrAID, workercore.DeviceAllocationModeSliced, testDeviceID)}, + testPodAUID, testCtrAID, workercore.DeviceAllocationModeSliced, testDeviceID, + )}, want: map[string]sets.Set[string]{testManufacturer: sets.New(testDeviceID)}, }, { name: "a hardware partition is a target too", pods: []core.Pod{*instancePodFixture( - testPodAUID, testCtrAID, workercore.DeviceAllocationModePartitioned, testDeviceID)}, + testPodAUID, testCtrAID, workercore.DeviceAllocationModePartitioned, testDeviceID, + )}, want: map[string]sets.Set[string]{testManufacturer: sets.New(testDeviceID)}, }, { name: "a whole-device allocation is not", pods: []core.Pod{*instancePodFixture( - testPodAUID, testCtrAID, workercore.DeviceAllocationModeExclusive, testDeviceID)}, + testPodAUID, testCtrAID, workercore.DeviceAllocationModeExclusive, testDeviceID, + )}, want: map[string]sets.Set[string]{}, }, { name: "a shared allocation carries no quota to read a slice against", pods: []core.Pod{*instancePodFixture( - testPodAUID, testCtrAID, workercore.DeviceAllocationModeShared, testDeviceID)}, + testPodAUID, testCtrAID, workercore.DeviceAllocationModeShared, testDeviceID, + )}, want: map[string]sets.Set[string]{}, }, { name: "two Pods carving two devices yield both", pods: []core.Pod{ *instancePodFixture( - testPodAUID, testCtrAID, workercore.DeviceAllocationModeSliced, testDeviceID), + testPodAUID, testCtrAID, workercore.DeviceAllocationModeSliced, testDeviceID, + ), *instancePodFixture( - testPodBUID, testCtrBID, workercore.DeviceAllocationModeSliced, "GPU-1"), + testPodBUID, testCtrBID, workercore.DeviceAllocationModeSliced, "GPU-1", + ), }, want: map[string]sets.Set[string]{testManufacturer: sets.New(testDeviceID, "GPU-1")}, }, @@ -790,7 +800,8 @@ func TestCarvedAcceleratorsOf(t *testing.T) { }, }}, *instancePodFixture( - testPodAUID, testCtrAID, workercore.DeviceAllocationModeSliced, testDeviceID), + testPodAUID, testCtrAID, workercore.DeviceAllocationModeSliced, testDeviceID, + ), }, want: map[string]sets.Set[string]{testManufacturer: sets.New(testDeviceID)}, }, @@ -808,7 +819,8 @@ func TestCarvedAcceleratorsOf(t *testing.T) { // container NAMES the section is keyed by. func TestPodIndexOf(t *testing.T) { instance := instancePodFixture( - testPodAUID, testCtrAID, workercore.DeviceAllocationModeSliced, testDeviceID) + testPodAUID, testCtrAID, workercore.DeviceAllocationModeSliced, testDeviceID, + ) plain := &core.Pod{ ObjectMeta: meta.ObjectMeta{Name: "plain", Namespace: "default", UID: types.UID(testPodCUID)}, Status: core.PodStatus{ContainerStatuses: []core.ContainerStatus{ @@ -867,7 +879,8 @@ func fakeProcTree(pid uint32, podUID, containerID string) fstest.MapFS { return fstest.MapFS{ dir + "/cgroup": {Data: []byte(fmt.Sprintf( "0::/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-pod%s.slice/cri-containerd-%s.scope\n", - escaped, containerID))}, + escaped, containerID, + ))}, dir + "/stat": {Data: []byte(fmt.Sprintf("%d (python3) S 1 1 0 0 -1 4194304 0", pid))}, dir + "/comm": {Data: []byte("python3\n")}, } @@ -1000,7 +1013,8 @@ func TestPartitionTargetsOf(t *testing.T) { { name: "a partition with a profile and a placement is a target", pods: []core.Pod{*partitionPodFixture( - testPodAUID, testCtrAID, testDeviceID, "1g.10gb", testPlacement(0, 1)...)}, + testPodAUID, testCtrAID, testDeviceID, "1g.10gb", testPlacement(0, 1)..., + )}, want: map[string][]partitionTarget{testManufacturer: {{ podUID: testPodAUID, container: testCtrName, request: device.AcceleratorPartitionRequest{ @@ -1012,19 +1026,22 @@ func TestPartitionTargetsOf(t *testing.T) { { name: "a partition naming no profile is not a target", pods: []core.Pod{*partitionPodFixture( - testPodAUID, testCtrAID, testDeviceID, "", testPlacement(0, 1)...)}, + testPodAUID, testCtrAID, testDeviceID, "", testPlacement(0, 1)..., + )}, want: map[string][]partitionTarget{}, }, { name: "a partition naming no placement is not a target", pods: []core.Pod{*partitionPodFixture( - testPodAUID, testCtrAID, testDeviceID, "1g.10gb")}, + testPodAUID, testCtrAID, testDeviceID, "1g.10gb", + )}, want: map[string][]partitionTarget{}, }, { name: "a logical slice is not a target: it has no handle of its own to read", pods: []core.Pod{*instancePodFixture( - testPodAUID, testCtrAID, workercore.DeviceAllocationModeSliced, testDeviceID)}, + testPodAUID, testCtrAID, workercore.DeviceAllocationModeSliced, testDeviceID, + )}, want: map[string][]partitionTarget{}, }, { @@ -1033,9 +1050,11 @@ func TestPartitionTargetsOf(t *testing.T) { name: "a partition two Pods claim is dropped for both", pods: []core.Pod{ *partitionPodFixture( - testPodAUID, testCtrAID, testDeviceID, "1g.10gb", testPlacement(0, 1)...), + testPodAUID, testCtrAID, testDeviceID, "1g.10gb", testPlacement(0, 1)..., + ), *partitionPodFixture( - testPodBUID, testCtrBID, testDeviceID, "1g.10gb", testPlacement(0, 1)...), + testPodBUID, testCtrBID, testDeviceID, "1g.10gb", testPlacement(0, 1)..., + ), }, want: map[string][]partitionTarget{}, }, @@ -1043,11 +1062,14 @@ func TestPartitionTargetsOf(t *testing.T) { name: "a partition two Pods claim does not take a sibling partition with it", pods: []core.Pod{ *partitionPodFixture( - testPodAUID, testCtrAID, testDeviceID, "1g.10gb", testPlacement(0, 1)...), + testPodAUID, testCtrAID, testDeviceID, "1g.10gb", testPlacement(0, 1)..., + ), *partitionPodFixture( - testPodBUID, testCtrBID, testDeviceID, "1g.10gb", testPlacement(0, 1)...), + testPodBUID, testCtrBID, testDeviceID, "1g.10gb", testPlacement(0, 1)..., + ), *partitionPodFixture( - testPodCUID, testCtrAID, testDeviceID, "1g.10gb", testPlacement(2, 1)...), + testPodCUID, testCtrAID, testDeviceID, "1g.10gb", testPlacement(2, 1)..., + ), }, want: map[string][]partitionTarget{testManufacturer: {{ podUID: testPodCUID, container: testCtrName, @@ -1061,9 +1083,11 @@ func TestPartitionTargetsOf(t *testing.T) { name: "two Pods partitioning one card are two targets", pods: []core.Pod{ *partitionPodFixture( - testPodAUID, testCtrAID, testDeviceID, "1g.10gb", testPlacement(0, 1)...), + testPodAUID, testCtrAID, testDeviceID, "1g.10gb", testPlacement(0, 1)..., + ), *partitionPodFixture( - testPodBUID, testCtrBID, testDeviceID, "1g.10gb", testPlacement(1, 1)...), + testPodBUID, testCtrBID, testDeviceID, "1g.10gb", testPlacement(1, 1)..., + ), }, want: map[string][]partitionTarget{testManufacturer: { { @@ -1320,7 +1344,8 @@ func TestCollectSlicesPartitions(t *testing.T) { }} pods := func(_ context.Context) ([]core.Pod, error) { return []core.Pod{*partitionPodFixture( - testPodAUID, testCtrAID, testDeviceID, "1g.10gb", testPlacement(0, 1)...)}, nil + testPodAUID, testCtrAID, testDeviceID, "1g.10gb", testPlacement(0, 1)..., + )}, nil } answered := device.AcceleratorPartition{ DeviceID: testDeviceID, @@ -1391,7 +1416,8 @@ func TestCollectSlicesPartitions(t *testing.T) { d := detectorWith(provider) d.podLister = func(_ context.Context) ([]core.Pod, error) { return []core.Pod{*instancePodFixture( - testPodAUID, testCtrAID, workercore.DeviceAllocationModeSliced, testDeviceID)}, nil + testPodAUID, testCtrAID, workercore.DeviceAllocationModeSliced, testDeviceID, + )}, nil } d.collectSlices(t.Context(), metrics) diff --git a/pkg/devicemanager/detector/thead/mig_process.go b/pkg/devicemanager/detector/thead/mig_process.go index e1e8abd45..df1cb00e1 100644 --- a/pkg/devicemanager/detector/thead/mig_process.go +++ b/pkg/devicemanager/detector/thead/mig_process.go @@ -61,7 +61,8 @@ func (in *thead) MonitorAcceleratorPartitions( in.logger.Info("no thead pci devices found for allocated partitions", "partitions", len(requests)) grp.Partitions = unreadAcceleratorPartitions( - requests, device.AcceleratorProcessReasonDriverError) + requests, device.AcceleratorProcessReasonDriverError, + ) return grp, nil } @@ -72,7 +73,8 @@ func (in *thead) MonitorAcceleratorPartitions( in.logger.V(3).Error(ret, "failed to count devices for allocated partitions", "count", cnt, "partitions", len(requests)) grp.Partitions = unreadAcceleratorPartitions( - requests, device.AcceleratorProcessReasonDriverError) + requests, device.AcceleratorProcessReasonDriverError, + ) return grp, nil } @@ -114,7 +116,8 @@ func (in *thead) MonitorAcceleratorPartitions( // a card that has left the machine while an allocation still names a partition on it. for _, cardRequests := range byCard { grp.Partitions = append(grp.Partitions, unreadAcceleratorPartitions( - cardRequests, device.AcceleratorProcessReasonDriverError)...) + cardRequests, device.AcceleratorProcessReasonDriverError, + )...) } return grp, nil diff --git a/pkg/devicemanager/detector/thead/mig_profile.go b/pkg/devicemanager/detector/thead/mig_profile.go index f0bd03e57..e50475591 100644 --- a/pkg/devicemanager/detector/thead/mig_profile.go +++ b/pkg/devicemanager/detector/thead/mig_profile.go @@ -70,7 +70,8 @@ func deriveSlicedProfiles( name := nodefeature.NormalizePartitionedProfileName(raw) if nodefeature.GetAcceleratablePartitionedProfileResourceName(Manufacturer, name) == "" { rejected = append(rejected, fmt.Sprintf( - "profile %d named %q yields no valid resource name, so it cannot be requested", info.Id, raw)) + "profile %d named %q yields no valid resource name, so it cannot be requested", info.Id, raw, + )) continue } @@ -82,7 +83,8 @@ func deriveSlicedProfiles( } if len(placements) == 0 || placements[0].Length <= 0 { rejected = append(rejected, fmt.Sprintf( - "profile %d named %q has no legal placement, so its memory-slice span is unknown", info.Id, raw)) + "profile %d named %q has no legal placement, so its memory-slice span is unknown", info.Id, raw, + )) continue } @@ -105,7 +107,8 @@ func deriveSlicedProfiles( rejected = append(rejected, fmt.Sprintf( "profile %d named %q normalizes to %q, which another profile already exposes with a"+ " different geometry, memory, count or placement set; both are withheld", - info.Id, raw, name)) + info.Id, raw, name, + )) withheld[name] = struct{}{} profiles = slices.Delete(profiles, idx, idx+1) for n, i := range seen { @@ -156,7 +159,8 @@ func rejectDivergentGroupProfiles(group *device.DevicesGroup) (rejected []string rejected = append(rejected, fmt.Sprintf( "profile %q is exposed with a different geometry, memory, count or placement set by"+ " card %s than by another card of the same group; it is withheld from the group", - p.Name, group.Accelerators[i].ID)) + p.Name, group.Accelerators[i].ID, + )) } } } diff --git a/pkg/devicemanager/detector/thead/mig_profile_test.go b/pkg/devicemanager/detector/thead/mig_profile_test.go index ddf7fff7c..7e6ec1ce5 100644 --- a/pkg/devicemanager/detector/thead/mig_profile_test.go +++ b/pkg/devicemanager/detector/thead/mig_profile_test.go @@ -324,7 +324,8 @@ func TestDeriveSlicedProfilesRejectsCollisions(t *testing.T) { []hgml.GpuInstanceProfileInfo_v3{base, collided, keeper}, func(id uint32) []device.AcceleratorPlacement { return zw810ePlacements()[id] - }) + }, + ) // The colliding name is withheld entirely — neither reading of it is // trustworthy — while every other profile the accelerator offers is unaffected. @@ -421,7 +422,8 @@ func TestMigPlacementsByProfile(t *testing.T) { return nil, hgml.ERROR_NOT_SUPPORTED } return tc.slots[id], hgml.SUCCESS - }) + }, + ) assert.Equal(t, tc.wantErr, err != nil, "error = %v", err) gotAnswered := make([]uint32, 0, len(answered)) diff --git a/pkg/devicemanager/exporter/collector_test.go b/pkg/devicemanager/exporter/collector_test.go index dc7a0c187..5e16a5ce5 100644 --- a/pkg/devicemanager/exporter/collector_test.go +++ b/pkg/devicemanager/exporter/collector_test.go @@ -804,13 +804,15 @@ func TestCollector_SameFixtureAsTheSubresource(t *testing.T) { name: "both figures measured", section: sliceSectionFixture( []detector.SliceUsage{sliceUsageFixture(ptr.To[uint64](6144), ptr.To[uint32](18))}, - []detector.SliceDeviceDiagnostics{measuredDevice("gpu-uuid-1")}), + []detector.SliceDeviceDiagnostics{measuredDevice("gpu-uuid-1")}, + ), }, { name: "measured and idle", section: sliceSectionFixture( []detector.SliceUsage{sliceUsageFixture(ptr.To[uint64](0), ptr.To[uint32](0))}, - []detector.SliceDeviceDiagnostics{measuredDevice("gpu-uuid-1")}), + []detector.SliceDeviceDiagnostics{measuredDevice("gpu-uuid-1")}, + ), }, { name: "memory answered, compute did not", @@ -819,7 +821,8 @@ func TestCollector_SameFixtureAsTheSubresource(t *testing.T) { []detector.SliceDeviceDiagnostics{{ Manufacturer: "nvidia", DeviceID: "gpu-uuid-1", CoresReason: device.AcceleratorProcessReasonUnsupported, - }}), + }}, + ), }, { name: "a device the section cannot answer for", @@ -863,7 +866,8 @@ func TestCollector_SameFixtureAsTheSubresource(t *testing.T) { // What the subresource serves for this very fixture. One grant per card in every mode // these fixtures cover, so one entry. resolved := round.Snapshot.Instances[0].Grants.Resolve( - c.section, "nvidia", &monitor.Groups[0].Accelerators[0]) + c.section, "nvidia", &monitor.Groups[0].Accelerators[0], + ) require.Len(t, resolved, 1) want := resolved[0] diff --git a/pkg/devicemanager/manager.go b/pkg/devicemanager/manager.go index ff7f4f6a7..5931408bf 100644 --- a/pkg/devicemanager/manager.go +++ b/pkg/devicemanager/manager.go @@ -45,7 +45,8 @@ func (m *Manager) Prepare(ctx context.Context) error { // Publish this node's Instance figures on the /metrics the shared manager already serves: // no second route, no second port, no Prometheus of our own. err = ctrlmetrics.Registry.Register( - exporter.NewCollector(m.Exporter, m.Detector.MonitorSnapshot)) + exporter.NewCollector(m.Exporter, m.Detector.MonitorSnapshot), + ) if err != nil { return fmt.Errorf("register instance metrics collector: %w", err) } diff --git a/pkg/devicemanager/preflight/hostexec.go b/pkg/devicemanager/preflight/hostexec.go index de81db643..62a695903 100644 --- a/pkg/devicemanager/preflight/hostexec.go +++ b/pkg/devicemanager/preflight/hostexec.go @@ -726,7 +726,8 @@ func (h *hostExec) kubeletCRIEndpoint() (endpoint string, found bool, err error) return "", false, fmt.Errorf( "the kubelet configuration search under %s could not run, so which runtime its "+ "kubelet talks to cannot be established: %w", - reading.UnsearchablePattern, reading.UnsearchableErr) + reading.UnsearchablePattern, reading.UnsearchableErr, + ) case reading.UnreadableErr != nil: // The same answer a conflict gets, for the same reason. These patterns name the kubelet's // own configuration paths rather than a general tree, so a match that cannot be read may @@ -737,12 +738,14 @@ func (h *hostExec) kubeletCRIEndpoint() (endpoint string, found bool, err error) return "", false, fmt.Errorf( "this host carries a kubelet configuration at %s that could not be read, so "+ "which runtime its kubelet talks to cannot be established: %w", - reading.UnreadablePath, reading.UnreadableErr) + reading.UnreadablePath, reading.UnreadableErr, + ) case reading.Conflict != nil: return "", false, fmt.Errorf( "this host names more than one kubelet CRI endpoint under %s (%s), and only one of them "+ "belongs to the kubelet that is running: name the runtime with --runtime", - reading.ConflictPattern, strings.Join(reading.Conflict, ", ")) + reading.ConflictPattern, strings.Join(reading.Conflict, ", "), + ) default: return reading.Value, reading.Found, nil } diff --git a/pkg/devicemanager/preflight/hostexec_crosscheck.go b/pkg/devicemanager/preflight/hostexec_crosscheck.go index 7fa676b37..d1c6c51ae 100644 --- a/pkg/devicemanager/preflight/hostexec_crosscheck.go +++ b/pkg/devicemanager/preflight/hostexec_crosscheck.go @@ -150,7 +150,8 @@ func crossCheckHost( detection.Reason = fmt.Sprintf( "the host's own %s reports %d accelerator(s) where this container detected %d, so what is "+ "missing is this container's access to them rather than the hardware", - cli.name, view.Accelerators, detection.Accelerators) + cli.name, view.Accelerators, detection.Accelerators, + ) } // unresolvableLibDir reports that a manufacturer's library directory is here and still cannot be diff --git a/pkg/devicemanager/preflight/hostexec_test.go b/pkg/devicemanager/preflight/hostexec_test.go index ffa2b5afa..a7ba9073e 100644 --- a/pkg/devicemanager/preflight/hostexec_test.go +++ b/pkg/devicemanager/preflight/hostexec_test.go @@ -791,7 +791,8 @@ func TestValueAfter_KubeadmFlagsForm(t *testing.T) { got, found := valueAfter( `KUBELET_KUBEADM_ARGS="--container-runtime-endpoint=unix:///run/first.sock `+ - `--pod-infra-container-image=x --container-runtime-endpoint=unix:///run/second.sock"`, key) + `--pod-infra-container-image=x --container-runtime-endpoint=unix:///run/second.sock"`, key, + ) require.True(t, found) assert.Equal(t, "/run/second.sock", got, "the kubelet would have applied the later flag") diff --git a/pkg/devicemanager/preflight/manage.go b/pkg/devicemanager/preflight/manage.go index 5285b80e3..dc9be42a4 100644 --- a/pkg/devicemanager/preflight/manage.go +++ b/pkg/devicemanager/preflight/manage.go @@ -497,7 +497,8 @@ func (p *Preflighter) simulateSidecarPair( // A visibility container asks for the device-only resource and for no accelerator unit of its // own, which is what tells the allocation apart from the owner's in the Pod the kubelet sees. if name := nodefeature.GetAcceleratableResourceName( - manufacturer, workercore.DeviceAllocationModeVisibility); name != "" { + manufacturer, workercore.DeviceAllocationModeVisibility, + ); name != "" { alloc.Second.Resources.Limits = core.ResourceList{ name: *resource.NewQuantity(int64(len(alloc.Allocated)), resource.DecimalSI), } @@ -524,7 +525,8 @@ func (p *Preflighter) simulateSidecarPair( return nil, err } side, err := visibilitySrv.GetContainerAllocateResponse( - ctx, alloc.Pod, alloc.Second, alloc.Devs, alloc.Allocated) + ctx, alloc.Pod, alloc.Second, alloc.Devs, alloc.Allocated, + ) if err != nil { return nil, fmt.Errorf("drive the sidecar allocation: %w", err) } @@ -621,7 +623,8 @@ func newCoAllocation( one.Accelerators = []workercore.Accelerator{*accel} pod, _, devs, allocated, err := deviceplugin.NewPreflightAllocationRequest( - []workercore.DevicesGroup{one}, manufacturer, workercore.DeviceAllocationModeSliced, sliceQuota) + []workercore.DevicesGroup{one}, manufacturer, workercore.DeviceAllocationModeSliced, sliceQuota, + ) if err != nil { return nil, fmt.Errorf("build the allocation request: %w", err) } diff --git a/pkg/devicemanager/preflight/measure.go b/pkg/devicemanager/preflight/measure.go index 8a484e84a..e797e340c 100644 --- a/pkg/devicemanager/preflight/measure.go +++ b/pkg/devicemanager/preflight/measure.go @@ -537,7 +537,8 @@ func sliceRequest(manufacturer string, grp *workercore.DevicesGroup, accel *work one.Accelerators = []workercore.Accelerator{*accel} pod, ctr, devs, allocated, err := deviceplugin.NewPreflightAllocationRequest( - []workercore.DevicesGroup{one}, manufacturer, workercore.DeviceAllocationModeSliced, sliceQuota) + []workercore.DevicesGroup{one}, manufacturer, workercore.DeviceAllocationModeSliced, sliceQuota, + ) if err != nil { return nil, nil, nil, nil, fmt.Errorf("build the allocation request: %w", err) } diff --git a/pkg/devicemanager/preflight/network.go b/pkg/devicemanager/preflight/network.go index 6393b76c5..7184b6cc4 100644 --- a/pkg/devicemanager/preflight/network.go +++ b/pkg/devicemanager/preflight/network.go @@ -123,7 +123,8 @@ func networkReport( "none of the %d interfaces on this node, nor any of their %d virtual functions, has an "+ "RDMA device bound, so there is no link to check; this is an answer about the "+ "hardware, not a check that was skipped", - len(interfaces), virtualFunctions) + len(interfaces), virtualFunctions, + ) } return report diff --git a/pkg/devicemanager/preflight/preflight_test.go b/pkg/devicemanager/preflight/preflight_test.go index 50e60be37..b16c81eab 100644 --- a/pkg/devicemanager/preflight/preflight_test.go +++ b/pkg/devicemanager/preflight/preflight_test.go @@ -210,7 +210,8 @@ func TestPreflight_StagesNothingWhereNothingCanBeSliced(t *testing.T) { imageRoot := withStagingRoots(t) require.NoError(t, os.MkdirAll(filepath.Join(imageRoot, nodefeature.ManufacturerAscend), 0o755)) require.NoError(t, os.WriteFile( - filepath.Join(imageRoot, nodefeature.ManufacturerAscend, "ld.so.preload"), []byte("x"), 0o644)) + filepath.Join(imageRoot, nodefeature.ManufacturerAscend, "ld.so.preload"), []byte("x"), 0o644, + )) root := fakeHostRoot(t) p := &Preflighter{ @@ -561,7 +562,8 @@ func TestPreflightAccelerator_AManufacturerThatPanicsDoesNotTakeTheRunDown(t *te }) p, err := New(&Config{Manufacturers: sets.New( - nodefeature.ManufacturerNVIDIA, nodefeature.ManufacturerAscend)}) + nodefeature.ManufacturerNVIDIA, nodefeature.ManufacturerAscend, + )}) require.NoError(t, err) // Driven per manufacturer rather than through the whole pass, because the detect pass finds no diff --git a/pkg/devicemanager/preflight/probeimage.go b/pkg/devicemanager/preflight/probeimage.go index 8e2cf99df..8f1694d57 100644 --- a/pkg/devicemanager/preflight/probeimage.go +++ b/pkg/devicemanager/preflight/probeimage.go @@ -64,14 +64,16 @@ func ResolveProbeImage(manufacturer, family, runtimeVersion, override string) (s } return "", fmt.Errorf( "no default probe image for ascend family %q on CANN runtime %q; pass --probe-image", - family, runtimeVersion) + family, runtimeVersion, + ) case nodefeature.ManufacturerNVIDIA: dir := nvidiaCUDADir(runtimeVersion) if img, ok := nvidiaProbeImages[dir]; ok { return img, nil } return "", fmt.Errorf( - "no default probe image for nvidia CUDA runtime %q; pass --probe-image", runtimeVersion) + "no default probe image for nvidia CUDA runtime %q; pass --probe-image", runtimeVersion, + ) case nodefeature.ManufacturerAMD: return amdProbeImage, nil default: diff --git a/pkg/devicemanager/preflight/probeimage_test.go b/pkg/devicemanager/preflight/probeimage_test.go index d2363eac8..fcd196c34 100644 --- a/pkg/devicemanager/preflight/probeimage_test.go +++ b/pkg/devicemanager/preflight/probeimage_test.go @@ -18,7 +18,8 @@ const _ProbeImageDockerfilePath = "../../../pack/gpustack-operator/Dockerfile" // _ProbeImageStageRE matches the xbuild stage headers those tables mirror, capturing the vendor // image a stage builds against and the suffix naming the stage. var _ProbeImageStageRE = regexp.MustCompile( - `(?m)^FROM (\S+) AS xbuild-(ascend-cann-\S+|nvidia-cuda-\S+)$`) + `(?m)^FROM (\S+) AS xbuild-(ascend-cann-\S+|nvidia-cuda-\S+)$`, +) // A probe container runs the manufacturer's preload libraries, and each of those was compiled // against one specific vendor image: the xbuild stage the final image stages it from. Nothing but diff --git a/pkg/devicemanager/preflight/stage_test.go b/pkg/devicemanager/preflight/stage_test.go index 4839760f5..d9181ac47 100644 --- a/pkg/devicemanager/preflight/stage_test.go +++ b/pkg/devicemanager/preflight/stage_test.go @@ -74,7 +74,8 @@ func TestStageLib(t *testing.T) { require.NoError(t, os.MkdirAll(filepath.Join(imageRoot, "ascend", "lib"), 0o755)) require.NoError(t, os.WriteFile( - filepath.Join(imageRoot, "ascend", "lib", "libvruntime.so"), []byte("new-bytes"), 0o755)) + filepath.Join(imageRoot, "ascend", "lib", "libvruntime.so"), []byte("new-bytes"), 0o755, + )) // What an earlier stage left: shorter, and not executable. dstDir := filepath.Join(hostRoot, deviceplugin.OperatorLibDir, "ascend", "lib") diff --git a/pkg/devicemanager/preflight/topology.go b/pkg/devicemanager/preflight/topology.go index 66897627e..0b4ebe75e 100644 --- a/pkg/devicemanager/preflight/topology.go +++ b/pkg/devicemanager/preflight/topology.go @@ -90,7 +90,8 @@ func topologyReport(root string, now time.Time) TopologyReport { return unknownTopology(now, fmt.Sprintf( "the kubelet configuration search under %s could not run, so which topology "+ "manager policy its kubelet runs is unknown rather than defaulted: %s", - reading.UnsearchablePattern, reading.UnsearchableErr)) + reading.UnsearchablePattern, reading.UnsearchableErr, + )) case reading.UnreadableErr != nil: // These patterns name the kubelet's own configuration paths, so a match that cannot be // read may be the one that decides. Reporting the generic unknown would claim every file @@ -98,7 +99,8 @@ func topologyReport(root string, now time.Time) TopologyReport { return unknownTopology(now, fmt.Sprintf( "this host carries a kubelet configuration at %s that could not be read, so "+ "which topology manager policy its kubelet runs is unknown rather than "+ - "defaulted: %s", reading.UnreadablePath, reading.UnreadableErr)) + "defaulted: %s", reading.UnreadablePath, reading.UnreadableErr, + )) case reading.Conflict != nil: // Two distribution trees on one machine are two configurations, and only one of them @@ -108,7 +110,8 @@ func topologyReport(root string, now time.Time) TopologyReport { "the kubelet configuration under %s names more than one topology manager policy "+ "(%s), and only one of them belongs to the kubelet that is running, so no "+ "policy is reported rather than a guessed one", - reading.ConflictPattern, strings.Join(reading.Conflict, ", "))) + reading.ConflictPattern, strings.Join(reading.Conflict, ", "), + )) case reading.Found: return TopologyReport{ @@ -126,13 +129,15 @@ func topologyReport(root string, now time.Time) TopologyReport { return unknownTopology(now, fmt.Sprintf( "nothing this node's kubelet reads its configuration from (%s) names a topology "+ "manager policy, so its default is not reported either: that would be a "+ - "value nobody read", places)) + "value nobody read", places, + )) } return unknownTopology(now, fmt.Sprintf( "no kubelet is running here to name where its configuration is, and none of the "+ "places one is kept (%s, the last one walked) names a topology manager policy; a "+ "kubelet started here may still be given one on its command line, so its default "+ - "is not reported either: that would be a value nobody read", places)) + "is not reported either: that would be a value nobody read", places, + )) } } diff --git a/pkg/deviceplugin/allocation_validation.go b/pkg/deviceplugin/allocation_validation.go index c08e0ca67..344ce12da 100644 --- a/pkg/deviceplugin/allocation_validation.go +++ b/pkg/deviceplugin/allocation_validation.go @@ -89,7 +89,8 @@ func validateDeviceInventory(devs *workercore.Devices) error { ids[card.ID] = struct{}{} if _, seen := indices[card.Index]; seen { return fmt.Errorf( - "accelerator index %d is declared twice in group %q", card.Index, group.ID) + "accelerator index %d is declared twice in group %q", card.Index, group.ID, + ) } indices[card.Index] = struct{}{} } @@ -215,7 +216,8 @@ func validateRecordedClaims( if group.Manufacturer != spec.Manufacturer { return fmt.Errorf( "pod %s container %q: group %q claims manufacturer %q, the inventory says %q", - ctrlcli.ObjectKeyFromObject(pod), container, group.ID, group.Manufacturer, spec.Manufacturer) + ctrlcli.ObjectKeyFromObject(pod), container, group.ID, group.Manufacturer, spec.Manufacturer, + ) } seen := make(map[string]struct{}, len(group.Accelerators)) @@ -225,7 +227,8 @@ func validateRecordedClaims( if cardSpec == nil { return fmt.Errorf( "pod %s container %q: names accelerator %q in group %q, which the inventory does not have", - ctrlcli.ObjectKeyFromObject(pod), container, card.ID, group.ID) + ctrlcli.ObjectKeyFromObject(pod), container, card.ID, group.ID, + ) } if _, duplicate := seen[card.ID]; duplicate { return fmt.Errorf("pod %s container %q: names accelerator %q in group %q twice", @@ -235,7 +238,8 @@ func validateRecordedClaims( if card.Index != cardSpec.Index { return fmt.Errorf( "pod %s container %q: accelerator %q in group %q records index %d, the inventory says %d", - ctrlcli.ObjectKeyFromObject(pod), container, card.ID, group.ID, card.Index, cardSpec.Index) + ctrlcli.ObjectKeyFromObject(pod), container, card.ID, group.ID, card.Index, cardSpec.Index, + ) } if err := validateCardModeAndUnits(pod, container, card); err != nil { return err @@ -277,7 +281,8 @@ func validateCardModeAndUnits( if limit := int32(nodefeature.ResourceMaxUnits); card.Allocated > limit { return fmt.Errorf( "pod %s container %q: accelerator %q records %d allocated units, more than the %d a card holds", - ctrlcli.ObjectKeyFromObject(pod), container, card.ID, card.Allocated, limit) + ctrlcli.ObjectKeyFromObject(pod), container, card.ID, card.Allocated, limit, + ) } // A SHARED SLICE'S UNIT BOUND IS THE CARD DIVIDED BY THE OWNER LIMIT. SharedResourceMaxSize is // how many owners a shared card admits, not how many units one of them may hold, and reading it @@ -286,7 +291,8 @@ func validateCardModeAndUnits( if limit := int32(nodefeature.ResourceMaxUnits) / int32(nodefeature.SharedResourceMaxSize); card.Allocated > limit { return fmt.Errorf( "pod %s container %q: shared accelerator %q records %d units, more than the %d a shared slice holds", - ctrlcli.ObjectKeyFromObject(pod), container, card.ID, card.Allocated, limit) + ctrlcli.ObjectKeyFromObject(pod), container, card.ID, card.Allocated, limit, + ) } } diff --git a/pkg/deviceplugin/allocation_validation_test.go b/pkg/deviceplugin/allocation_validation_test.go index 6fcd2b707..f6fb6b542 100644 --- a/pkg/deviceplugin/allocation_validation_test.go +++ b/pkg/deviceplugin/allocation_validation_test.go @@ -221,7 +221,8 @@ func TestBuildDesiredStatusStrict_Rejects(t *testing.T) { ID: "GPU-abc", Index: 0, Mode: workercore.DeviceAllocationModeExclusive, Allocated: 1, - }) + }, + ) entries["vllm"] = record }))}, wantErrs: []string{"twice"}, @@ -300,7 +301,8 @@ func TestBuildDesiredStatusStrict_Rejects(t *testing.T) { name: "a duplicated card in the inventory is refused before any pod is read", devs: releaseTestDevices(func(devs *workercore.Devices) { devs.Spec.Groups[0].Accelerators = append( - devs.Spec.Groups[0].Accelerators, workercore.Accelerator{ID: "GPU-abc", Index: 0}) + devs.Spec.Groups[0].Accelerators, workercore.Accelerator{ID: "GPU-abc", Index: 0}, + ) }), pods: []*core.Pod{releaseTestPod()}, wantErrs: []string{"declared twice in group"}, @@ -455,7 +457,8 @@ func TestBuildDesiredStatusStrict_PreservesTheOrdinaryRebuild(t *testing.T) { record := releaseTestAllocation() record.Devices.Groups[0].Accelerators[0].ID = "GPU-zzz" entries["vllm"] = record - })), + }), + ), }, mergeable: []*core.Pod{releaseTestPod()}, wantErrs: []string{"which the inventory does not have"}, @@ -493,7 +496,8 @@ func TestBuildDesiredStatusStrict_PreservesTheOrdinaryRebuild(t *testing.T) { record := releaseTestAllocation() record.Devices.Groups[0].Accelerators[0].Mode = workercore.DeviceAllocationModeShared entries["vllm"] = record - })), + }), + ), }, mergeable: []*core.Pod{releaseTestPod()}, wantErrs: []string{"conflicting allocation mode"}, diff --git a/pkg/deviceplugin/controller_test.go b/pkg/deviceplugin/controller_test.go index 7aa6b2da2..9830880ff 100644 --- a/pkg/deviceplugin/controller_test.go +++ b/pkg/deviceplugin/controller_test.go @@ -457,7 +457,8 @@ func TestDevicesReconciler_PendingRelease(t *testing.T) { "follows it fails, this give-back is still the only thing that frees the accelerator") require.NoError(t, f.rec.patchAllocatingPod( - context.Background(), f.pod, container, claim.Devices, claim.DeviceIDs)) + context.Background(), f.pod, container, claim.Devices, claim.DeviceIDs, + )) assert.Empty(t, pendingReleaseKeys(f.rec), "a claim that landed supersedes the give-back that would have taken it back") }) @@ -472,7 +473,8 @@ func TestDevicesReconciler_PendingRelease(t *testing.T) { f.rec.reserveDevices("uid-p", container, other.Devices, other.DeviceIDs) f.failing = true require.Error(t, f.rec.patchAllocatingPod( - context.Background(), f.pod, container, other.Devices, other.DeviceIDs)) + context.Background(), f.pod, container, other.Devices, other.DeviceIDs, + )) f.rec.releaseReservation("uid-p", container) require.NotEmpty(t, pendingReleaseKeys(f.rec), "nothing else is left to free that accelerator") @@ -775,9 +777,11 @@ func TestDevicesReconciler_ReconcileNotifier_Unsubscribes(t *testing.T) { r := &DevicesReconciler{} _, releaseSliced := r.getReconcileNotifier( - nodefeature.ManufacturerNVIDIA, workercore.DeviceAllocationModeSliced) + nodefeature.ManufacturerNVIDIA, workercore.DeviceAllocationModeSliced, + ) _, releaseShared := r.getReconcileNotifier( - nodefeature.ManufacturerNVIDIA, workercore.DeviceAllocationModeShared) + nodefeature.ManufacturerNVIDIA, workercore.DeviceAllocationModeShared, + ) require.Len(t, r.notifiers, 2) releaseSliced() diff --git a/pkg/deviceplugin/preflight_injection.go b/pkg/deviceplugin/preflight_injection.go index a6fc150cd..7dc251bd0 100644 --- a/pkg/deviceplugin/preflight_injection.go +++ b/pkg/deviceplugin/preflight_injection.go @@ -91,8 +91,8 @@ var preflightRehosts = map[string]string{} // restored redirect removes its entries, because a path nobody redirected must not be rewritten. func PreflightRehosts() map[string]string { out := make(map[string]string, len(preflightRehosts)) - for scratch, real := range preflightRehosts { - out[scratch] = real + for scratch, hostPath := range preflightRehosts { + out[scratch] = hostPath } return out } diff --git a/pkg/deviceplugin/preflight_request.go b/pkg/deviceplugin/preflight_request.go index e52a016cc..e9b545239 100644 --- a/pkg/deviceplugin/preflight_request.go +++ b/pkg/deviceplugin/preflight_request.go @@ -63,7 +63,8 @@ func NewPreflightAllocationRequest( if quota > nodefeature.ResourceMaxUnits { return nil, nil, nil, nil, fmt.Errorf( "quota must not exceed one whole accelerator (%d units), got %d", - nodefeature.ResourceMaxUnits, quota) + nodefeature.ResourceMaxUnits, quota, + ) } // Checked before any resource name is derived, because deriving one cannot catch it: the mode @@ -72,7 +73,8 @@ func NewPreflightAllocationRequest( // on the derived name. Every key built below would then be a suffix with no vendor in front. if !nodefeature.IsKnownAcceleratableManufacturer(manufacturer) { return nil, nil, nil, nil, fmt.Errorf( - "manufacturer %q is not an acceleratable manufacturer this operator knows", manufacturer) + "manufacturer %q is not an acceleratable manufacturer this operator knows", manufacturer, + ) } // Checked here for the same reason the manufacturer is: deriving from it cannot catch it. Both @@ -103,11 +105,13 @@ func NewPreflightAllocationRequest( "allocation mode %s cannot be asked about through a preflight request: a partition is "+ "named by a - limit this builder has no profile to write, and a "+ "request carrying only the bare resource is refused at allocation for naming no "+ - "partition profile", mode) + "partition profile", mode, + ) default: return nil, nil, nil, nil, fmt.Errorf( - "allocation mode %s (%d) is not a mode a preflight can ask about", mode, uint32(mode)) + "allocation mode %s (%d) is not a mode a preflight can ask about", mode, uint32(mode), + ) } // Non-empty for every mode still reachable here, and provably so rather than by inspection: @@ -167,7 +171,8 @@ func NewPreflightAllocationRequest( if int64(quota)*100%nodefeature.ResourceMaxUnits != 0 { return nil, nil, nil, nil, fmt.Errorf( "a sliced quota must be a whole percent of an accelerator (a multiple of %d units), got %d", - nodefeature.ResourceMaxUnits/100, quota) + nodefeature.ResourceMaxUnits/100, quota, + ) } pct := int64(quota) * 100 / nodefeature.ResourceMaxUnits limits[nodefeature.GetAcceleratableSlicedMemoryPercentageResourceName(manufacturer)] = *resource.NewQuantity(pct, resource.DecimalSI) diff --git a/pkg/deviceplugin/preflight_request_test.go b/pkg/deviceplugin/preflight_request_test.go index c4f22f3de..4e48f6185 100644 --- a/pkg/deviceplugin/preflight_request_test.go +++ b/pkg/deviceplugin/preflight_request_test.go @@ -277,11 +277,13 @@ func TestNewPreflightAllocationRequest_Deterministic(t *testing.T) { }} pod1, ctr1, devs1, alloc1, err1 := NewPreflightAllocationRequest( - groups, nodefeature.ManufacturerNVIDIA, workercore.DeviceAllocationModeSliced, sameQuota) + groups, nodefeature.ManufacturerNVIDIA, workercore.DeviceAllocationModeSliced, sameQuota, + ) require.NoError(t, err1) pod2, ctr2, devs2, alloc2, err2 := NewPreflightAllocationRequest( - groups, nodefeature.ManufacturerNVIDIA, workercore.DeviceAllocationModeSliced, sameQuota) + groups, nodefeature.ManufacturerNVIDIA, workercore.DeviceAllocationModeSliced, sameQuota, + ) require.NoError(t, err2) assert.Equal(t, pod1, pod2) @@ -341,7 +343,8 @@ func TestNewPreflightAllocationRequest_SlicedCarriesItsDimensions(t *testing.T) for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { _, ctr, _, _, err := NewPreflightAllocationRequest( - []workercore.DevicesGroup{group}, nodefeature.ManufacturerAMD, tc.mode, tc.quota) + []workercore.DevicesGroup{group}, nodefeature.ManufacturerAMD, tc.mode, tc.quota, + ) require.NoError(t, err) memPct := nodefeature.GetAcceleratableSlicedMemoryPercentageResourceName(nodefeature.ManufacturerAMD) diff --git a/pkg/deviceplugin/rdma_devices.go b/pkg/deviceplugin/rdma_devices.go index 558520107..d5dad8dc3 100644 --- a/pkg/deviceplugin/rdma_devices.go +++ b/pkg/deviceplugin/rdma_devices.go @@ -98,7 +98,8 @@ func verbsDevicePath(sysfsRoot, name string) (string, error) { switch { case aerr == nil: entry, unresolvable2, err := scanVerbsEntries( - root, filepath.Join(parent, sysfsVerbsClassName), name) + root, filepath.Join(parent, sysfsVerbsClassName), name, + ) if err != nil { return "", err } @@ -115,21 +116,24 @@ func verbsDevicePath(sysfsRoot, name string) (string, error) { // A link that is there and would not resolve might have located the parent, so it // may not be read as the layout's absence. unresolvable = errors.Join(unresolvable, fmt.Errorf( - "resolve the device link of %q: %w", filepath.Join(sysfsInfinibandDir, name), aerr)) + "resolve the device link of %q: %w", filepath.Join(sysfsInfinibandDir, name), aerr, + )) } if unresolvable != nil { return "", fmt.Errorf( "whether RDMA device %q has a verbs character device could not be established "+ "under %q: %w", - name, sysfsRoot, unresolvable) + name, sysfsRoot, unresolvable, + ) } return "", fmt.Errorf( "no verbs character device for RDMA device %q under %q: tried both sysfs layouts, "+ "%q (the verbs class directory) and the %q directory under %q (the RDMA "+ "device's hardware parent)", name, sysfsRoot, sysfsVerbsClassDir, sysfsVerbsClassName, - filepath.Join(sysfsInfinibandDir, name, "device")) + filepath.Join(sysfsInfinibandDir, name, "device"), + ) } // scanVerbsEntries lists one directory of candidate uverbs devices and returns the entry diff --git a/pkg/deviceplugin/server.go b/pkg/deviceplugin/server.go index 78244ec42..37c684faa 100644 --- a/pkg/deviceplugin/server.go +++ b/pkg/deviceplugin/server.go @@ -750,7 +750,8 @@ func (s *ResourceServer) Allocate(ctx context.Context, req *AllocateRequest) (*A // the one error that finds the allocation already durable, and is compensated instead of reordered. if ctrResp == nil { if ctrResp, err = s.Responder.GetContainerAllocateResponse( - ctx, decision.Pod, decision.Container, decision.Devices, decision.Allocation); err != nil { + ctx, decision.Pod, decision.Container, decision.Devices, decision.Allocation, + ); err != nil { s.releaseAllocation(ctx, &decision, physical) s.Logger.Error(err, "get container allocate response") return nil, err @@ -1520,7 +1521,8 @@ func (s *ResourceServer) placeLogicalSlice( } placements, err := logicalPlacer.PlaceLogicalSliced( - ctx, d.Pod, d.Container, d.Devices, d.Allocation, occupiedLogical) + ctx, d.Pod, d.Container, d.Devices, d.Allocation, occupiedLogical, + ) if err != nil { s.Logger.Error(err, "place logical slice for allocation", "pod", kubemeta.GetNamespacedNameKey(d.Pod), "container", d.Container.Name) @@ -1611,7 +1613,8 @@ func (s *ResourceServer) actuatePartition( } physical, err := actuator.ActuatePhysicalSliced( - ctx, d.Pod, d.Container, d.Devices, d.Allocation, d.Profile) + ctx, d.Pod, d.Container, d.Devices, d.Allocation, d.Profile, + ) if err != nil { s.Reconciler.releaseReservation(d.Pod.UID, d.Container.Name) s.Logger.Error(err, "actuate partition for allocation", "pod", kubemeta.GetNamespacedNameKey(d.Pod)) @@ -1655,7 +1658,8 @@ func (s *ResourceServer) renderPrePatchResponse( // The placement is consumed, never recomputed: what the container is told must be what the // ledger recorded, and only one of the two can be authoritative. ctrResp, err := logicalPlacer.GetLogicalSlicedResponse( - ctx, d.Pod, d.Container, d.Devices, d.Allocation, d.LogicalPlacements) + ctx, d.Pod, d.Container, d.Devices, d.Allocation, d.LogicalPlacements, + ) if err != nil { s.Reconciler.releaseReservation(d.Pod.UID, d.Container.Name) s.Logger.Error(err, "get logical sliced response") @@ -1890,7 +1894,8 @@ func (s *ResourceServer) coAllocatedAccelerators( allocations, err := AllocatedAcceleratorsOf(pod) if err != nil { return workercore.DevicesStatus{}, "", fmt.Errorf( - "read the allocation annotation of pod %s: %w", kubemeta.GetNamespacedNameKey(pod), err) + "read the allocation annotation of pod %s: %w", kubemeta.GetNamespacedNameKey(pod), err, + ) } names := make([]string, 0, len(allocations)) for name := range allocations { diff --git a/pkg/deviceplugin/server_test.go b/pkg/deviceplugin/server_test.go index ef3da956d..b585e18b4 100644 --- a/pkg/deviceplugin/server_test.go +++ b/pkg/deviceplugin/server_test.go @@ -99,7 +99,8 @@ func reservedWorkload(r *DevicesReconciler, podUID types.UID) (workercore.Device func exclusiveMatch(skipReserved bool) _AllocationMatch { return _AllocationMatch{ ResourceName: nodefeature.GetAcceleratableResourceName( - nodefeature.ManufacturerNVIDIA, workercore.DeviceAllocationModeExclusive), + nodefeature.ManufacturerNVIDIA, workercore.DeviceAllocationModeExclusive, + ), Quantity: resource.MustParse("1"), SkipReserved: skipReserved, } @@ -1106,13 +1107,15 @@ func TestPartitionProfileOf(t *testing.T) { { name: "a published key reads back as its manufacturer spells it", key: nodefeature.GetAcceleratablePartitionedProfileResourceName( - nodefeature.ManufacturerTHead, "4g48gb"), + nodefeature.ManufacturerTHead, "4g48gb", + ), profile: "4g48gb", ok: true, }, { name: "a manufacturer writing the separator keeps it", key: nodefeature.GetAcceleratablePartitionedProfileResourceName( - nodefeature.ManufacturerNVIDIA, "3g.40gb"), + nodefeature.ManufacturerNVIDIA, "3g.40gb", + ), profile: "3g.40gb", ok: true, }, { @@ -3040,7 +3043,8 @@ func TestResourceServer_Allocate_VisibilityDistinctPods(t *testing.T) { // partition-backed, so the sidecar keeps the accelerator-based response. var slicedOwnerLimits = core.ResourceList{ nodefeature.GetAcceleratableResourceName( - nodefeature.ManufacturerNVIDIA, workercore.DeviceAllocationModeSliced): resource.MustParse("1"), + nodefeature.ManufacturerNVIDIA, workercore.DeviceAllocationModeSliced, + ): resource.MustParse("1"), } // sshVisibilityPod builds an SSH-enabled Pod: a workload container holding the accelerator under @@ -3049,7 +3053,8 @@ var slicedOwnerLimits = core.ResourceList{ // request to decide whether it must name a partition. func sshVisibilityPod(nodeName, uid string, ownerLimits core.ResourceList, cards int) *core.Pod { visName := nodefeature.GetAcceleratableResourceName( - nodefeature.ManufacturerNVIDIA, workercore.DeviceAllocationModeVisibility) + nodefeature.ManufacturerNVIDIA, workercore.DeviceAllocationModeVisibility, + ) return &core.Pod{ ObjectMeta: meta.ObjectMeta{Name: "p", Namespace: "default", UID: types.UID(uid)}, Spec: core.PodSpec{ @@ -3428,7 +3433,8 @@ func TestResourceServer_PreferredAllocation_HintNamesAnAvailableToken(t *testing resp, err := s.getContainerPreferredAllocationResponse( &ContainerPreferredAllocationRequest{AvailableDeviceIDs: availableDeviceIDs, AllocationSize: 1}, - &core.Pod{}, slicedUnitsContainer(800_000), _SlicedRoom{devs: devs}) + &core.Pod{}, slicedUnitsContainer(800_000), _SlicedRoom{devs: devs}, + ) require.NoError(t, err) require.NotEmpty(t, resp.GetDeviceIDs(), "a fitting card must yield a hint") @@ -3520,7 +3526,8 @@ func TestResourceServer_PreferredAllocation_SlicedPacks(t *testing.T) { resp, err := s.getContainerPreferredAllocationResponse( &ContainerPreferredAllocationRequest{AvailableDeviceIDs: availableDeviceIDs, AllocationSize: 1}, - &core.Pod{}, slicedUnitsContainer(c.units), _SlicedRoom{devs: devs}) + &core.Pod{}, slicedUnitsContainer(c.units), _SlicedRoom{devs: devs}, + ) require.NoError(t, err) if c.wantCard == "" { @@ -3556,7 +3563,8 @@ func TestResourceServer_PreferredAllocation_SlicedPinnedCardThatCannotFit(t *tes resp, err := s.getContainerPreferredAllocationResponse( &ContainerPreferredAllocationRequest{AvailableDeviceIDs: availableDeviceIDs, AllocationSize: 1}, - pod, slicedUnitsContainer(800_000), _SlicedRoom{devs: devs}) + pod, slicedUnitsContainer(800_000), _SlicedRoom{devs: devs}, + ) require.NoError(t, err) require.Len(t, resp.GetDeviceIDs(), 1) @@ -3589,7 +3597,8 @@ func TestResourceServer_PreferredAllocation_SlicedMustIncludeComesFirst(t *testi MustIncludeDeviceIDs: []string{"grp-0:dev-0:0000"}, AllocationSize: 1, }, - &core.Pod{}, slicedUnitsContainer(800_000), _SlicedRoom{devs: devs}) + &core.Pod{}, slicedUnitsContainer(800_000), _SlicedRoom{devs: devs}, + ) require.NoError(t, err) require.Len(t, resp.GetDeviceIDs(), 1) @@ -3624,7 +3633,8 @@ func TestResourceServer_PreferredAllocation_SlicedMustIncludeSurvivesAFullCard(t MustIncludeDeviceIDs: []string{"grp-0:dev-0:0000"}, AllocationSize: 1, }, - &core.Pod{}, slicedUnitsContainer(800_000), _SlicedRoom{devs: devs}) + &core.Pod{}, slicedUnitsContainer(800_000), _SlicedRoom{devs: devs}, + ) require.NoError(t, err) require.Len(t, resp.GetDeviceIDs(), 1) @@ -3645,7 +3655,8 @@ func TestResourceServer_PreferredAllocation_SlicedMustIncludeSurvivesAFullCard(t // slicedPod builds a Pod requesting one logical slice on the workload container. func slicedPod(nodeName, name, uid string) *core.Pod { resName := nodefeature.GetAcceleratableResourceName( - nodefeature.ManufacturerNVIDIA, workercore.DeviceAllocationModeSliced) + nodefeature.ManufacturerNVIDIA, workercore.DeviceAllocationModeSliced, + ) return &core.Pod{ ObjectMeta: meta.ObjectMeta{Name: name, Namespace: "default", UID: types.UID(uid)}, Spec: core.PodSpec{ @@ -4011,7 +4022,8 @@ func TestResourceServer_PreferredAllocation_StalePreferredIDDoesNotPanic(t *test // the third accelerator lands in the unselected list the fallback would have sliced. resp, err := s.getContainerPreferredAllocationResponse( &ContainerPreferredAllocationRequest{AvailableDeviceIDs: availableDeviceIDs, AllocationSize: 1}, - pod, slicedUnitsContainer(800_000), _SlicedRoom{devs: devs}) + pod, slicedUnitsContainer(800_000), _SlicedRoom{devs: devs}, + ) require.NoError(t, err) offered := sets.New(availableDeviceIDs...) diff --git a/pkg/extensionapi/setting.go b/pkg/extensionapi/setting.go index 12d4a8682..a74e8db87 100644 --- a/pkg/extensionapi/setting.go +++ b/pkg/extensionapi/setting.go @@ -73,7 +73,8 @@ func (h *SettingHandler) SetupHandler( // Create table convertor to pretty the kubectl's output. tc, err := NewJSONPathTableConvertor( - JSONPathColumn("Value", ".status.value")) + JSONPathColumn("Value", ".status.value"), + ) if err != nil { return gvr, srs, err } diff --git a/pkg/internalprocesses/kubernetes/embed.go b/pkg/internalprocesses/kubernetes/embed.go index e703d6e86..68faabd6b 100644 --- a/pkg/internalprocesses/kubernetes/embed.go +++ b/pkg/internalprocesses/kubernetes/embed.go @@ -52,7 +52,8 @@ func (Embedded) Start(ctx context.Context) error { if !osx.ExistsFile("/sys/fs/cgroup/init/cgroup.procs") { err := osx.Copy( "/sys/fs/cgroup/cgroup.procs", - "/sys/fs/cgroup/init/cgroup.procs") + "/sys/fs/cgroup/init/cgroup.procs", + ) if err != nil { return fmt.Errorf("error moving processes to root init group: %w", err) } @@ -69,7 +70,8 @@ func (Embedded) Start(ctx context.Context) error { s := "+" + stringx.Join(" +", cs...) return stringx.ToBytes(&s), nil - })) + }), + ) if err != nil { return fmt.Errorf("error enabling root group controllers: %w", err) } @@ -95,7 +97,8 @@ func (Embedded) Start(ctx context.Context) error { s := "+" + stringx.Join(" +", cs...) return stringx.ToBytes(&s), nil - })) + }), + ) if err != nil { return fmt.Errorf("error enabling %q group controllers: %w", cgroupRoot, err) } @@ -114,7 +117,8 @@ func (Embedded) Start(ctx context.Context) error { imgConfDir, k3sAgentImageDir, osx.LinkEvenIfNotFound(false, 0o766), - osx.LinkInReplace()) + osx.LinkInReplace(), + ) if err != nil { return fmt.Errorf("error link agent image: %w", err) } diff --git a/pkg/kubeapistatus/condition.go b/pkg/kubeapistatus/condition.go index 7816a2c4b..971d2920a 100644 --- a/pkg/kubeapistatus/condition.go +++ b/pkg/kubeapistatus/condition.go @@ -239,7 +239,7 @@ func getStatus(obj any, condName string) string { // setStatus set status and message to condition. func setStatus(obj any, condName, status, reason, message string) { - if reflect.TypeOf(obj).Kind() != reflect.Ptr { + if reflect.TypeOf(obj).Kind() != reflect.Pointer { panic("obj passed must be a pointer") } @@ -272,7 +272,7 @@ func getValue(obj any, name string, snames ...string) reflect.Value { } v := reflect.ValueOf(obj) t := v.Type() - if t.Kind() == reflect.Ptr { + if t.Kind() == reflect.Pointer { v = v.Elem() } diff --git a/pkg/kubeapistatus/status.go b/pkg/kubeapistatus/status.go index 85ca328f4..05eb7aa47 100644 --- a/pkg/kubeapistatus/status.go +++ b/pkg/kubeapistatus/status.go @@ -64,7 +64,7 @@ type paths[T ~string] []path[T] func (ps paths[T]) GetSummary(st any) (phase, phaseMessage string) { stValue := reflect.ValueOf(st) - for stValue.Kind() == reflect.Interface || stValue.Kind() == reflect.Ptr { + for stValue.Kind() == reflect.Interface || stValue.Kind() == reflect.Pointer { stValue = stValue.Elem() } @@ -115,7 +115,7 @@ func (ps paths[T]) Summarize(st any) { phase, phaseMessage := ps.GetSummary(st) stValue := reflect.ValueOf(st) - for stValue.Kind() == reflect.Interface || stValue.Kind() == reflect.Ptr { + for stValue.Kind() == reflect.Interface || stValue.Kind() == reflect.Pointer { stValue = stValue.Elem() } @@ -185,7 +185,7 @@ func (f path[T]) Walk(conditionsField reflect.Value, phase, phaseMessage string) for i := 0; i < conditionsField.Len(); i++ { cValue := conditionsField.Index(i) - for cValue.Kind() == reflect.Interface || cValue.Kind() == reflect.Ptr { + for cValue.Kind() == reflect.Interface || cValue.Kind() == reflect.Pointer { cValue = cValue.Elem() } diff --git a/pkg/kubeapp/install.go b/pkg/kubeapp/install.go index 507233d82..4c69e8c52 100644 --- a/pkg/kubeapp/install.go +++ b/pkg/kubeapp/install.go @@ -3,12 +3,12 @@ package kubeapp import ( "context" "fmt" + "maps" "path/filepath" "reflect" "runtime" "strings" - "golang.org/x/exp/maps" core "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/rest" diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/applyconfiguration.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/applyconfiguration.go new file mode 100644 index 000000000..1572cd14f --- /dev/null +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/applyconfiguration.go @@ -0,0 +1,65 @@ +// Code generated by api. DO NOT EDIT. + +package v1 + +// ApplyConfigurationApplyConfiguration represents a declarative configuration of the ApplyConfiguration type for use +// with apply. +// +// ApplyConfiguration defines the desired configuration values of an object. +type ApplyConfigurationApplyConfiguration struct { + // expression will be evaluated by CEL to create an apply configuration. + // ref: https://github.com/google/cel-spec + // + // Apply configurations are declared in CEL using object initialization. For example, this CEL expression + // returns an apply configuration to set a single field: + // + // Object{ + // spec: Object.spec{ + // serviceAccountName: "example" + // } + // } + // + // Apply configurations may not modify atomic structs, maps or arrays due to the risk of accidental deletion of + // values not included in the apply configuration. + // + // CEL expressions have access to the object types needed to create apply configurations: + // + // - 'Object' - CEL type of the resource object. + // - 'Object.' - CEL type of object field (such as 'Object.spec') + // - 'Object.....` - CEL type of nested field (such as 'Object.spec.containers') + // + // CEL expressions have access to the contents of the API request, organized into CEL variables as well as some other useful variables: + // + // - 'object' - The object from the incoming request. The value is null for DELETE requests. + // - 'oldObject' - The existing object. The value is null for CREATE requests. + // - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). + // - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. + // - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. + // - 'variables' - Map of composited variables, from its name to its lazily evaluated value. + // For example, a variable named 'foo' can be accessed as 'variables.foo'. + // - 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request. + // See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz + // - 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the + // request resource. + // + // The `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the + // object. No other metadata properties are accessible. + // + // Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. + // Required. + Expression *string `json:"expression,omitempty"` +} + +// ApplyConfigurationApplyConfiguration constructs a declarative configuration of the ApplyConfiguration type for use with +// apply. +func ApplyConfiguration() *ApplyConfigurationApplyConfiguration { + return &ApplyConfigurationApplyConfiguration{} +} + +// WithExpression sets the Expression field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Expression field is set to the value of the last call. +func (b *ApplyConfigurationApplyConfiguration) WithExpression(value string) *ApplyConfigurationApplyConfiguration { + b.Expression = &value + return b +} diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/expressionwarning.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/expressionwarning.go index c5887c3a0..833ff9d81 100644 --- a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/expressionwarning.go +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/expressionwarning.go @@ -7,11 +7,11 @@ package v1 // // ExpressionWarning is a warning information that targets a specific expression. type ExpressionWarningApplyConfiguration struct { - // The path to the field that refers the expression. + // fieldRef is the path to the field that refers to the expression. // For example, the reference to the expression of the first item of // validations is "spec.validations[0].expression" FieldRef *string `json:"fieldRef,omitempty"` - // The content of type checking information in a human-readable form. + // warning contains the content of type checking information in a human-readable form. // Each line of the warning contains the type that the expression is checked // against, followed by the type check error from the compiler. Warning *string `json:"warning,omitempty"` diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/jsonpatch.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/jsonpatch.go new file mode 100644 index 000000000..6f56bb8ba --- /dev/null +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/jsonpatch.go @@ -0,0 +1,89 @@ +// Code generated by api. DO NOT EDIT. + +package v1 + +// JSONPatchApplyConfiguration represents a declarative configuration of the JSONPatch type for use +// with apply. +// +// JSONPatch defines a JSON Patch. +type JSONPatchApplyConfiguration struct { + // expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). + // ref: https://github.com/google/cel-spec + // + // expression must return an array of JSONPatch values. + // + // For example, this CEL expression returns a JSON patch to conditionally modify a value: + // + // [ + // JSONPatch{op: "test", path: "/spec/example", value: "Red"}, + // JSONPatch{op: "replace", path: "/spec/example", value: "Green"} + // ] + // + // To define an object for the patch value, use Object types. For example: + // + // [ + // JSONPatch{ + // op: "add", + // path: "/spec/selector", + // value: Object.spec.selector{matchLabels: {"environment": "test"}} + // } + // ] + // + // To use strings containing '/' and '~' as JSONPatch path keys, use "jsonpatch.escapeKey". For example: + // + // [ + // JSONPatch{ + // op: "add", + // path: "/metadata/labels/" + jsonpatch.escapeKey("example.com/environment"), + // value: "test" + // }, + // ] + // + // CEL expressions have access to the types needed to create JSON patches and objects: + // + // - 'JSONPatch' - CEL type of JSON Patch operations. JSONPatch has the fields 'op', 'from', 'path' and 'value'. + // See [JSON patch](https://jsonpatch.com/) for more details. The 'value' field may be set to any of: string, + // integer, array, map or object. If set, the 'path' and 'from' fields must be set to a + // [JSON pointer](https://datatracker.ietf.org/doc/html/rfc6901/) string, where the 'jsonpatch.escapeKey()' CEL + // function may be used to escape path keys containing '/' and '~'. + // - 'Object' - CEL type of the resource object. + // - 'Object.' - CEL type of object field (such as 'Object.spec') + // - 'Object.....` - CEL type of nested field (such as 'Object.spec.containers') + // + // CEL expressions have access to the contents of the API request, organized into CEL variables as well as some other useful variables: + // + // - 'object' - The object from the incoming request. The value is null for DELETE requests. + // - 'oldObject' - The existing object. The value is null for CREATE requests. + // - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). + // - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. + // - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. + // - 'variables' - Map of composited variables, from its name to its lazily evaluated value. + // For example, a variable named 'foo' can be accessed as 'variables.foo'. + // - 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request. + // See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz + // - 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the + // request resource. + // + // CEL expressions have access to [Kubernetes CEL function libraries](https://kubernetes.io/docs/reference/using-api/cel/#cel-options-language-features-and-libraries) + // as well as: + // + // - 'jsonpatch.escapeKey' - Performs JSONPatch key escaping. '~' and '/' are escaped as '~0' and `~1' respectively). + // + // Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. + // Required. + Expression *string `json:"expression,omitempty"` +} + +// JSONPatchApplyConfiguration constructs a declarative configuration of the JSONPatch type for use with +// apply. +func JSONPatch() *JSONPatchApplyConfiguration { + return &JSONPatchApplyConfiguration{} +} + +// WithExpression sets the Expression field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Expression field is set to the value of the last call. +func (b *JSONPatchApplyConfiguration) WithExpression(value string) *JSONPatchApplyConfiguration { + b.Expression = &value + return b +} diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/matchcondition.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/matchcondition.go index 79e8c3136..f6181cac2 100644 --- a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/matchcondition.go +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/matchcondition.go @@ -7,7 +7,7 @@ package v1 // // MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook. type MatchConditionApplyConfiguration struct { - // Name is an identifier for this match condition, used for strategic merging of MatchConditions, + // name is an identifier for this match condition, used for strategic merging of MatchConditions, // as well as providing an identifier for logging purposes. A good name should be descriptive of // the associated expression. // Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and @@ -17,7 +17,7 @@ type MatchConditionApplyConfiguration struct { // // Required. Name *string `json:"name,omitempty"` - // Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. + // expression represents the expression which will be evaluated by CEL. Must evaluate to bool. // CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables: // // 'object' - The object from the incoming request. The value is null for DELETE requests. diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/matchresources.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/matchresources.go index fe164acc4..7fbfc6107 100644 --- a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/matchresources.go +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/matchresources.go @@ -14,7 +14,7 @@ import ( // on whether it meets the match criteria. // The exclude rules take precedence over include rules (if a resource matches both, it is excluded) type MatchResourcesApplyConfiguration struct { - // NamespaceSelector decides whether to run the admission control policy on an object based + // namespaceSelector decides whether to run the admission control policy on an object based // on whether the namespace for that object matches the selector. If the // object itself is a namespace, the matching is performed on // object.metadata.labels. If the object is another cluster scoped resource, @@ -58,7 +58,7 @@ type MatchResourcesApplyConfiguration struct { // // Default to the empty LabelSelector, which matches everything. NamespaceSelector *metav1.LabelSelectorApplyConfiguration `json:"namespaceSelector,omitempty"` - // ObjectSelector decides whether to run the validation based on if the + // objectSelector decides whether to run the validation based on if the // object has matching labels. objectSelector is evaluated against both // the oldObject and newObject that would be sent to the cel validation, and // is considered to match if either object matches the selector. A null @@ -70,10 +70,10 @@ type MatchResourcesApplyConfiguration struct { // users may skip the admission webhook by setting the labels. // Default to the empty LabelSelector, which matches everything. ObjectSelector *metav1.LabelSelectorApplyConfiguration `json:"objectSelector,omitempty"` - // ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. + // resourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. // The policy cares about an operation if it matches _any_ Rule. ResourceRules []NamedRuleWithOperationsApplyConfiguration `json:"resourceRules,omitempty"` - // ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. + // excludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. // The exclude rules take precedence over include rules (if a resource matches both, it is excluded) ExcludeResourceRules []NamedRuleWithOperationsApplyConfiguration `json:"excludeResourceRules,omitempty"` // matchPolicy defines how the "MatchResources" list is used to match incoming requests. diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingadmissionpolicy.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingadmissionpolicy.go new file mode 100644 index 000000000..b9bb7a91e --- /dev/null +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingadmissionpolicy.go @@ -0,0 +1,221 @@ +// Code generated by api. DO NOT EDIT. + +package v1 + +import ( + apismetav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + types "k8s.io/apimachinery/pkg/types" + metav1 "k8s.io/client-go/applyconfigurations/meta/v1" +) + +// MutatingAdmissionPolicyApplyConfiguration represents a declarative configuration of the MutatingAdmissionPolicy type for use +// with apply. +// +// MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain. +type MutatingAdmissionPolicyApplyConfiguration struct { + metav1.TypeMetaApplyConfiguration `json:",inline"` + // metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. + *metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` + // spec defines the desired behavior of the MutatingAdmissionPolicy. + Spec *MutatingAdmissionPolicySpecApplyConfiguration `json:"spec,omitempty"` +} + +// MutatingAdmissionPolicy constructs a declarative configuration of the MutatingAdmissionPolicy type for use with +// apply. +func MutatingAdmissionPolicy(name string) *MutatingAdmissionPolicyApplyConfiguration { + b := &MutatingAdmissionPolicyApplyConfiguration{} + b.WithName(name) + b.WithKind("MutatingAdmissionPolicy") + b.WithAPIVersion("admissionregistration.k8s.io/v1") + return b +} + +func (b MutatingAdmissionPolicyApplyConfiguration) IsApplyConfiguration() {} + +// WithKind sets the Kind field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Kind field is set to the value of the last call. +func (b *MutatingAdmissionPolicyApplyConfiguration) WithKind(value string) *MutatingAdmissionPolicyApplyConfiguration { + b.TypeMetaApplyConfiguration.Kind = &value + return b +} + +// WithAPIVersion sets the APIVersion field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the APIVersion field is set to the value of the last call. +func (b *MutatingAdmissionPolicyApplyConfiguration) WithAPIVersion(value string) *MutatingAdmissionPolicyApplyConfiguration { + b.TypeMetaApplyConfiguration.APIVersion = &value + return b +} + +// WithName sets the Name field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Name field is set to the value of the last call. +func (b *MutatingAdmissionPolicyApplyConfiguration) WithName(value string) *MutatingAdmissionPolicyApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.Name = &value + return b +} + +// WithGenerateName sets the GenerateName field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the GenerateName field is set to the value of the last call. +func (b *MutatingAdmissionPolicyApplyConfiguration) WithGenerateName(value string) *MutatingAdmissionPolicyApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.GenerateName = &value + return b +} + +// WithNamespace sets the Namespace field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Namespace field is set to the value of the last call. +func (b *MutatingAdmissionPolicyApplyConfiguration) WithNamespace(value string) *MutatingAdmissionPolicyApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.Namespace = &value + return b +} + +// WithUID sets the UID field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the UID field is set to the value of the last call. +func (b *MutatingAdmissionPolicyApplyConfiguration) WithUID(value types.UID) *MutatingAdmissionPolicyApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.UID = &value + return b +} + +// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the ResourceVersion field is set to the value of the last call. +func (b *MutatingAdmissionPolicyApplyConfiguration) WithResourceVersion(value string) *MutatingAdmissionPolicyApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.ResourceVersion = &value + return b +} + +// WithGeneration sets the Generation field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Generation field is set to the value of the last call. +func (b *MutatingAdmissionPolicyApplyConfiguration) WithGeneration(value int64) *MutatingAdmissionPolicyApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.Generation = &value + return b +} + +// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the CreationTimestamp field is set to the value of the last call. +func (b *MutatingAdmissionPolicyApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *MutatingAdmissionPolicyApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.CreationTimestamp = &value + return b +} + +// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the DeletionTimestamp field is set to the value of the last call. +func (b *MutatingAdmissionPolicyApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *MutatingAdmissionPolicyApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value + return b +} + +// WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. +func (b *MutatingAdmissionPolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MutatingAdmissionPolicyApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.DeletionGracePeriodSeconds = &value + return b +} + +// WithLabels puts the entries into the Labels field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, the entries provided by each call will be put on the Labels field, +// overwriting an existing map entries in Labels field with the same key. +func (b *MutatingAdmissionPolicyApplyConfiguration) WithLabels(entries map[string]string) *MutatingAdmissionPolicyApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + if b.ObjectMetaApplyConfiguration.Labels == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Labels = make(map[string]string, len(entries)) + } + for k, v := range entries { + b.ObjectMetaApplyConfiguration.Labels[k] = v + } + return b +} + +// WithAnnotations puts the entries into the Annotations field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, the entries provided by each call will be put on the Annotations field, +// overwriting an existing map entries in Annotations field with the same key. +func (b *MutatingAdmissionPolicyApplyConfiguration) WithAnnotations(entries map[string]string) *MutatingAdmissionPolicyApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + if b.ObjectMetaApplyConfiguration.Annotations == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Annotations = make(map[string]string, len(entries)) + } + for k, v := range entries { + b.ObjectMetaApplyConfiguration.Annotations[k] = v + } + return b +} + +// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the OwnerReferences field. +func (b *MutatingAdmissionPolicyApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *MutatingAdmissionPolicyApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + for i := range values { + if values[i] == nil { + panic("nil value passed to WithOwnerReferences") + } + b.ObjectMetaApplyConfiguration.OwnerReferences = append(b.ObjectMetaApplyConfiguration.OwnerReferences, *values[i]) + } + return b +} + +// WithFinalizers adds the given value to the Finalizers field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the Finalizers field. +func (b *MutatingAdmissionPolicyApplyConfiguration) WithFinalizers(values ...string) *MutatingAdmissionPolicyApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + for i := range values { + b.ObjectMetaApplyConfiguration.Finalizers = append(b.ObjectMetaApplyConfiguration.Finalizers, values[i]) + } + return b +} + +func (b *MutatingAdmissionPolicyApplyConfiguration) ensureObjectMetaApplyConfigurationExists() { + if b.ObjectMetaApplyConfiguration == nil { + b.ObjectMetaApplyConfiguration = &metav1.ObjectMetaApplyConfiguration{} + } +} + +// WithSpec sets the Spec field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Spec field is set to the value of the last call. +func (b *MutatingAdmissionPolicyApplyConfiguration) WithSpec(value *MutatingAdmissionPolicySpecApplyConfiguration) *MutatingAdmissionPolicyApplyConfiguration { + b.Spec = value + return b +} + +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *MutatingAdmissionPolicyApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *MutatingAdmissionPolicyApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + +// GetName retrieves the value of the Name field in the declarative configuration. +func (b *MutatingAdmissionPolicyApplyConfiguration) GetName() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Name +} + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *MutatingAdmissionPolicyApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingadmissionpolicybinding.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingadmissionpolicybinding.go new file mode 100644 index 000000000..df9ded1de --- /dev/null +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingadmissionpolicybinding.go @@ -0,0 +1,231 @@ +// Code generated by api. DO NOT EDIT. + +package v1 + +import ( + apismetav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + types "k8s.io/apimachinery/pkg/types" + metav1 "k8s.io/client-go/applyconfigurations/meta/v1" +) + +// MutatingAdmissionPolicyBindingApplyConfiguration represents a declarative configuration of the MutatingAdmissionPolicyBinding type for use +// with apply. +// +// MutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources. +// MutatingAdmissionPolicyBinding and the optional parameter resource together define how cluster administrators +// configure policies for clusters. +// +// For a given admission request, each binding will cause its policy to be +// evaluated N times, where N is 1 for policies/bindings that don't use +// params, otherwise N is the number of parameters selected by the binding. +// Each evaluation is constrained by a [runtime cost budget](https://kubernetes.io/docs/reference/using-api/cel/#runtime-cost-budget). +// +// Adding/removing policies, bindings, or params can not affect whether a +// given (policy, binding, param) combination is within its own CEL budget. +type MutatingAdmissionPolicyBindingApplyConfiguration struct { + metav1.TypeMetaApplyConfiguration `json:",inline"` + // metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. + *metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` + // spec defines the desired behavior of the MutatingAdmissionPolicyBinding. + Spec *MutatingAdmissionPolicyBindingSpecApplyConfiguration `json:"spec,omitempty"` +} + +// MutatingAdmissionPolicyBinding constructs a declarative configuration of the MutatingAdmissionPolicyBinding type for use with +// apply. +func MutatingAdmissionPolicyBinding(name string) *MutatingAdmissionPolicyBindingApplyConfiguration { + b := &MutatingAdmissionPolicyBindingApplyConfiguration{} + b.WithName(name) + b.WithKind("MutatingAdmissionPolicyBinding") + b.WithAPIVersion("admissionregistration.k8s.io/v1") + return b +} + +func (b MutatingAdmissionPolicyBindingApplyConfiguration) IsApplyConfiguration() {} + +// WithKind sets the Kind field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Kind field is set to the value of the last call. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) WithKind(value string) *MutatingAdmissionPolicyBindingApplyConfiguration { + b.TypeMetaApplyConfiguration.Kind = &value + return b +} + +// WithAPIVersion sets the APIVersion field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the APIVersion field is set to the value of the last call. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) WithAPIVersion(value string) *MutatingAdmissionPolicyBindingApplyConfiguration { + b.TypeMetaApplyConfiguration.APIVersion = &value + return b +} + +// WithName sets the Name field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Name field is set to the value of the last call. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) WithName(value string) *MutatingAdmissionPolicyBindingApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.Name = &value + return b +} + +// WithGenerateName sets the GenerateName field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the GenerateName field is set to the value of the last call. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) WithGenerateName(value string) *MutatingAdmissionPolicyBindingApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.GenerateName = &value + return b +} + +// WithNamespace sets the Namespace field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Namespace field is set to the value of the last call. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) WithNamespace(value string) *MutatingAdmissionPolicyBindingApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.Namespace = &value + return b +} + +// WithUID sets the UID field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the UID field is set to the value of the last call. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) WithUID(value types.UID) *MutatingAdmissionPolicyBindingApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.UID = &value + return b +} + +// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the ResourceVersion field is set to the value of the last call. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) WithResourceVersion(value string) *MutatingAdmissionPolicyBindingApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.ResourceVersion = &value + return b +} + +// WithGeneration sets the Generation field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Generation field is set to the value of the last call. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) WithGeneration(value int64) *MutatingAdmissionPolicyBindingApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.Generation = &value + return b +} + +// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the CreationTimestamp field is set to the value of the last call. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *MutatingAdmissionPolicyBindingApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.CreationTimestamp = &value + return b +} + +// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the DeletionTimestamp field is set to the value of the last call. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *MutatingAdmissionPolicyBindingApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value + return b +} + +// WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MutatingAdmissionPolicyBindingApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.DeletionGracePeriodSeconds = &value + return b +} + +// WithLabels puts the entries into the Labels field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, the entries provided by each call will be put on the Labels field, +// overwriting an existing map entries in Labels field with the same key. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) WithLabels(entries map[string]string) *MutatingAdmissionPolicyBindingApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + if b.ObjectMetaApplyConfiguration.Labels == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Labels = make(map[string]string, len(entries)) + } + for k, v := range entries { + b.ObjectMetaApplyConfiguration.Labels[k] = v + } + return b +} + +// WithAnnotations puts the entries into the Annotations field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, the entries provided by each call will be put on the Annotations field, +// overwriting an existing map entries in Annotations field with the same key. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) WithAnnotations(entries map[string]string) *MutatingAdmissionPolicyBindingApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + if b.ObjectMetaApplyConfiguration.Annotations == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Annotations = make(map[string]string, len(entries)) + } + for k, v := range entries { + b.ObjectMetaApplyConfiguration.Annotations[k] = v + } + return b +} + +// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the OwnerReferences field. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *MutatingAdmissionPolicyBindingApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + for i := range values { + if values[i] == nil { + panic("nil value passed to WithOwnerReferences") + } + b.ObjectMetaApplyConfiguration.OwnerReferences = append(b.ObjectMetaApplyConfiguration.OwnerReferences, *values[i]) + } + return b +} + +// WithFinalizers adds the given value to the Finalizers field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the Finalizers field. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) WithFinalizers(values ...string) *MutatingAdmissionPolicyBindingApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + for i := range values { + b.ObjectMetaApplyConfiguration.Finalizers = append(b.ObjectMetaApplyConfiguration.Finalizers, values[i]) + } + return b +} + +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) ensureObjectMetaApplyConfigurationExists() { + if b.ObjectMetaApplyConfiguration == nil { + b.ObjectMetaApplyConfiguration = &metav1.ObjectMetaApplyConfiguration{} + } +} + +// WithSpec sets the Spec field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Spec field is set to the value of the last call. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) WithSpec(value *MutatingAdmissionPolicyBindingSpecApplyConfiguration) *MutatingAdmissionPolicyBindingApplyConfiguration { + b.Spec = value + return b +} + +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + +// GetName retrieves the value of the Name field in the declarative configuration. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) GetName() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Name +} + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingadmissionpolicybindingspec.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingadmissionpolicybindingspec.go new file mode 100644 index 000000000..48cdffe9a --- /dev/null +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingadmissionpolicybindingspec.go @@ -0,0 +1,59 @@ +// Code generated by api. DO NOT EDIT. + +package v1 + +// MutatingAdmissionPolicyBindingSpecApplyConfiguration represents a declarative configuration of the MutatingAdmissionPolicyBindingSpec type for use +// with apply. +// +// MutatingAdmissionPolicyBindingSpec defines the specification of the MutatingAdmissionPolicyBinding. +type MutatingAdmissionPolicyBindingSpecApplyConfiguration struct { + // policyName references a MutatingAdmissionPolicy name which the MutatingAdmissionPolicyBinding binds to. + // If the referenced resource does not exist, this binding is considered invalid and will be ignored + // Required. + PolicyName *string `json:"policyName,omitempty"` + // paramRef specifies the parameter resource used to configure the admission control policy. + // It should point to a resource of the type specified in spec.ParamKind of the bound MutatingAdmissionPolicy. + // If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the MutatingAdmissionPolicy applied. + // If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param. + ParamRef *ParamRefApplyConfiguration `json:"paramRef,omitempty"` + // matchResources limits what resources match this binding and may be mutated by it. + // Note that if matchResources matches a resource, the resource must also match a policy's matchConstraints and + // matchConditions before the resource may be mutated. + // When matchResources is unset, it does not constrain resource matching, and only the policy's matchConstraints + // and matchConditions must match for the resource to be mutated. + // Additionally, matchResources.resourceRules are optional and do not constraint matching when unset. + // Note that this is differs from MutatingAdmissionPolicy matchConstraints, where resourceRules are required. + // The CREATE, UPDATE and CONNECT operations are allowed. The DELETE operation may not be matched. + // '*' matches CREATE, UPDATE and CONNECT. + MatchResources *MatchResourcesApplyConfiguration `json:"matchResources,omitempty"` +} + +// MutatingAdmissionPolicyBindingSpecApplyConfiguration constructs a declarative configuration of the MutatingAdmissionPolicyBindingSpec type for use with +// apply. +func MutatingAdmissionPolicyBindingSpec() *MutatingAdmissionPolicyBindingSpecApplyConfiguration { + return &MutatingAdmissionPolicyBindingSpecApplyConfiguration{} +} + +// WithPolicyName sets the PolicyName field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the PolicyName field is set to the value of the last call. +func (b *MutatingAdmissionPolicyBindingSpecApplyConfiguration) WithPolicyName(value string) *MutatingAdmissionPolicyBindingSpecApplyConfiguration { + b.PolicyName = &value + return b +} + +// WithParamRef sets the ParamRef field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the ParamRef field is set to the value of the last call. +func (b *MutatingAdmissionPolicyBindingSpecApplyConfiguration) WithParamRef(value *ParamRefApplyConfiguration) *MutatingAdmissionPolicyBindingSpecApplyConfiguration { + b.ParamRef = value + return b +} + +// WithMatchResources sets the MatchResources field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the MatchResources field is set to the value of the last call. +func (b *MutatingAdmissionPolicyBindingSpecApplyConfiguration) WithMatchResources(value *MatchResourcesApplyConfiguration) *MutatingAdmissionPolicyBindingSpecApplyConfiguration { + b.MatchResources = value + return b +} diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingadmissionpolicyspec.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingadmissionpolicyspec.go new file mode 100644 index 000000000..38063063c --- /dev/null +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingadmissionpolicyspec.go @@ -0,0 +1,158 @@ +// Code generated by api. DO NOT EDIT. + +package v1 + +import ( + admissionregistrationv1 "k8s.io/api/admissionregistration/v1" +) + +// MutatingAdmissionPolicySpecApplyConfiguration represents a declarative configuration of the MutatingAdmissionPolicySpec type for use +// with apply. +// +// MutatingAdmissionPolicySpec defines the desired behavior of the admission policy. +type MutatingAdmissionPolicySpecApplyConfiguration struct { + // paramKind specifies the kind of resources used to parameterize this policy. + // If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. + // If paramKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. + // If paramKind is specified but paramRef is unset in MutatingAdmissionPolicyBinding, the params variable will be null. + ParamKind *ParamKindApplyConfiguration `json:"paramKind,omitempty"` + // matchConstraints specifies what resources this policy is designed to validate. + // The MutatingAdmissionPolicy cares about a request if it matches _all_ Constraints. + // However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API + // MutatingAdmissionPolicy cannot match MutatingAdmissionPolicy and MutatingAdmissionPolicyBinding. + // The CREATE, UPDATE and CONNECT operations are allowed. The DELETE operation may not be matched. + // '*' matches CREATE, UPDATE and CONNECT. + // Required. + MatchConstraints *MatchResourcesApplyConfiguration `json:"matchConstraints,omitempty"` + // variables contain definitions of variables that can be used in composition of other expressions. + // Each variable is defined as a named CEL expression. + // The variables defined here will be available under `variables` in other expressions of the policy + // except matchConditions because matchConditions are evaluated before the rest of the policy. + // + // The expression of a variable can refer to other variables defined earlier in the list but not those after. + // Thus, variables must be sorted by the order of first appearance and acyclic. + Variables []VariableApplyConfiguration `json:"variables,omitempty"` + // mutations contain operations to perform on matching objects. + // mutations may not be empty; a minimum of one mutation is required. + // mutations are evaluated in order, and are reinvoked according to + // the reinvocationPolicy. + // The mutations of a policy are invoked for each binding of this policy + // and reinvocation of mutations occurs on a per binding basis. + // + Mutations []MutationApplyConfiguration `json:"mutations,omitempty"` + // failurePolicy defines how to handle failures for the admission policy. Failures can + // occur from CEL expression parse errors, type check errors, runtime errors and invalid + // or mis-configured policy definitions or bindings. + // + // A policy is invalid if paramKind refers to a non-existent Kind. + // A binding is invalid if paramRef.name refers to a non-existent resource. + // + // failurePolicy does not define how validations that evaluate to false are handled. + // + // Allowed values are Ignore or Fail. Defaults to Fail. + FailurePolicy *admissionregistrationv1.FailurePolicyType `json:"failurePolicy,omitempty"` + // matchConditions is a list of conditions that must be met for a request to be validated. + // Match conditions filter requests that have already been matched by the matchConstraints. + // An empty list of matchConditions matches all requests. + // There are a maximum of 64 match conditions allowed. + // + // If a parameter object is provided, it can be accessed via the `params` handle in the same + // manner as validation expressions. + // + // The exact matching logic is (in order): + // 1. If ANY matchCondition evaluates to FALSE, the policy is skipped. + // 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated. + // 3. If any matchCondition evaluates to an error (but none are FALSE): + // - If failurePolicy=Fail, reject the request + // - If failurePolicy=Ignore, the policy is skipped + // + MatchConditions []MatchConditionApplyConfiguration `json:"matchConditions,omitempty"` + // reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding + // as part of a single admission evaluation. + // Allowed values are "Never" and "IfNeeded". + // + // Never: These mutations will not be called more than once per binding in a single admission evaluation. + // + // IfNeeded: These mutations may be invoked more than once per binding for a single admission request and there is no guarantee of + // order with respect to other admission plugins, admission webhooks, bindings of this policy and admission policies. Mutations are only + // reinvoked when mutations change the object after this mutation is invoked. + // Required. + ReinvocationPolicy *admissionregistrationv1.ReinvocationPolicyType `json:"reinvocationPolicy,omitempty"` +} + +// MutatingAdmissionPolicySpecApplyConfiguration constructs a declarative configuration of the MutatingAdmissionPolicySpec type for use with +// apply. +func MutatingAdmissionPolicySpec() *MutatingAdmissionPolicySpecApplyConfiguration { + return &MutatingAdmissionPolicySpecApplyConfiguration{} +} + +// WithParamKind sets the ParamKind field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the ParamKind field is set to the value of the last call. +func (b *MutatingAdmissionPolicySpecApplyConfiguration) WithParamKind(value *ParamKindApplyConfiguration) *MutatingAdmissionPolicySpecApplyConfiguration { + b.ParamKind = value + return b +} + +// WithMatchConstraints sets the MatchConstraints field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the MatchConstraints field is set to the value of the last call. +func (b *MutatingAdmissionPolicySpecApplyConfiguration) WithMatchConstraints(value *MatchResourcesApplyConfiguration) *MutatingAdmissionPolicySpecApplyConfiguration { + b.MatchConstraints = value + return b +} + +// WithVariables adds the given value to the Variables field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the Variables field. +func (b *MutatingAdmissionPolicySpecApplyConfiguration) WithVariables(values ...*VariableApplyConfiguration) *MutatingAdmissionPolicySpecApplyConfiguration { + for i := range values { + if values[i] == nil { + panic("nil value passed to WithVariables") + } + b.Variables = append(b.Variables, *values[i]) + } + return b +} + +// WithMutations adds the given value to the Mutations field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the Mutations field. +func (b *MutatingAdmissionPolicySpecApplyConfiguration) WithMutations(values ...*MutationApplyConfiguration) *MutatingAdmissionPolicySpecApplyConfiguration { + for i := range values { + if values[i] == nil { + panic("nil value passed to WithMutations") + } + b.Mutations = append(b.Mutations, *values[i]) + } + return b +} + +// WithFailurePolicy sets the FailurePolicy field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the FailurePolicy field is set to the value of the last call. +func (b *MutatingAdmissionPolicySpecApplyConfiguration) WithFailurePolicy(value admissionregistrationv1.FailurePolicyType) *MutatingAdmissionPolicySpecApplyConfiguration { + b.FailurePolicy = &value + return b +} + +// WithMatchConditions adds the given value to the MatchConditions field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the MatchConditions field. +func (b *MutatingAdmissionPolicySpecApplyConfiguration) WithMatchConditions(values ...*MatchConditionApplyConfiguration) *MutatingAdmissionPolicySpecApplyConfiguration { + for i := range values { + if values[i] == nil { + panic("nil value passed to WithMatchConditions") + } + b.MatchConditions = append(b.MatchConditions, *values[i]) + } + return b +} + +// WithReinvocationPolicy sets the ReinvocationPolicy field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the ReinvocationPolicy field is set to the value of the last call. +func (b *MutatingAdmissionPolicySpecApplyConfiguration) WithReinvocationPolicy(value admissionregistrationv1.ReinvocationPolicyType) *MutatingAdmissionPolicySpecApplyConfiguration { + b.ReinvocationPolicy = &value + return b +} diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingwebhook.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingwebhook.go index 8441e44cc..828aa7097 100644 --- a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingwebhook.go +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingwebhook.go @@ -12,23 +12,23 @@ import ( // // MutatingWebhook describes an admission webhook and the resources and operations it applies to. type MutatingWebhookApplyConfiguration struct { - // The name of the admission webhook. + // name is the name of the admission webhook. // Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where // "imagepolicy" is the name of the webhook, and kubernetes.io is the name // of the organization. // Required. Name *string `json:"name,omitempty"` - // ClientConfig defines how to communicate with the hook. + // clientConfig defines how to communicate with the hook. // Required ClientConfig *WebhookClientConfigApplyConfiguration `json:"clientConfig,omitempty"` - // Rules describes what operations on what resources/subresources the webhook cares about. + // rules describes what operations on what resources/subresources the webhook cares about. // The webhook cares about an operation if it matches _any_ Rule. // However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks // from putting the cluster in a state which cannot be recovered from without completely // disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called // on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. Rules []RuleWithOperationsApplyConfiguration `json:"rules,omitempty"` - // FailurePolicy defines how unrecognized errors from the admission endpoint are handled - + // failurePolicy defines how unrecognized errors from the admission endpoint are handled - // allowed values are Ignore or Fail. Defaults to Fail. FailurePolicy *admissionregistrationv1.FailurePolicyType `json:"failurePolicy,omitempty"` // matchPolicy defines how the "rules" list is used to match incoming requests. @@ -46,7 +46,7 @@ type MutatingWebhookApplyConfiguration struct { // // Defaults to "Equivalent" MatchPolicy *admissionregistrationv1.MatchPolicyType `json:"matchPolicy,omitempty"` - // NamespaceSelector decides whether to run the webhook on an object based + // namespaceSelector decides whether to run the webhook on an object based // on whether the namespace for that object matches the selector. If the // object itself is a namespace, the matching is performed on // object.metadata.labels. If the object is another cluster scoped resource, @@ -90,7 +90,7 @@ type MutatingWebhookApplyConfiguration struct { // // Default to the empty LabelSelector, which matches everything. NamespaceSelector *metav1.LabelSelectorApplyConfiguration `json:"namespaceSelector,omitempty"` - // ObjectSelector decides whether to run the webhook based on if the + // objectSelector decides whether to run the webhook based on if the // object has matching labels. objectSelector is evaluated against both // the oldObject and newObject that would be sent to the webhook, and // is considered to match if either object matches the selector. A null @@ -102,20 +102,20 @@ type MutatingWebhookApplyConfiguration struct { // users may skip the admission webhook by setting the labels. // Default to the empty LabelSelector, which matches everything. ObjectSelector *metav1.LabelSelectorApplyConfiguration `json:"objectSelector,omitempty"` - // SideEffects states whether this webhook has side effects. + // sideEffects states whether this webhook has side effects. // Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). // Webhooks with side effects MUST implement a reconciliation system, since a request may be // rejected by a future step in the admission chain and the side effects therefore need to be undone. // Requests with the dryRun attribute will be auto-rejected if they match a webhook with // sideEffects == Unknown or Some. SideEffects *admissionregistrationv1.SideEffectClass `json:"sideEffects,omitempty"` - // TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, + // timeoutSeconds specifies the timeout for this webhook. After the timeout passes, // the webhook call will be ignored or the API call will fail based on the // failure policy. // The timeout value must be between 1 and 30 seconds. // Default to 10 seconds. TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"` - // AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` + // admissionReviewVersions is an ordered list of preferred `AdmissionReview` // versions the Webhook expects. API server will try to use first version in // the list which it supports. If none of the versions specified in this list // supported by API server, validation will fail for this object. @@ -139,7 +139,7 @@ type MutatingWebhookApplyConfiguration struct { // // Defaults to "Never". ReinvocationPolicy *admissionregistrationv1.ReinvocationPolicyType `json:"reinvocationPolicy,omitempty"` - // MatchConditions is a list of conditions that must be met for a request to be sent to this + // matchConditions is a list of conditions that must be met for a request to be sent to this // webhook. Match conditions filter requests that have already been matched by the rules, // namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. // There are a maximum of 64 match conditions allowed. @@ -150,6 +150,7 @@ type MutatingWebhookApplyConfiguration struct { // 3. If any matchCondition evaluates to an error (but none are FALSE): // - If failurePolicy=Fail, reject the request // - If failurePolicy=Ignore, the error is ignored and the webhook is skipped + // MatchConditions []MatchConditionApplyConfiguration `json:"matchConditions,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingwebhookconfiguration.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingwebhookconfiguration.go index 59f5982a7..af8df87db 100644 --- a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingwebhookconfiguration.go +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutatingwebhookconfiguration.go @@ -14,9 +14,9 @@ import ( // MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. type MutatingWebhookConfigurationApplyConfiguration struct { metav1.TypeMetaApplyConfiguration `json:",inline"` - // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. + // metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. *metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` - // Webhooks is a list of webhooks and the affected resources and operations. + // webhooks is a list of webhooks and the affected resources and operations. Webhooks []MutatingWebhookApplyConfiguration `json:"webhooks,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutation.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutation.go new file mode 100644 index 000000000..39ed40fd2 --- /dev/null +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/mutation.go @@ -0,0 +1,57 @@ +// Code generated by api. DO NOT EDIT. + +package v1 + +import ( + admissionregistrationv1 "k8s.io/api/admissionregistration/v1" +) + +// MutationApplyConfiguration represents a declarative configuration of the Mutation type for use +// with apply. +// +// Mutation specifies the CEL expression which is used to apply the Mutation. +type MutationApplyConfiguration struct { + // patchType indicates the patch strategy used. + // Allowed values are "ApplyConfiguration" and "JSONPatch". + // Required. + // + PatchType *admissionregistrationv1.PatchType `json:"patchType,omitempty"` + // applyConfiguration defines the desired configuration values of an object. + // The configuration is applied to the admission object using + // [structured merge diff](https://github.com/kubernetes-sigs/structured-merge-diff). + // A CEL expression is used to create apply configuration. + ApplyConfiguration *ApplyConfigurationApplyConfiguration `json:"applyConfiguration,omitempty"` + // jsonPatch defines a [JSON patch](https://jsonpatch.com/) operation to perform a mutation to the object. + // A CEL expression is used to create the JSON patch. + JSONPatch *JSONPatchApplyConfiguration `json:"jsonPatch,omitempty"` +} + +// MutationApplyConfiguration constructs a declarative configuration of the Mutation type for use with +// apply. +func Mutation() *MutationApplyConfiguration { + return &MutationApplyConfiguration{} +} + +// WithPatchType sets the PatchType field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the PatchType field is set to the value of the last call. +func (b *MutationApplyConfiguration) WithPatchType(value admissionregistrationv1.PatchType) *MutationApplyConfiguration { + b.PatchType = &value + return b +} + +// WithApplyConfiguration sets the ApplyConfiguration field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the ApplyConfiguration field is set to the value of the last call. +func (b *MutationApplyConfiguration) WithApplyConfiguration(value *ApplyConfigurationApplyConfiguration) *MutationApplyConfiguration { + b.ApplyConfiguration = value + return b +} + +// WithJSONPatch sets the JSONPatch field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the JSONPatch field is set to the value of the last call. +func (b *MutationApplyConfiguration) WithJSONPatch(value *JSONPatchApplyConfiguration) *MutationApplyConfiguration { + b.JSONPatch = value + return b +} diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/namedrulewithoperations.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/namedrulewithoperations.go index 0b0744a6f..087b28c94 100644 --- a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/namedrulewithoperations.go +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/namedrulewithoperations.go @@ -11,7 +11,7 @@ import ( // // NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames. type NamedRuleWithOperationsApplyConfiguration struct { - // ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. + // resourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. ResourceNames []string `json:"resourceNames,omitempty"` // RuleWithOperations is a tuple of Operations and Resources. RuleWithOperationsApplyConfiguration `json:",inline"` diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/paramkind.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/paramkind.go index e59588d44..f585fae45 100644 --- a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/paramkind.go +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/paramkind.go @@ -7,11 +7,11 @@ package v1 // // ParamKind is a tuple of Group Kind and Version. type ParamKindApplyConfiguration struct { - // APIVersion is the API group version the resources belong to. + // apiVersion is the API group version the resources belong to. // In format of "group/version". // Required. APIVersion *string `json:"apiVersion,omitempty"` - // Kind is the API kind the resources belong to. + // kind is the API kind the resources belong to. // Required. Kind *string `json:"kind,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/paramref.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/paramref.go index 3dd673561..cf03a2221 100644 --- a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/paramref.go +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/paramref.go @@ -36,6 +36,7 @@ type ParamRefApplyConfiguration struct { // evaluated for admission will be used when this field is left unset. Take // care that if this is left empty the binding must not match any cluster-scoped // resources, which will result in an error. + // Namespace *string `json:"namespace,omitempty"` // selector can be used to match multiple param objects based on their labels. // Supply selector: {} to match all resources of the ParamKind. @@ -45,8 +46,9 @@ type ParamRefApplyConfiguration struct { // // One of `name` or `selector` must be set, but `name` and `selector` are // mutually exclusive properties. If one is set, the other must be unset. + // Selector *metav1.LabelSelectorApplyConfiguration `json:"selector,omitempty"` - // `parameterNotFoundAction` controls the behavior of the binding when the resource + // parameterNotFoundAction controls the behavior of the binding when the resource // exists, and name or selector is valid, but there are no parameters // matched by the binding. If the value is set to `Allow`, then no // matched parameters will be treated as successful validation by the binding. diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/rule.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/rule.go index 3630526e3..80c629c32 100644 --- a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/rule.go +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/rule.go @@ -12,15 +12,15 @@ import ( // Rule is a tuple of APIGroups, APIVersion, and Resources.It is recommended // to make sure that all the tuple expansions are valid. type RuleApplyConfiguration struct { - // APIGroups is the API groups the resources belong to. '*' is all groups. + // apiGroups is the API groups the resources belong to. '*' is all groups. // If '*' is present, the length of the slice must be one. // Required. APIGroups []string `json:"apiGroups,omitempty"` - // APIVersions is the API versions the resources belong to. '*' is all versions. + // apiVersions is the API versions the resources belong to. '*' is all versions. // If '*' is present, the length of the slice must be one. // Required. APIVersions []string `json:"apiVersions,omitempty"` - // Resources is a list of resources this rule applies to. + // resources is a list of resources this rule applies to. // // For example: // 'pods' means pods. @@ -44,6 +44,7 @@ type RuleApplyConfiguration struct { // "*" means that there are no scope restrictions. // Subresources match the scope of their parent resource. // Default is "*". + // Scope *admissionregistrationv1.ScopeType `json:"scope,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/rulewithoperations.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/rulewithoperations.go index 6d115ae43..f87cede83 100644 --- a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/rulewithoperations.go +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/rulewithoperations.go @@ -12,7 +12,7 @@ import ( // RuleWithOperations is a tuple of Operations and Resources. It is recommended to make // sure that all the tuple expansions are valid. type RuleWithOperationsApplyConfiguration struct { - // Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * + // operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * // for all of those operations and any future admission operations that are added. // If '*' is present, the length of the slice must be one. // Required. diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/servicereference.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/servicereference.go index 6ccc72b7a..548089536 100644 --- a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/servicereference.go +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/servicereference.go @@ -7,16 +7,16 @@ package v1 // // ServiceReference holds a reference to Service.legacy.k8s.io type ServiceReferenceApplyConfiguration struct { - // `namespace` is the namespace of the service. + // namespace is the namespace of the service. // Required Namespace *string `json:"namespace,omitempty"` - // `name` is the name of the service. + // name is the name of the service. // Required Name *string `json:"name,omitempty"` - // `path` is an optional URL path which will be sent in any request to + // path is an optional URL path which will be sent in any request to // this service. Path *string `json:"path,omitempty"` - // If specified, the port on the service that hosting webhook. + // port is the port on the service that hosts the webhook. // Default to 443 for backward compatibility. // `port` should be a valid port number (1-65535, inclusive). Port *int32 `json:"port,omitempty"` diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/typechecking.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/typechecking.go index 564d9780b..7aec8110e 100644 --- a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/typechecking.go +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/typechecking.go @@ -8,7 +8,7 @@ package v1 // TypeChecking contains results of type checking the expressions in the // ValidatingAdmissionPolicy type TypeCheckingApplyConfiguration struct { - // The type checking warnings for each expression. + // expressionWarnings contains the type checking warnings for each expression. ExpressionWarnings []ExpressionWarningApplyConfiguration `json:"expressionWarnings,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingadmissionpolicy.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingadmissionpolicy.go index e1eca4d29..d071ca8f4 100644 --- a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingadmissionpolicy.go +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingadmissionpolicy.go @@ -14,11 +14,11 @@ import ( // ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it. type ValidatingAdmissionPolicyApplyConfiguration struct { metav1.TypeMetaApplyConfiguration `json:",inline"` - // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. + // metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. *metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` - // Specification of the desired behavior of the ValidatingAdmissionPolicy. + // spec defines the desired behavior of the ValidatingAdmissionPolicy. Spec *ValidatingAdmissionPolicySpecApplyConfiguration `json:"spec,omitempty"` - // The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy + // status represents the current status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy // behaves in the expected way. // Populated by the system. // Read-only. diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingadmissionpolicybinding.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingadmissionpolicybinding.go index 1ef96d873..b36d1123c 100644 --- a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingadmissionpolicybinding.go +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingadmissionpolicybinding.go @@ -24,9 +24,9 @@ import ( // given (policy, binding, param) combination is within its own CEL budget. type ValidatingAdmissionPolicyBindingApplyConfiguration struct { metav1.TypeMetaApplyConfiguration `json:",inline"` - // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. + // metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. *metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` - // Specification of the desired behavior of the ValidatingAdmissionPolicyBinding. + // spec defines the desired behavior of the ValidatingAdmissionPolicyBinding. Spec *ValidatingAdmissionPolicyBindingSpecApplyConfiguration `json:"spec,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingadmissionpolicybindingspec.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingadmissionpolicybindingspec.go index db2e82d5c..f64e3069f 100644 --- a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingadmissionpolicybindingspec.go +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingadmissionpolicybindingspec.go @@ -11,7 +11,7 @@ import ( // // ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding. type ValidatingAdmissionPolicyBindingSpecApplyConfiguration struct { - // PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. + // policyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. // If the referenced resource does not exist, this binding is considered invalid and will be ignored // Required. PolicyName *string `json:"policyName,omitempty"` @@ -20,7 +20,7 @@ type ValidatingAdmissionPolicyBindingSpecApplyConfiguration struct { // If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. // If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param. ParamRef *ParamRefApplyConfiguration `json:"paramRef,omitempty"` - // MatchResources declares what resources match this binding and will be validated by it. + // matchResources declares what resources match this binding and will be validated by it. // Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. // If this is unset, all resources matched by the policy are validated by this binding // When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingadmissionpolicyspec.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingadmissionpolicyspec.go index ebf5bb656..0a55034f9 100644 --- a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingadmissionpolicyspec.go +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingadmissionpolicyspec.go @@ -11,18 +11,18 @@ import ( // // ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy. type ValidatingAdmissionPolicySpecApplyConfiguration struct { - // ParamKind specifies the kind of resources used to parameterize this policy. + // paramKind specifies the kind of resources used to parameterize this policy. // If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. // If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. // If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null. ParamKind *ParamKindApplyConfiguration `json:"paramKind,omitempty"` - // MatchConstraints specifies what resources this policy is designed to validate. + // matchConstraints specifies what resources this policy is designed to validate. // The AdmissionPolicy cares about a request if it matches _all_ Constraints. // However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API // ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. // Required. MatchConstraints *MatchResourcesApplyConfiguration `json:"matchConstraints,omitempty"` - // Validations contain CEL expressions which is used to apply the validation. + // validations contain CEL expressions which is used to apply the validation. // Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is // required. Validations []ValidationApplyConfiguration `json:"validations,omitempty"` @@ -45,7 +45,7 @@ type ValidatingAdmissionPolicySpecApplyConfiguration struct { // validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is // required. AuditAnnotations []AuditAnnotationApplyConfiguration `json:"auditAnnotations,omitempty"` - // MatchConditions is a list of conditions that must be met for a request to be validated. + // matchConditions is a list of conditions that must be met for a request to be validated. // Match conditions filter requests that have already been matched by the rules, // namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. // There are a maximum of 64 match conditions allowed. @@ -59,8 +59,9 @@ type ValidatingAdmissionPolicySpecApplyConfiguration struct { // 3. If any matchCondition evaluates to an error (but none are FALSE): // - If failurePolicy=Fail, reject the request // - If failurePolicy=Ignore, the policy is skipped + // MatchConditions []MatchConditionApplyConfiguration `json:"matchConditions,omitempty"` - // Variables contain definitions of variables that can be used in composition of other expressions. + // variables contain definitions of variables that can be used in composition of other expressions. // Each variable is defined as a named CEL expression. // The variables defined here will be available under `variables` in other expressions of the policy // except MatchConditions because MatchConditions are evaluated before the rest of the policy. diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingadmissionpolicystatus.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingadmissionpolicystatus.go index 3ec66162f..1209d272c 100644 --- a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingadmissionpolicystatus.go +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingadmissionpolicystatus.go @@ -11,12 +11,12 @@ import ( // // ValidatingAdmissionPolicyStatus represents the status of an admission validation policy. type ValidatingAdmissionPolicyStatusApplyConfiguration struct { - // The generation observed by the controller. + // observedGeneration is the generation observed by the controller. ObservedGeneration *int64 `json:"observedGeneration,omitempty"` - // The results of type checking for each expression. + // typeChecking contains the results of type checking for each expression. // Presence of this field indicates the completion of the type checking. TypeChecking *TypeCheckingApplyConfiguration `json:"typeChecking,omitempty"` - // The conditions represent the latest available observations of a policy's current state. + // conditions represent the latest available observations of a policy's current state. Conditions []metav1.ConditionApplyConfiguration `json:"conditions,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingwebhook.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingwebhook.go index 3e4ac825e..25a5fad1d 100644 --- a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingwebhook.go +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingwebhook.go @@ -12,23 +12,23 @@ import ( // // ValidatingWebhook describes an admission webhook and the resources and operations it applies to. type ValidatingWebhookApplyConfiguration struct { - // The name of the admission webhook. + // name is the name of the admission webhook. // Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where // "imagepolicy" is the name of the webhook, and kubernetes.io is the name // of the organization. // Required. Name *string `json:"name,omitempty"` - // ClientConfig defines how to communicate with the hook. + // clientConfig defines how to communicate with the hook. // Required ClientConfig *WebhookClientConfigApplyConfiguration `json:"clientConfig,omitempty"` - // Rules describes what operations on what resources/subresources the webhook cares about. + // rules describes what operations on what resources/subresources the webhook cares about. // The webhook cares about an operation if it matches _any_ Rule. // However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks // from putting the cluster in a state which cannot be recovered from without completely // disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called // on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. Rules []RuleWithOperationsApplyConfiguration `json:"rules,omitempty"` - // FailurePolicy defines how unrecognized errors from the admission endpoint are handled - + // failurePolicy defines how unrecognized errors from the admission endpoint are handled - // allowed values are Ignore or Fail. Defaults to Fail. FailurePolicy *admissionregistrationv1.FailurePolicyType `json:"failurePolicy,omitempty"` // matchPolicy defines how the "rules" list is used to match incoming requests. @@ -46,7 +46,7 @@ type ValidatingWebhookApplyConfiguration struct { // // Defaults to "Equivalent" MatchPolicy *admissionregistrationv1.MatchPolicyType `json:"matchPolicy,omitempty"` - // NamespaceSelector decides whether to run the webhook on an object based + // namespaceSelector decides whether to run the webhook on an object based // on whether the namespace for that object matches the selector. If the // object itself is a namespace, the matching is performed on // object.metadata.labels. If the object is another cluster scoped resource, @@ -90,7 +90,7 @@ type ValidatingWebhookApplyConfiguration struct { // // Default to the empty LabelSelector, which matches everything. NamespaceSelector *metav1.LabelSelectorApplyConfiguration `json:"namespaceSelector,omitempty"` - // ObjectSelector decides whether to run the webhook based on if the + // objectSelector decides whether to run the webhook based on if the // object has matching labels. objectSelector is evaluated against both // the oldObject and newObject that would be sent to the webhook, and // is considered to match if either object matches the selector. A null @@ -102,20 +102,20 @@ type ValidatingWebhookApplyConfiguration struct { // users may skip the admission webhook by setting the labels. // Default to the empty LabelSelector, which matches everything. ObjectSelector *metav1.LabelSelectorApplyConfiguration `json:"objectSelector,omitempty"` - // SideEffects states whether this webhook has side effects. + // sideEffects states whether this webhook has side effects. // Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). // Webhooks with side effects MUST implement a reconciliation system, since a request may be // rejected by a future step in the admission chain and the side effects therefore need to be undone. // Requests with the dryRun attribute will be auto-rejected if they match a webhook with // sideEffects == Unknown or Some. SideEffects *admissionregistrationv1.SideEffectClass `json:"sideEffects,omitempty"` - // TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, + // timeoutSeconds specifies the timeout for this webhook. After the timeout passes, // the webhook call will be ignored or the API call will fail based on the // failure policy. // The timeout value must be between 1 and 30 seconds. // Default to 10 seconds. TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"` - // AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` + // admissionReviewVersions is an ordered list of preferred `AdmissionReview` // versions the Webhook expects. API server will try to use first version in // the list which it supports. If none of the versions specified in this list // supported by API server, validation will fail for this object. @@ -123,7 +123,7 @@ type ValidatingWebhookApplyConfiguration struct { // include any versions known to the API Server, calls to the webhook will fail // and be subject to the failure policy. AdmissionReviewVersions []string `json:"admissionReviewVersions,omitempty"` - // MatchConditions is a list of conditions that must be met for a request to be sent to this + // matchConditions is a list of conditions that must be met for a request to be sent to this // webhook. Match conditions filter requests that have already been matched by the rules, // namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. // There are a maximum of 64 match conditions allowed. @@ -134,6 +134,7 @@ type ValidatingWebhookApplyConfiguration struct { // 3. If any matchCondition evaluates to an error (but none are FALSE): // - If failurePolicy=Fail, reject the request // - If failurePolicy=Ignore, the error is ignored and the webhook is skipped + // MatchConditions []MatchConditionApplyConfiguration `json:"matchConditions,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingwebhookconfiguration.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingwebhookconfiguration.go index 41f24d4bd..79b3b68d0 100644 --- a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingwebhookconfiguration.go +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validatingwebhookconfiguration.go @@ -14,9 +14,9 @@ import ( // ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. type ValidatingWebhookConfigurationApplyConfiguration struct { metav1.TypeMetaApplyConfiguration `json:",inline"` - // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. + // metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. *metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` - // Webhooks is a list of webhooks and the affected resources and operations. + // webhooks is a list of webhooks and the affected resources and operations. Webhooks []ValidatingWebhookApplyConfiguration `json:"webhooks,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validation.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validation.go index 9317f62d2..9eb924544 100644 --- a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validation.go +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/validation.go @@ -11,7 +11,7 @@ import ( // // Validation specifies the CEL expression which is used to apply the validation. type ValidationApplyConfiguration struct { - // Expression represents the expression which will be evaluated by CEL. + // expression represents the expression which will be evaluated by CEL. // ref: https://github.com/google/cel-spec // CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables: // @@ -53,7 +53,7 @@ type ValidationApplyConfiguration struct { // non-intersecting keys are appended, retaining their partial order. // Required. Expression *string `json:"expression,omitempty"` - // Message represents the message displayed when validation fails. The message is required if the Expression contains + // message represents the message displayed when validation fails. The message is required if the Expression contains // line breaks. The message must not contain line breaks. // If unset, the message is "failed rule: {Rule}". // e.g. "must be a URL with the host matching spec.host" @@ -61,7 +61,7 @@ type ValidationApplyConfiguration struct { // The message must not contain line breaks. // If unset, the message is "failed Expression: {Expression}". Message *string `json:"message,omitempty"` - // Reason represents a machine-readable description of why this validation failed. + // reason represents a machine-readable description of why this validation failed. // If this is the first validation in the list to fail, this reason, as well as the // corresponding HTTP response code, are used in the // HTTP response to the client. diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/variable.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/variable.go index 402a145f6..cd669aca8 100644 --- a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/variable.go +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/variable.go @@ -7,11 +7,11 @@ package v1 // // Variable is the definition of a variable that is used for composition. A variable is defined as a named expression. type VariableApplyConfiguration struct { - // Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. + // name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. // The variable can be accessed in other expressions through `variables` // For example, if name is "foo", the variable will be available as `variables.foo` Name *string `json:"name,omitempty"` - // Expression is the expression that will be evaluated as the value of the variable. + // expression is the expression that will be evaluated as the value of the variable. // The CEL expression has access to the same identifiers as the CEL expressions in Validation. Expression *string `json:"expression,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/webhookclientconfig.go b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/webhookclientconfig.go index 541325eb4..bd0656cb8 100644 --- a/pkg/kubeclients/applyconfiguration/admissionregistration/v1/webhookclientconfig.go +++ b/pkg/kubeclients/applyconfiguration/admissionregistration/v1/webhookclientconfig.go @@ -8,7 +8,7 @@ package v1 // WebhookClientConfig contains the information to make a TLS // connection with the webhook type WebhookClientConfigApplyConfiguration struct { - // `url` gives the location of the webhook, in standard URL form + // url gives the location of the webhook, in standard URL form // (`scheme://host:port/path`). Exactly one of `url` or `service` // must be specified. // @@ -33,13 +33,15 @@ type WebhookClientConfigApplyConfiguration struct { // Attempting to use a user or basic auth e.g. "user:password@" is not // allowed. Fragments ("#...") and query parameters ("?...") are not // allowed, either. + // URL *string `json:"url,omitempty"` - // `service` is a reference to the service for this webhook. Either + // service is a reference to the service for this webhook. Either // `service` or `url` must be specified. // // If the webhook is running within the cluster, then you should use `service`. + // Service *ServiceReferenceApplyConfiguration `json:"service,omitempty"` - // `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. + // caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. // If unspecified, system trust roots on the apiserver are used. CABundle []byte `json:"caBundle,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/api/v1/condition.go b/pkg/kubeclients/applyconfiguration/api/v1/condition.go index 591fae0ef..00ac423a6 100644 --- a/pkg/kubeclients/applyconfiguration/api/v1/condition.go +++ b/pkg/kubeclients/applyconfiguration/api/v1/condition.go @@ -12,23 +12,29 @@ import ( // Condition contains details for one aspect of the current state of this API Resource. type ConditionApplyConfiguration struct { // Type of condition in CamelCase or in foo.example.com/CamelCase. + // Type *string `json:"type,omitempty"` // Status of the condition, one of True, False, Unknown. + // Status *metav1.ConditionStatus `json:"status,omitempty"` // LastTransitionTime is the last time the condition transitioned from one status to another. // This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. + // LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` // ObservedGeneration represents the .metadata.generation that the condition was set based upon. // For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, // the condition is out of date with respect to the current state of the instance. + // ObservedGeneration *int64 `json:"observedGeneration,omitempty"` // Reason contains a programmatic identifier indicating the reason for the condition's last transition. // Producers of specific condition types may define expected values and meanings for this field, // and whether the values are considered a guaranteed API. // The value should be a CamelCase string. + // Reason *string `json:"reason,omitempty"` // Message is a human readable message indicating details about the transition. // This may be an empty string. + // Message *string `json:"message,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/apiextensions/v1/customresourcedefinitionversion.go b/pkg/kubeclients/applyconfiguration/apiextensions/v1/customresourcedefinitionversion.go index 65a5c8425..08bf19696 100644 --- a/pkg/kubeclients/applyconfiguration/apiextensions/v1/customresourcedefinitionversion.go +++ b/pkg/kubeclients/applyconfiguration/apiextensions/v1/customresourcedefinitionversion.go @@ -35,6 +35,7 @@ type CustomResourceDefinitionVersionApplyConfiguration struct { // selectableFields specifies paths to fields that may be used as field selectors. // A maximum of 8 selectable fields are allowed. // See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors + // SelectableFields []SelectableFieldApplyConfiguration `json:"selectableFields,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/apiextensions/v1/jsonschemaprops.go b/pkg/kubeclients/applyconfiguration/apiextensions/v1/jsonschemaprops.go index 2f92b60ba..e41329d32 100644 --- a/pkg/kubeclients/applyconfiguration/apiextensions/v1/jsonschemaprops.go +++ b/pkg/kubeclients/applyconfiguration/apiextensions/v1/jsonschemaprops.go @@ -115,6 +115,7 @@ type JSONSchemaPropsApplyConfiguration struct { // // The properties specified must either be required or have a default value, // to ensure those properties are present for all list items. + // XListMapKeys []string `json:"x-kubernetes-list-map-keys,omitempty"` // x-kubernetes-list-type annotates an array to further describe its topology. // This extension must only be used on lists and may have 3 possible values: diff --git a/pkg/kubeclients/applyconfiguration/apiextensions/v1/validationrule.go b/pkg/kubeclients/applyconfiguration/apiextensions/v1/validationrule.go index 52da1ae34..ac3f22abd 100644 --- a/pkg/kubeclients/applyconfiguration/apiextensions/v1/validationrule.go +++ b/pkg/kubeclients/applyconfiguration/apiextensions/v1/validationrule.go @@ -122,6 +122,7 @@ type ValidationRuleApplyConfiguration struct { // https://pkg.go.dev/github.com/google/cel-go/cel#OptionalTypes // // May not be set unless `oldSelf` is used in `rule`. + // OptionalOldSelf *bool `json:"optionalOldSelf,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/apiextensions/v1/webhookclientconfig.go b/pkg/kubeclients/applyconfiguration/apiextensions/v1/webhookclientconfig.go index e1ee5da48..84fa3c6e9 100644 --- a/pkg/kubeclients/applyconfiguration/apiextensions/v1/webhookclientconfig.go +++ b/pkg/kubeclients/applyconfiguration/apiextensions/v1/webhookclientconfig.go @@ -32,11 +32,13 @@ type WebhookClientConfigApplyConfiguration struct { // Attempting to use a user or basic auth e.g. "user:password@" is not // allowed. Fragments ("#...") and query parameters ("?...") are not // allowed, either. + // URL *string `json:"url,omitempty"` // service is a reference to the service for this webhook. Either // service or url must be specified. // // If the webhook is running within the cluster, then you should use `service`. + // Service *ServiceReferenceApplyConfiguration `json:"service,omitempty"` // caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. // If unspecified, system trust roots on the apiserver are used. diff --git a/pkg/kubeclients/applyconfiguration/apiserverinternal/v1alpha1/serverstorageversion.go b/pkg/kubeclients/applyconfiguration/apiserverinternal/v1alpha1/serverstorageversion.go index 0a4d26ed3..b85e1c2f2 100644 --- a/pkg/kubeclients/applyconfiguration/apiserverinternal/v1alpha1/serverstorageversion.go +++ b/pkg/kubeclients/applyconfiguration/apiserverinternal/v1alpha1/serverstorageversion.go @@ -8,15 +8,16 @@ package v1alpha1 // An API server instance reports the version it can decode and the version it // encodes objects to when persisting objects in the backend. type ServerStorageVersionApplyConfiguration struct { - // The ID of the reporting API server. + // apiServerID is the ID of the reporting API server. APIServerID *string `json:"apiServerID,omitempty"` - // The API server encodes the object to this version when persisting it in + // encodingVersion the API server encodes the object to when persisting it in // the backend (e.g., etcd). EncodingVersion *string `json:"encodingVersion,omitempty"` + // decodableVersions are the encoding versions the API server can handle to decode. // The API server can decode objects encoded in these versions. // The encodingVersion must be included in the decodableVersions. DecodableVersions []string `json:"decodableVersions,omitempty"` - // The API server can serve these versions. + // servedVersions lists all versions the API server can serve. // DecodableVersions must include all ServedVersions. ServedVersions []string `json:"servedVersions,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/apiserverinternal/v1alpha1/storageversion.go b/pkg/kubeclients/applyconfiguration/apiserverinternal/v1alpha1/storageversion.go index 34d962903..ec4b22359 100644 --- a/pkg/kubeclients/applyconfiguration/apiserverinternal/v1alpha1/storageversion.go +++ b/pkg/kubeclients/applyconfiguration/apiserverinternal/v1alpha1/storageversion.go @@ -15,11 +15,12 @@ import ( // Storage version of a specific resource. type StorageVersionApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` + // metadata is the standard object metadata. // The name is .. *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` - // Spec is an empty spec. It is here to comply with Kubernetes API style. + // spec is an empty spec. It is here to comply with Kubernetes API style. Spec *apiserverinternalv1alpha1.StorageVersionSpec `json:"spec,omitempty"` - // API server instances report the version they can decode and the version they + // status on the version the API server instance can decode from and // encode objects to when persisting objects in the backend. Status *StorageVersionStatusApplyConfiguration `json:"status,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/apiserverinternal/v1alpha1/storageversioncondition.go b/pkg/kubeclients/applyconfiguration/apiserverinternal/v1alpha1/storageversioncondition.go index 0572b6ad3..fcd6179ea 100644 --- a/pkg/kubeclients/applyconfiguration/apiserverinternal/v1alpha1/storageversioncondition.go +++ b/pkg/kubeclients/applyconfiguration/apiserverinternal/v1alpha1/storageversioncondition.go @@ -12,17 +12,17 @@ import ( // // Describes the state of the storageVersion at a certain point. type StorageVersionConditionApplyConfiguration struct { - // Type of the condition. + // type of the condition. Type *apiserverinternalv1alpha1.StorageVersionConditionType `json:"type,omitempty"` - // Status of the condition, one of True, False, Unknown. + // status of the condition, one of True, False, Unknown. Status *apiserverinternalv1alpha1.ConditionStatus `json:"status,omitempty"` - // If set, this represents the .metadata.generation that the condition was set based upon. + // observedGeneration represents the .metadata.generation that the condition was set based upon, if field is set. ObservedGeneration *int64 `json:"observedGeneration,omitempty"` - // Last time the condition transitioned from one status to another. + // lastTransitionTime is the last time the condition transitioned from one status to another. LastTransitionTime *v1.Time `json:"lastTransitionTime,omitempty"` - // The reason for the condition's last transition. + // reason for the condition's last transition. Reason *string `json:"reason,omitempty"` - // A human readable message indicating details about the transition. + // message is a human readable string indicating details about the transition. Message *string `json:"message,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/apiserverinternal/v1alpha1/storageversionstatus.go b/pkg/kubeclients/applyconfiguration/apiserverinternal/v1alpha1/storageversionstatus.go index 89a4e40b6..aa7a8a3e6 100644 --- a/pkg/kubeclients/applyconfiguration/apiserverinternal/v1alpha1/storageversionstatus.go +++ b/pkg/kubeclients/applyconfiguration/apiserverinternal/v1alpha1/storageversionstatus.go @@ -8,14 +8,15 @@ package v1alpha1 // API server instances report the versions they can decode and the version they // encode objects to when persisting objects in the backend. type StorageVersionStatusApplyConfiguration struct { - // The reported versions per API server instance. + // storageVersions lists the reported versions per API server instance. StorageVersions []ServerStorageVersionApplyConfiguration `json:"storageVersions,omitempty"` - // If all API server instances agree on the same encoding storage version, - // then this field is set to that version. Otherwise this field is left empty. + // commonEncodingVersion is set to an encoding storage version if all API server + // instances share that same version. If they don't share one storage version, this + // field is left empty. // API servers should finish updating its storageVersionStatus entry before // serving write operations, so that this field will be in sync with the reality. CommonEncodingVersion *string `json:"commonEncodingVersion,omitempty"` - // The latest available observations of the storageVersion's state. + // conditions lists the latest available observations of the storageVersion's state. Conditions []StorageVersionConditionApplyConfiguration `json:"conditions,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/apps/v1/rollingupdatestatefulsetstrategy.go b/pkg/kubeclients/applyconfiguration/apps/v1/rollingupdatestatefulsetstrategy.go index 9321cb0c4..6e77b4073 100644 --- a/pkg/kubeclients/applyconfiguration/apps/v1/rollingupdatestatefulsetstrategy.go +++ b/pkg/kubeclients/applyconfiguration/apps/v1/rollingupdatestatefulsetstrategy.go @@ -23,6 +23,7 @@ type RollingUpdateStatefulSetStrategyApplyConfiguration struct { // Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it // will be counted towards MaxUnavailable. // This setting might not be effective for the OrderedReady podManagementPolicy. That policy ensures pods are created and become ready one at a time. + // MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/autoscaling/v2/hpascalingrules.go b/pkg/kubeclients/applyconfiguration/autoscaling/v2/hpascalingrules.go index 61fbbbabf..531a4fa69 100644 --- a/pkg/kubeclients/applyconfiguration/autoscaling/v2/hpascalingrules.go +++ b/pkg/kubeclients/applyconfiguration/autoscaling/v2/hpascalingrules.go @@ -49,6 +49,7 @@ type HPAScalingRulesApplyConfiguration struct { // // This is an beta field and requires the HPAConfigurableTolerance feature // gate to be enabled. + // Tolerance *resource.Quantity `json:"tolerance,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/batch/v1/jobspec.go b/pkg/kubeclients/applyconfiguration/batch/v1/jobspec.go index c92f2135d..d97398c01 100644 --- a/pkg/kubeclients/applyconfiguration/batch/v1/jobspec.go +++ b/pkg/kubeclients/applyconfiguration/batch/v1/jobspec.go @@ -39,12 +39,14 @@ type JobSpecApplyConfiguration struct { // represented by the jobs's .status.failed field, is incremented and it is // checked against the backoffLimit. This field cannot be used in combination // with restartPolicy=OnFailure. + // PodFailurePolicy *PodFailurePolicyApplyConfiguration `json:"podFailurePolicy,omitempty"` // successPolicy specifies the policy when the Job can be declared as succeeded. // If empty, the default behavior applies - the Job is declared as succeeded // only when the number of succeeded pods equals to the completions. // When the field is specified, it must be immutable and works only for the Indexed Jobs. // Once the Job meets the SuccessPolicy, the lingering pods are terminated. + // SuccessPolicy *SuccessPolicyApplyConfiguration `json:"successPolicy,omitempty"` // Specifies the number of retries before marking this job failed. // Defaults to 6, unless backoffLimitPerIndex (only Indexed Job) is specified. @@ -123,6 +125,7 @@ type JobSpecApplyConfiguration struct { // with this Job. Users must design their workload to gracefully handle this. // Suspending a Job will reset the StartTime field of the Job, effectively // resetting the ActiveDeadlineSeconds timer too. Defaults to false. + // Suspend *bool `json:"suspend,omitempty"` // podReplacementPolicy specifies when to create replacement Pods. // Possible values are: diff --git a/pkg/kubeclients/applyconfiguration/batch/v1/jobstatus.go b/pkg/kubeclients/applyconfiguration/batch/v1/jobstatus.go index 6876a58bf..9dd23e15d 100644 --- a/pkg/kubeclients/applyconfiguration/batch/v1/jobstatus.go +++ b/pkg/kubeclients/applyconfiguration/batch/v1/jobstatus.go @@ -32,6 +32,7 @@ type JobStatusApplyConfiguration struct { // // Once set, the field can only be removed when the job is suspended. // The field cannot be modified while the job is unsuspended or finished. + // StartTime *metav1.Time `json:"startTime,omitempty"` // Represents time when the job was completed. It is not guaranteed to // be set in happens-before order across separate operations. @@ -74,6 +75,7 @@ type JobStatusApplyConfiguration struct { // For example, if the failed indexes are 1, 3, 4, 5 and 7, they are // represented as "1,3-5,7". // The set of failed indexes cannot overlap with the set of completed indexes. + // FailedIndexes *string `json:"failedIndexes,omitempty"` // uncountedTerminatedPods holds the UIDs of Pods that have terminated but // the job controller hasn't yet accounted for in the status counters. diff --git a/pkg/kubeclients/applyconfiguration/batch/v1/successpolicyrule.go b/pkg/kubeclients/applyconfiguration/batch/v1/successpolicyrule.go index d9e3fc5e6..eae9f81a1 100644 --- a/pkg/kubeclients/applyconfiguration/batch/v1/successpolicyrule.go +++ b/pkg/kubeclients/applyconfiguration/batch/v1/successpolicyrule.go @@ -20,6 +20,7 @@ type SuccessPolicyRuleApplyConfiguration struct { // represented as "1,3-5,7". // When this field is null, this field doesn't default to any value // and is never evaluated at any time. + // SucceededIndexes *string `json:"succeededIndexes,omitempty"` // succeededCount specifies the minimal required size of the actual set of the succeeded indexes // for the Job. When succeededCount is used along with succeededIndexes, the check is @@ -30,6 +31,7 @@ type SuccessPolicyRuleApplyConfiguration struct { // When this field is null, this doesn't default to any value and // is never evaluated at any time. // When specified it needs to be a positive integer. + // SucceededCount *int32 `json:"succeededCount,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/certificates/v1/certificatesigningrequestspec.go b/pkg/kubeclients/applyconfiguration/certificates/v1/certificatesigningrequestspec.go index c9d5eb768..dd7b3e775 100644 --- a/pkg/kubeclients/applyconfiguration/certificates/v1/certificatesigningrequestspec.go +++ b/pkg/kubeclients/applyconfiguration/certificates/v1/certificatesigningrequestspec.go @@ -54,6 +54,7 @@ type CertificateSigningRequestSpecApplyConfiguration struct { // 3. Signer whose configured minimum is longer than the requested duration // // The minimum valid value for expirationSeconds is 600, i.e. 10 minutes. + // ExpirationSeconds *int32 `json:"expirationSeconds,omitempty"` // usages specifies a set of key usages requested in the issued certificate. // diff --git a/pkg/kubeclients/applyconfiguration/certificates/v1/certificatesigningrequeststatus.go b/pkg/kubeclients/applyconfiguration/certificates/v1/certificatesigningrequeststatus.go index 1bdfd7d81..44dd84c2d 100644 --- a/pkg/kubeclients/applyconfiguration/certificates/v1/certificatesigningrequeststatus.go +++ b/pkg/kubeclients/applyconfiguration/certificates/v1/certificatesigningrequeststatus.go @@ -36,6 +36,7 @@ type CertificateSigningRequestStatusApplyConfiguration struct { // ... // -----END CERTIFICATE----- // ) + // Certificate []byte `json:"certificate,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/core/v1/envvarsource.go b/pkg/kubeclients/applyconfiguration/core/v1/envvarsource.go index 45315e25c..e1410fc6b 100644 --- a/pkg/kubeclients/applyconfiguration/core/v1/envvarsource.go +++ b/pkg/kubeclients/applyconfiguration/core/v1/envvarsource.go @@ -19,6 +19,7 @@ type EnvVarSourceApplyConfiguration struct { SecretKeyRef *SecretKeySelectorApplyConfiguration `json:"secretKeyRef,omitempty"` // FileKeyRef selects a key of the env file. // Requires the EnvFiles feature gate to be enabled. + // FileKeyRef *FileKeySelectorApplyConfiguration `json:"fileKeyRef,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/core/v1/imagevolumestatus.go b/pkg/kubeclients/applyconfiguration/core/v1/imagevolumestatus.go new file mode 100644 index 000000000..09d54a39a --- /dev/null +++ b/pkg/kubeclients/applyconfiguration/core/v1/imagevolumestatus.go @@ -0,0 +1,28 @@ +// Code generated by api. DO NOT EDIT. + +package v1 + +// ImageVolumeStatusApplyConfiguration represents a declarative configuration of the ImageVolumeStatus type for use +// with apply. +// +// ImageVolumeStatus represents the image-based volume status. +type ImageVolumeStatusApplyConfiguration struct { + // ImageRef is the digest of the image used for this volume. + // It should have a value that's similar to the pod's status.containerStatuses[i].imageID. + // The ImageRef length should not exceed 256 characters. + ImageRef *string `json:"imageRef,omitempty"` +} + +// ImageVolumeStatusApplyConfiguration constructs a declarative configuration of the ImageVolumeStatus type for use with +// apply. +func ImageVolumeStatus() *ImageVolumeStatusApplyConfiguration { + return &ImageVolumeStatusApplyConfiguration{} +} + +// WithImageRef sets the ImageRef field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the ImageRef field is set to the value of the last call. +func (b *ImageVolumeStatusApplyConfiguration) WithImageRef(value string) *ImageVolumeStatusApplyConfiguration { + b.ImageRef = &value + return b +} diff --git a/pkg/kubeclients/applyconfiguration/core/v1/nodeallocatableresourceclaimstatus.go b/pkg/kubeclients/applyconfiguration/core/v1/nodeallocatableresourceclaimstatus.go new file mode 100644 index 000000000..62e10ad8a --- /dev/null +++ b/pkg/kubeclients/applyconfiguration/core/v1/nodeallocatableresourceclaimstatus.go @@ -0,0 +1,59 @@ +// Code generated by api. DO NOT EDIT. + +package v1 + +import ( + corev1 "k8s.io/api/core/v1" + resource "k8s.io/apimachinery/pkg/api/resource" +) + +// NodeAllocatableResourceClaimStatusApplyConfiguration represents a declarative configuration of the NodeAllocatableResourceClaimStatus type for use +// with apply. +// +// NodeAllocatableResourceClaimStatus describes the status of node allocatable resources allocated via DRA. +type NodeAllocatableResourceClaimStatusApplyConfiguration struct { + // ResourceClaimName is the resource claim referenced by the pod that resulted in this node allocatable resource allocation. + ResourceClaimName *string `json:"resourceClaimName,omitempty"` + // Containers lists the names of all containers in this pod that reference the claim. + Containers []string `json:"containers,omitempty"` + // Resources is a map of the node-allocatable resource name to the aggregate quantity allocated to the claim. + Resources map[corev1.ResourceName]resource.Quantity `json:"resources,omitempty"` +} + +// NodeAllocatableResourceClaimStatusApplyConfiguration constructs a declarative configuration of the NodeAllocatableResourceClaimStatus type for use with +// apply. +func NodeAllocatableResourceClaimStatus() *NodeAllocatableResourceClaimStatusApplyConfiguration { + return &NodeAllocatableResourceClaimStatusApplyConfiguration{} +} + +// WithResourceClaimName sets the ResourceClaimName field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the ResourceClaimName field is set to the value of the last call. +func (b *NodeAllocatableResourceClaimStatusApplyConfiguration) WithResourceClaimName(value string) *NodeAllocatableResourceClaimStatusApplyConfiguration { + b.ResourceClaimName = &value + return b +} + +// WithContainers adds the given value to the Containers field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the Containers field. +func (b *NodeAllocatableResourceClaimStatusApplyConfiguration) WithContainers(values ...string) *NodeAllocatableResourceClaimStatusApplyConfiguration { + for i := range values { + b.Containers = append(b.Containers, values[i]) + } + return b +} + +// WithResources puts the entries into the Resources field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, the entries provided by each call will be put on the Resources field, +// overwriting an existing map entries in Resources field with the same key. +func (b *NodeAllocatableResourceClaimStatusApplyConfiguration) WithResources(entries map[corev1.ResourceName]resource.Quantity) *NodeAllocatableResourceClaimStatusApplyConfiguration { + if b.Resources == nil && len(entries) > 0 { + b.Resources = make(map[corev1.ResourceName]resource.Quantity, len(entries)) + } + for k, v := range entries { + b.Resources[k] = v + } + return b +} diff --git a/pkg/kubeclients/applyconfiguration/core/v1/persistentvolumesource.go b/pkg/kubeclients/applyconfiguration/core/v1/persistentvolumesource.go index 8e2329058..84f62f3ca 100644 --- a/pkg/kubeclients/applyconfiguration/core/v1/persistentvolumesource.go +++ b/pkg/kubeclients/applyconfiguration/core/v1/persistentvolumesource.go @@ -78,8 +78,7 @@ type PersistentVolumeSourceApplyConfiguration struct { PhotonPersistentDisk *PhotonPersistentDiskVolumeSourceApplyConfiguration `json:"photonPersistentDisk,omitempty"` // portworxVolume represents a portworx volume attached and mounted on kubelets host machine. // Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type - // are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate - // is on. + // are redirected to the pxd.portworx.com CSI driver. PortworxVolume *PortworxVolumeSourceApplyConfiguration `json:"portworxVolume,omitempty"` // scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. // Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. diff --git a/pkg/kubeclients/applyconfiguration/core/v1/podaffinityterm.go b/pkg/kubeclients/applyconfiguration/core/v1/podaffinityterm.go index 009342d79..4f53e86d9 100644 --- a/pkg/kubeclients/applyconfiguration/core/v1/podaffinityterm.go +++ b/pkg/kubeclients/applyconfiguration/core/v1/podaffinityterm.go @@ -44,6 +44,7 @@ type PodAffinityTermApplyConfiguration struct { // pod labels will be ignored. The default value is empty. // The same key is forbidden to exist in both matchLabelKeys and labelSelector. // Also, matchLabelKeys cannot be set when labelSelector isn't set. + // MatchLabelKeys []string `json:"matchLabelKeys,omitempty"` // MismatchLabelKeys is a set of pod label keys to select which pods will // be taken into consideration. The keys are used to lookup values from the @@ -53,6 +54,7 @@ type PodAffinityTermApplyConfiguration struct { // pod labels will be ignored. The default value is empty. // The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. // Also, mismatchLabelKeys cannot be set when labelSelector isn't set. + // MismatchLabelKeys []string `json:"mismatchLabelKeys,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/core/v1/podcertificateprojection.go b/pkg/kubeclients/applyconfiguration/core/v1/podcertificateprojection.go index a182cd210..69b317fca 100644 --- a/pkg/kubeclients/applyconfiguration/core/v1/podcertificateprojection.go +++ b/pkg/kubeclients/applyconfiguration/core/v1/podcertificateprojection.go @@ -9,11 +9,13 @@ package v1 // pod filesystem. type PodCertificateProjectionApplyConfiguration struct { // Kubelet's generated CSRs will be addressed to this signer. + // SignerName *string `json:"signerName,omitempty"` // The type of keypair Kubelet will generate for the pod. // // Valid values are "RSA3072", "RSA4096", "ECDSAP256", "ECDSAP384", // "ECDSAP521", and "ED25519". + // KeyType *string `json:"keyType,omitempty"` // maxExpirationSeconds is the maximum lifetime permitted for the // certificate. @@ -30,6 +32,7 @@ type PodCertificateProjectionApplyConfiguration struct { // seconds (1 hour). This constraint is enforced by kube-apiserver. // `kubernetes.io` signers will never issue certificates with a lifetime // longer than 24 hours. + // MaxExpirationSeconds *int32 `json:"maxExpirationSeconds,omitempty"` // Write the credential bundle at this path in the projected volume. // @@ -44,6 +47,7 @@ type PodCertificateProjectionApplyConfiguration struct { // atomic read that retrieves a consistent key and certificate chain. If you // project them to separate files, your application code will need to // additionally check that the leaf certificate was issued to the key. + // CredentialBundlePath *string `json:"credentialBundlePath,omitempty"` // Write the key at this path in the projected volume. // @@ -51,6 +55,7 @@ type PodCertificateProjectionApplyConfiguration struct { // and certificateChainPath, your application needs to check that the key // and leaf certificate are consistent, because it is possible to read the // files mid-rotation. + // KeyPath *string `json:"keyPath,omitempty"` // Write the certificate chain at this path in the projected volume. // @@ -58,6 +63,7 @@ type PodCertificateProjectionApplyConfiguration struct { // and certificateChainPath, your application needs to check that the key // and leaf certificate are consistent, because it is possible to read the // files mid-rotation. + // CertificateChainPath *string `json:"certificateChainPath,omitempty"` // userAnnotations allow pod authors to pass additional information to // the signer implementation. Kubernetes does not restrict or validate this diff --git a/pkg/kubeclients/applyconfiguration/core/v1/podcondition.go b/pkg/kubeclients/applyconfiguration/core/v1/podcondition.go index 386b969bc..20a563968 100644 --- a/pkg/kubeclients/applyconfiguration/core/v1/podcondition.go +++ b/pkg/kubeclients/applyconfiguration/core/v1/podcondition.go @@ -16,7 +16,6 @@ type PodConditionApplyConfiguration struct { // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions Type *corev1.PodConditionType `json:"type,omitempty"` // If set, this represents the .metadata.generation that the pod condition was set based upon. - // The PodObservedGenerationTracking feature gate must be enabled to use this field. ObservedGeneration *int64 `json:"observedGeneration,omitempty"` // Status is the status of the condition. // Can be True, False, Unknown. diff --git a/pkg/kubeclients/applyconfiguration/core/v1/podresourceclaim.go b/pkg/kubeclients/applyconfiguration/core/v1/podresourceclaim.go index 3e22eeeaf..fe678b5a1 100644 --- a/pkg/kubeclients/applyconfiguration/core/v1/podresourceclaim.go +++ b/pkg/kubeclients/applyconfiguration/core/v1/podresourceclaim.go @@ -11,6 +11,14 @@ package v1 // // It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. // Containers that need access to the ResourceClaim reference it with this name. +// +// When the DRAWorkloadResourceClaims feature gate is enabled and this Pod +// belongs to a PodGroup, a PodResourceClaim is matched to a +// PodGroupResourceClaim if all of their fields are equal (Name, +// ResourceClaimName, and ResourceClaimTemplateName). A matched claim references +// a single ResourceClaim shared across all Pods in the PodGroup, reserved for +// the PodGroup in ResourceClaimStatus.ReservedFor rather than for individual +// Pods. type PodResourceClaimApplyConfiguration struct { // Name uniquely identifies this resource claim inside the pod. // This must be a DNS_LABEL. @@ -30,6 +38,16 @@ type PodResourceClaimApplyConfiguration struct { // generated component, will be used to form a unique name for the // ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses. // + // When the DRAWorkloadResourceClaims feature gate is enabled and the pod + // belongs to a PodGroup that defines a PodGroupResourceClaim with the same + // Name and ResourceClaimTemplateName, this PodResourceClaim resolves to the + // ResourceClaim generated for the PodGroup. All pods in the group that + // define an equivalent PodResourceClaim matching the + // PodGroupResourceClaim's Name and ResourceClaimTemplateName share the same + // generated ResourceClaim. ResourceClaims generated for a PodGroup are + // owned by the PodGroup and their lifecycles are tied to the PodGroup + // instead of any individual pod. + // // This field is immutable and no changes will be made to the // corresponding ResourceClaim by the control plane after creating the // ResourceClaim. diff --git a/pkg/kubeclients/applyconfiguration/core/v1/podresourceclaimstatus.go b/pkg/kubeclients/applyconfiguration/core/v1/podresourceclaimstatus.go index 612d9abe8..9eca7693d 100644 --- a/pkg/kubeclients/applyconfiguration/core/v1/podresourceclaimstatus.go +++ b/pkg/kubeclients/applyconfiguration/core/v1/podresourceclaimstatus.go @@ -14,9 +14,17 @@ type PodResourceClaimStatusApplyConfiguration struct { // which implies that the string must be a DNS_LABEL. Name *string `json:"name,omitempty"` // ResourceClaimName is the name of the ResourceClaim that was - // generated for the Pod in the namespace of the Pod. If this is - // unset, then generating a ResourceClaim was not necessary. The - // pod.spec.resourceClaims entry can be ignored in this case. + // generated for the Pod in the namespace of the Pod. + // + // When the DRAWorkloadResourceClaims feature is enabled and the + // corresponding PodResourceClaim matches a PodGroupResourceClaim + // made by the Pod's PodGroup, then this is the name of the + // ResourceClaim generated and reserved for the PodGroup. + // + // If this is unset, then generating a ResourceClaim was not + // necessary. The pod.spec.resourceClaims entry can be ignored in + // this case. + // ResourceClaimName *string `json:"resourceClaimName,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/core/v1/podschedulinggroup.go b/pkg/kubeclients/applyconfiguration/core/v1/podschedulinggroup.go new file mode 100644 index 000000000..14c69a47e --- /dev/null +++ b/pkg/kubeclients/applyconfiguration/core/v1/podschedulinggroup.go @@ -0,0 +1,31 @@ +// Code generated by api. DO NOT EDIT. + +package v1 + +// PodSchedulingGroupApplyConfiguration represents a declarative configuration of the PodSchedulingGroup type for use +// with apply. +// +// PodSchedulingGroup identifies the runtime scheduling group instance that a Pod belongs to. +// The scheduler uses this information to apply workload-aware scheduling semantics. +// Exactly one field must be specified. +type PodSchedulingGroupApplyConfiguration struct { + // PodGroupName specifies the name of the standalone PodGroup object + // that represents the runtime instance of this group. + // Must be a DNS subdomain. + // + PodGroupName *string `json:"podGroupName,omitempty"` +} + +// PodSchedulingGroupApplyConfiguration constructs a declarative configuration of the PodSchedulingGroup type for use with +// apply. +func PodSchedulingGroup() *PodSchedulingGroupApplyConfiguration { + return &PodSchedulingGroupApplyConfiguration{} +} + +// WithPodGroupName sets the PodGroupName field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the PodGroupName field is set to the value of the last call. +func (b *PodSchedulingGroupApplyConfiguration) WithPodGroupName(value string) *PodSchedulingGroupApplyConfiguration { + b.PodGroupName = &value + return b +} diff --git a/pkg/kubeclients/applyconfiguration/core/v1/podspec.go b/pkg/kubeclients/applyconfiguration/core/v1/podspec.go index 059f84cd9..c757a1621 100644 --- a/pkg/kubeclients/applyconfiguration/core/v1/podspec.go +++ b/pkg/kubeclients/applyconfiguration/core/v1/podspec.go @@ -217,13 +217,13 @@ type PodSpecApplyConfiguration struct { // When set to false, a new userns is created for the pod. Setting false is useful for // mitigating container breakout vulnerabilities even allowing users to run their // containers as root without actually having root privileges on the host. - // This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature. HostUsers *bool `json:"hostUsers,omitempty"` // SchedulingGates is an opaque list of values that if specified will block scheduling the pod. // If schedulingGates is not empty, the pod will stay in the SchedulingGated state and the // scheduler will not attempt to schedule the pod. // // SchedulingGates can only be set at pod creation time, and be removed only afterwards. + // SchedulingGates []PodSchedulingGateApplyConfiguration `json:"schedulingGates,omitempty"` // ResourceClaims defines which ResourceClaims must be allocated // and reserved before the Pod is allowed to start. The resources @@ -234,6 +234,7 @@ type PodSpecApplyConfiguration struct { // DynamicResourceAllocation feature gate is enabled. // // This field is immutable. + // ResourceClaims []PodResourceClaimApplyConfiguration `json:"resourceClaims,omitempty"` // Resources is the total amount of CPU and Memory resources required by all // containers in the pod. It supports specifying Requests and Limits for @@ -245,6 +246,7 @@ type PodSpecApplyConfiguration struct { // // This is an alpha field and requires enabling the PodLevelResources feature // gate. + // Resources *ResourceRequirementsApplyConfiguration `json:"resources,omitempty"` // HostnameOverride specifies an explicit override for the pod's hostname as perceived by the pod. // This field only specifies the pod's hostname and does not affect its DNS records. @@ -256,15 +258,22 @@ type PodSpecApplyConfiguration struct { // // This field must be a valid DNS subdomain as defined in RFC 1123 and contain at most 64 characters. // Requires the HostnameOverride feature gate to be enabled. + // HostnameOverride *string `json:"hostnameOverride,omitempty"` - // WorkloadRef provides a reference to the Workload object that this Pod belongs to. - // This field is used by the scheduler to identify the PodGroup and apply the - // correct group scheduling policies. The Workload object referenced - // by this field may not exist at the time the Pod is created. - // This field is immutable, but a Workload object with the same name - // may be recreated with different policies. Doing this during pod scheduling + // SchedulingGroup provides a reference to the immediate scheduling runtime + // grouping object that this Pod belongs to. + // This field is used by the scheduler to identify the group and apply the + // correct group scheduling policies. The association with a group also + // impacts other lifecycle aspects of a Pod that are relevant in a wider context + // of scheduling like preemption, resource attachment, etc. If not specified, + // the Pod is treated as a single unit in all of these aspects. + // The group object referenced by this field may not exist at the time the + // Pod is created. + // This field is immutable, but a group object with the same name may be + // recreated with different policies. Doing this during pod scheduling // may result in the placement not conforming to the expected policies. - WorkloadRef *WorkloadReferenceApplyConfiguration `json:"workloadRef,omitempty"` + // + SchedulingGroup *PodSchedulingGroupApplyConfiguration `json:"schedulingGroup,omitempty"` } // PodSpecApplyConfiguration constructs a declarative configuration of the PodSpec type for use with @@ -662,10 +671,10 @@ func (b *PodSpecApplyConfiguration) WithHostnameOverride(value string) *PodSpecA return b } -// WithWorkloadRef sets the WorkloadRef field in the declarative configuration to the given value +// WithSchedulingGroup sets the SchedulingGroup field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. -// If called multiple times, the WorkloadRef field is set to the value of the last call. -func (b *PodSpecApplyConfiguration) WithWorkloadRef(value *WorkloadReferenceApplyConfiguration) *PodSpecApplyConfiguration { - b.WorkloadRef = value +// If called multiple times, the SchedulingGroup field is set to the value of the last call. +func (b *PodSpecApplyConfiguration) WithSchedulingGroup(value *PodSchedulingGroupApplyConfiguration) *PodSpecApplyConfiguration { + b.SchedulingGroup = value return b } diff --git a/pkg/kubeclients/applyconfiguration/core/v1/podstatus.go b/pkg/kubeclients/applyconfiguration/core/v1/podstatus.go index be46095fd..6ac8f0d3d 100644 --- a/pkg/kubeclients/applyconfiguration/core/v1/podstatus.go +++ b/pkg/kubeclients/applyconfiguration/core/v1/podstatus.go @@ -123,6 +123,12 @@ type PodStatusApplyConfiguration struct { // applied at the pod level if pod-level requests or limits are set in // PodSpec.Resources Resources *ResourceRequirementsApplyConfiguration `json:"resources,omitempty"` + // NodeAllocatableResourceClaimStatuses contains the status of node-allocatable resources + // that were allocated for this pod through DRA claims. This includes resources currently + // reported in v1.Node `status.allocatable` that are not extended resources + // (see https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#extended-resources). + // Examples include "cpu", "memory", "ephemeral-storage", and hugepages. + NodeAllocatableResourceClaimStatuses []NodeAllocatableResourceClaimStatusApplyConfiguration `json:"nodeAllocatableResourceClaimStatuses,omitempty"` } // PodStatusApplyConfiguration constructs a declarative configuration of the PodStatus type for use with @@ -325,3 +331,16 @@ func (b *PodStatusApplyConfiguration) WithResources(value *ResourceRequirementsA b.Resources = value return b } + +// WithNodeAllocatableResourceClaimStatuses adds the given value to the NodeAllocatableResourceClaimStatuses field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the NodeAllocatableResourceClaimStatuses field. +func (b *PodStatusApplyConfiguration) WithNodeAllocatableResourceClaimStatuses(values ...*NodeAllocatableResourceClaimStatusApplyConfiguration) *PodStatusApplyConfiguration { + for i := range values { + if values[i] == nil { + panic("nil value passed to WithNodeAllocatableResourceClaimStatuses") + } + b.NodeAllocatableResourceClaimStatuses = append(b.NodeAllocatableResourceClaimStatuses, *values[i]) + } + return b +} diff --git a/pkg/kubeclients/applyconfiguration/core/v1/resourceclaim.go b/pkg/kubeclients/applyconfiguration/core/v1/resourceclaim.go index 6ecf93883..d2a5fe76c 100644 --- a/pkg/kubeclients/applyconfiguration/core/v1/resourceclaim.go +++ b/pkg/kubeclients/applyconfiguration/core/v1/resourceclaim.go @@ -14,6 +14,7 @@ type ResourceClaimApplyConfiguration struct { // Request is the name chosen for a request in the referenced claim. // If empty, everything from the claim is made available, otherwise // only the result of this request. + // Request *string `json:"request,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/core/v1/resourcehealth.go b/pkg/kubeclients/applyconfiguration/core/v1/resourcehealth.go index 35aa15710..38f35acbb 100644 --- a/pkg/kubeclients/applyconfiguration/core/v1/resourcehealth.go +++ b/pkg/kubeclients/applyconfiguration/core/v1/resourcehealth.go @@ -25,6 +25,9 @@ type ResourceHealthApplyConfiguration struct { // // In future we may want to introduce the PermanentlyUnhealthy Status. Health *corev1.ResourceHealthStatus `json:"health,omitempty"` + // Message provides human-readable context for Health (e.g. "ECC error count exceeded threshold"). + // This field is populated by the kubelet when ResourceHealthStatusMessage is enabled if the DRA plugin returns a message, and is null otherwise. + Message *string `json:"message,omitempty"` } // ResourceHealthApplyConfiguration constructs a declarative configuration of the ResourceHealth type for use with @@ -48,3 +51,11 @@ func (b *ResourceHealthApplyConfiguration) WithHealth(value corev1.ResourceHealt b.Health = &value return b } + +// WithMessage sets the Message field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Message field is set to the value of the last call. +func (b *ResourceHealthApplyConfiguration) WithMessage(value string) *ResourceHealthApplyConfiguration { + b.Message = &value + return b +} diff --git a/pkg/kubeclients/applyconfiguration/core/v1/resourcerequirements.go b/pkg/kubeclients/applyconfiguration/core/v1/resourcerequirements.go index c479244e7..91d2b7e85 100644 --- a/pkg/kubeclients/applyconfiguration/core/v1/resourcerequirements.go +++ b/pkg/kubeclients/applyconfiguration/core/v1/resourcerequirements.go @@ -26,6 +26,7 @@ type ResourceRequirementsApplyConfiguration struct { // DynamicResourceAllocation feature gate. // // This field is immutable. It can only be set for containers. + // Claims []ResourceClaimApplyConfiguration `json:"claims,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/core/v1/securitycontext.go b/pkg/kubeclients/applyconfiguration/core/v1/securitycontext.go index ebb8d66ce..23379a645 100644 --- a/pkg/kubeclients/applyconfiguration/core/v1/securitycontext.go +++ b/pkg/kubeclients/applyconfiguration/core/v1/securitycontext.go @@ -67,7 +67,6 @@ type SecurityContextApplyConfiguration struct { // procMount denotes the type of proc mount to use for the containers. // The default value is Default which uses the container runtime defaults for // readonly paths and masked paths. - // This requires the ProcMountType feature flag to be enabled. // Note that this field cannot be set when spec.os.name is windows. ProcMount *corev1.ProcMountType `json:"procMount,omitempty"` // The seccomp options to use by this container. If seccomp options are diff --git a/pkg/kubeclients/applyconfiguration/core/v1/volumemountstatus.go b/pkg/kubeclients/applyconfiguration/core/v1/volumemountstatus.go index 6cd3e8e97..81a7ce5b5 100644 --- a/pkg/kubeclients/applyconfiguration/core/v1/volumemountstatus.go +++ b/pkg/kubeclients/applyconfiguration/core/v1/volumemountstatus.go @@ -21,6 +21,9 @@ type VolumeMountStatusApplyConfiguration struct { // An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled, // depending on the mount result. RecursiveReadOnly *corev1.RecursiveReadOnlyMode `json:"recursiveReadOnly,omitempty"` + // volumeStatus represents volume-type-specific status about the mounted + // volume. + VolumeStatus *VolumeStatusApplyConfiguration `json:"volumeStatus,omitempty"` } // VolumeMountStatusApplyConfiguration constructs a declarative configuration of the VolumeMountStatus type for use with @@ -60,3 +63,11 @@ func (b *VolumeMountStatusApplyConfiguration) WithRecursiveReadOnly(value corev1 b.RecursiveReadOnly = &value return b } + +// WithVolumeStatus sets the VolumeStatus field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the VolumeStatus field is set to the value of the last call. +func (b *VolumeMountStatusApplyConfiguration) WithVolumeStatus(value *VolumeStatusApplyConfiguration) *VolumeMountStatusApplyConfiguration { + b.VolumeStatus = value + return b +} diff --git a/pkg/kubeclients/applyconfiguration/core/v1/volumeprojection.go b/pkg/kubeclients/applyconfiguration/core/v1/volumeprojection.go index df1d33a44..3b854beed 100644 --- a/pkg/kubeclients/applyconfiguration/core/v1/volumeprojection.go +++ b/pkg/kubeclients/applyconfiguration/core/v1/volumeprojection.go @@ -29,6 +29,7 @@ type VolumeProjectionApplyConfiguration struct { // comments and block headers are stripped. Certificates are deduplicated. // The ordering of certificates within the file is arbitrary, and Kubelet // may change the order over time. + // ClusterTrustBundle *ClusterTrustBundleProjectionApplyConfiguration `json:"clusterTrustBundle,omitempty"` // Projects an auto-rotating credential bundle (private key and certificate // chain) that the pod can use either as a TLS client or server. @@ -64,6 +65,7 @@ type VolumeProjectionApplyConfiguration struct { // The named signer controls chooses the format of the certificate it // issues; consult the signer implementation's documentation to learn how to // use the certificates it issues. + // PodCertificate *PodCertificateProjectionApplyConfiguration `json:"podCertificate,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/core/v1/volumesource.go b/pkg/kubeclients/applyconfiguration/core/v1/volumesource.go index 57b884d14..d87336724 100644 --- a/pkg/kubeclients/applyconfiguration/core/v1/volumesource.go +++ b/pkg/kubeclients/applyconfiguration/core/v1/volumesource.go @@ -100,8 +100,7 @@ type VolumeSourceApplyConfiguration struct { Projected *ProjectedVolumeSourceApplyConfiguration `json:"projected,omitempty"` // portworxVolume represents a portworx volume attached and mounted on kubelets host machine. // Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type - // are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate - // is on. + // are redirected to the pxd.portworx.com CSI driver. PortworxVolume *PortworxVolumeSourceApplyConfiguration `json:"portworxVolume,omitempty"` // scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. // Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. @@ -135,6 +134,7 @@ type VolumeSourceApplyConfiguration struct { // // A pod can use both types of ephemeral volumes and // persistent volumes at the same time. + // Ephemeral *EphemeralVolumeSourceApplyConfiguration `json:"ephemeral,omitempty"` // image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. // The volume is resolved at pod startup depending on which PullPolicy value is provided: @@ -147,7 +147,7 @@ type VolumeSourceApplyConfiguration struct { // A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. // The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. // The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. - // The volume will be mounted read-only (ro) and non-executable files (noexec). + // The volume will be mounted read-only (ro). // Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33. // The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. Image *ImageVolumeSourceApplyConfiguration `json:"image,omitempty"` diff --git a/pkg/kubeclients/applyconfiguration/core/v1/volumestatus.go b/pkg/kubeclients/applyconfiguration/core/v1/volumestatus.go new file mode 100644 index 000000000..1c362aa17 --- /dev/null +++ b/pkg/kubeclients/applyconfiguration/core/v1/volumestatus.go @@ -0,0 +1,27 @@ +// Code generated by api. DO NOT EDIT. + +package v1 + +// VolumeStatusApplyConfiguration represents a declarative configuration of the VolumeStatus type for use +// with apply. +// +// VolumeStatus represents the status of a mounted volume. +// At most one of its members must be specified. +type VolumeStatusApplyConfiguration struct { + // image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. + Image *ImageVolumeStatusApplyConfiguration `json:"image,omitempty"` +} + +// VolumeStatusApplyConfiguration constructs a declarative configuration of the VolumeStatus type for use with +// apply. +func VolumeStatus() *VolumeStatusApplyConfiguration { + return &VolumeStatusApplyConfiguration{} +} + +// WithImage sets the Image field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Image field is set to the value of the last call. +func (b *VolumeStatusApplyConfiguration) WithImage(value *ImageVolumeStatusApplyConfiguration) *VolumeStatusApplyConfiguration { + b.Image = value + return b +} diff --git a/pkg/kubeclients/applyconfiguration/flowcontrol/v1/exemptprioritylevelconfiguration.go b/pkg/kubeclients/applyconfiguration/flowcontrol/v1/exemptprioritylevelconfiguration.go index 977e9dc0a..a7bdc7509 100644 --- a/pkg/kubeclients/applyconfiguration/flowcontrol/v1/exemptprioritylevelconfiguration.go +++ b/pkg/kubeclients/applyconfiguration/flowcontrol/v1/exemptprioritylevelconfiguration.go @@ -32,6 +32,7 @@ type ExemptPriorityLevelConfigurationApplyConfiguration struct { // as this level's LendableConcurrencyLimit (LendableCL), is defined as follows. // // LendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 ) + // LendablePercent *int32 `json:"lendablePercent,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/flowcontrol/v1/limitedprioritylevelconfiguration.go b/pkg/kubeclients/applyconfiguration/flowcontrol/v1/limitedprioritylevelconfiguration.go index 12d8dd4ee..035ebeacf 100644 --- a/pkg/kubeclients/applyconfiguration/flowcontrol/v1/limitedprioritylevelconfiguration.go +++ b/pkg/kubeclients/applyconfiguration/flowcontrol/v1/limitedprioritylevelconfiguration.go @@ -29,6 +29,7 @@ type LimitedPriorityLevelConfigurationApplyConfiguration struct { // // Setting this field to zero supports the construction of a // "jail" for this priority level that is used to hold some request(s) + // NominalConcurrencyShares *int32 `json:"nominalConcurrencyShares,omitempty"` // `limitResponse` indicates what to do with requests that can not be executed right now LimitResponse *LimitResponseApplyConfiguration `json:"limitResponse,omitempty"` @@ -39,6 +40,7 @@ type LimitedPriorityLevelConfigurationApplyConfiguration struct { // as this level's LendableConcurrencyLimit (LendableCL), is defined as follows. // // LendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 ) + // LendablePercent *int32 `json:"lendablePercent,omitempty"` // `borrowingLimitPercent`, if present, configures a limit on how many // seats this priority level can borrow from other priority levels. diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/admissioncheckstate.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/admissioncheckstate.go index d54cfaf32..fecf63409 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/admissioncheckstate.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/admissioncheckstate.go @@ -28,6 +28,7 @@ type AdmissionCheckStateApplyConfiguration struct { // If nil when State=Retry, Kueue will retry immediately. // If set, Kueue will add the workload back to the queue after // lastTransitionTime + RequeueAfterSeconds is over. + // RequeueAfterSeconds *int32 `json:"requeueAfterSeconds,omitempty"` // retryCount tracks retry attempts for this admission check. // Kueue automatically increments the counter whenever the diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/admissionscope.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/admissionscope.go index 3dd6a6b60..94a68317b 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/admissionscope.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/admissionscope.go @@ -13,6 +13,7 @@ type AdmissionScopeApplyConfiguration struct { // in the AdmissionScope. Possible values are: // - UsageBasedAdmissionFairSharing // - NoAdmissionFairSharing + // AdmissionMode *kueuev1beta2.AdmissionMode `json:"admissionMode,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/borrowwithincohort.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/borrowwithincohort.go index 5e4076803..64e75bf7f 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/borrowwithincohort.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/borrowwithincohort.go @@ -20,12 +20,14 @@ type BorrowWithinCohortApplyConfiguration struct { // - `LowerPriority`: allow preemption, in other ClusterQueues // within the cohort, for a borrowing workload, but only if // the preempted workloads are of lower priority. + // Policy *kueuev1beta2.BorrowWithinCohortPolicy `json:"policy,omitempty"` // maxPriorityThreshold allows to restrict the set of workloads which // might be preempted by a borrowing workload, to only workloads with // priority less than or equal to the specified threshold priority. // When the threshold is not specified, then any workload satisfying the // policy can be preempted by the borrowing workload. + // MaxPriorityThreshold *int32 `json:"maxPriorityThreshold,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/clusterqueuepreemption.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/clusterqueuepreemption.go index 2b1c9fc48..cad367067 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/clusterqueuepreemption.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/clusterqueuepreemption.go @@ -45,6 +45,7 @@ type ClusterQueuePreemptionApplyConfiguration struct { // the nominal quota of its ClusterQueue, preempt any Workload in the // cohort, irrespective of priority. **Fair Sharing** preempt Workloads // in the cohort that satisfy the Fair Sharing preemptionStrategies. + // ReclaimWithinCohort *kueuev1beta2.PreemptionPolicy `json:"reclaimWithinCohort,omitempty"` // borrowWithinCohort determines whether a pending Workload can preempt // Workloads from other ClusterQueues in the cohort if the workload requires borrowing. @@ -60,6 +61,7 @@ type ClusterQueuePreemptionApplyConfiguration struct { // - `LowerOrNewerEqualPriority`: only preempt Workloads in the ClusterQueue that // either have a lower priority than the pending workload or equal priority // and are newer than the pending workload. + // WithinClusterQueue *kueuev1beta2.PreemptionPolicy `json:"withinClusterQueue,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/clusterqueuespec.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/clusterqueuespec.go index 55a0227f7..69ee98b4d 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/clusterqueuespec.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/clusterqueuespec.go @@ -41,6 +41,7 @@ type ClusterQueueSpecApplyConfiguration struct { // - BestEffortFIFO: workloads are ordered by creation time, // however older workloads that can't be admitted will not block // admitting newer workloads that fit existing quota. + // QueueingStrategy *kueuev1beta2.QueueingStrategy `json:"queueingStrategy,omitempty"` // namespaceSelector defines which namespaces are allowed to submit workloads to // this clusterQueue. Beyond this basic support for policy, a policy agent like @@ -63,6 +64,7 @@ type ClusterQueueSpecApplyConfiguration struct { // - None - Workloads are admitted // - HoldAndDrain - Admitted workloads are evicted and Reserving workloads will cancel the reservation. // - Hold - Admitted workloads will run to completion and Reserving workloads will cancel the reservation. + // StopPolicy *kueuev1beta2.StopPolicy `json:"stopPolicy,omitempty"` // fairSharing defines the properties of the ClusterQueue when // participating in FairSharing. The values are only relevant @@ -70,6 +72,12 @@ type ClusterQueueSpecApplyConfiguration struct { FairSharing *FairSharingApplyConfiguration `json:"fairSharing,omitempty"` // admissionScope indicates whether ClusterQueue uses the Admission Fair Sharing AdmissionScope *AdmissionScopeApplyConfiguration `json:"admissionScope,omitempty"` + // concurrentAdmissionPolicy defines the configuration for ConcurrentAdmission feature. + // Its main capability is to allow Workloads pursuing multiple flavors at the same time, and starting on the first flavor that led to admission. + // Additionally after the admission, Workloads can still try to pursue capacity on the more preferable flavors while running. + // It enables them to migrate to more preferable, whenever capacity appears. + // + ConcurrentAdmissionPolicy *ConcurrentAdmissionPolicyApplyConfiguration `json:"concurrentAdmissionPolicy,omitempty"` } // ClusterQueueSpecApplyConfiguration constructs a declarative configuration of the ClusterQueueSpec type for use with @@ -162,3 +170,11 @@ func (b *ClusterQueueSpecApplyConfiguration) WithAdmissionScope(value *Admission b.AdmissionScope = value return b } + +// WithConcurrentAdmissionPolicy sets the ConcurrentAdmissionPolicy field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the ConcurrentAdmissionPolicy field is set to the value of the last call. +func (b *ClusterQueueSpecApplyConfiguration) WithConcurrentAdmissionPolicy(value *ConcurrentAdmissionPolicyApplyConfiguration) *ClusterQueueSpecApplyConfiguration { + b.ConcurrentAdmissionPolicy = value + return b +} diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/cohortspec.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/cohortspec.go index 2dd0f01da..e6c6efb2f 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/cohortspec.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/cohortspec.go @@ -45,6 +45,7 @@ type CohortSpecApplyConfiguration struct { // Borrowing and Lending limits must only be set when the // Cohort has a parent. Otherwise, the Cohort create/update // will be rejected by the webhook. + // ResourceGroups []ResourceGroupApplyConfiguration `json:"resourceGroups,omitempty"` // fairSharing defines the properties of the Cohort when // participating in FairSharing. The values are only relevant diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/concurrentadmissionconstraints.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/concurrentadmissionconstraints.go new file mode 100644 index 000000000..6c6f85988 --- /dev/null +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/concurrentadmissionconstraints.go @@ -0,0 +1,33 @@ +// Code generated by api. DO NOT EDIT. + +package v1beta2 + +import ( + kueuev1beta2 "sigs.k8s.io/kueue/apis/kueue/v1beta2" +) + +// ConcurrentAdmissionConstraintsApplyConfiguration represents a declarative configuration of the ConcurrentAdmissionConstraints type for use +// with apply. +type ConcurrentAdmissionConstraintsApplyConfiguration struct { + // lastAcceptableFlavorName defines the last acceptable flavor a Workload can migrate to. + // The order is based on the order of flavors in ClusterQueue. + // It can only be used if the Mode is `TryPreferredFlavors`. + // If the Mode is `TryPreferredFlavors` and LastAcceptableFlavorName is not specified, then + // Workload can migrate to any flavor that is more preferable than the one it was admitted to. + // + LastAcceptableFlavorName *kueuev1beta2.ResourceFlavorReference `json:"lastAcceptableFlavorName,omitempty"` +} + +// ConcurrentAdmissionConstraintsApplyConfiguration constructs a declarative configuration of the ConcurrentAdmissionConstraints type for use with +// apply. +func ConcurrentAdmissionConstraints() *ConcurrentAdmissionConstraintsApplyConfiguration { + return &ConcurrentAdmissionConstraintsApplyConfiguration{} +} + +// WithLastAcceptableFlavorName sets the LastAcceptableFlavorName field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the LastAcceptableFlavorName field is set to the value of the last call. +func (b *ConcurrentAdmissionConstraintsApplyConfiguration) WithLastAcceptableFlavorName(value kueuev1beta2.ResourceFlavorReference) *ConcurrentAdmissionConstraintsApplyConfiguration { + b.LastAcceptableFlavorName = &value + return b +} diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/concurrentadmissionmigration.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/concurrentadmissionmigration.go new file mode 100644 index 000000000..32a80adee --- /dev/null +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/concurrentadmissionmigration.go @@ -0,0 +1,43 @@ +// Code generated by api. DO NOT EDIT. + +package v1beta2 + +import ( + kueuev1beta2 "sigs.k8s.io/kueue/apis/kueue/v1beta2" +) + +// ConcurrentAdmissionMigrationApplyConfiguration represents a declarative configuration of the ConcurrentAdmissionMigration type for use +// with apply. +type ConcurrentAdmissionMigrationApplyConfiguration struct { + // mode defines the mode of Workload's migration. + // The possible values are: + // - `TryPreferredFlavors` (default): a Workload will try to migrate to the preferred flavor after it's admitted and running. + // - `RetainFirstAdmission`: a Workload, once admitted to a flavor, will stick to a flavor and will not be migrated. + // + Mode *kueuev1beta2.ConcurrentAdmissionMigrationMode `json:"mode,omitempty"` + // constraints defines the constraints of Workload's migration. + // + Constraints *ConcurrentAdmissionConstraintsApplyConfiguration `json:"constraints,omitempty"` +} + +// ConcurrentAdmissionMigrationApplyConfiguration constructs a declarative configuration of the ConcurrentAdmissionMigration type for use with +// apply. +func ConcurrentAdmissionMigration() *ConcurrentAdmissionMigrationApplyConfiguration { + return &ConcurrentAdmissionMigrationApplyConfiguration{} +} + +// WithMode sets the Mode field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Mode field is set to the value of the last call. +func (b *ConcurrentAdmissionMigrationApplyConfiguration) WithMode(value kueuev1beta2.ConcurrentAdmissionMigrationMode) *ConcurrentAdmissionMigrationApplyConfiguration { + b.Mode = &value + return b +} + +// WithConstraints sets the Constraints field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Constraints field is set to the value of the last call. +func (b *ConcurrentAdmissionMigrationApplyConfiguration) WithConstraints(value *ConcurrentAdmissionConstraintsApplyConfiguration) *ConcurrentAdmissionMigrationApplyConfiguration { + b.Constraints = value + return b +} diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/concurrentadmissionpolicy.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/concurrentadmissionpolicy.go new file mode 100644 index 000000000..0c2093aad --- /dev/null +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/concurrentadmissionpolicy.go @@ -0,0 +1,31 @@ +// Code generated by api. DO NOT EDIT. + +package v1beta2 + +// ConcurrentAdmissionPolicyApplyConfiguration represents a declarative configuration of the ConcurrentAdmissionPolicy type for use +// with apply. +type ConcurrentAdmissionPolicyApplyConfiguration struct { + // migration defines the constraints on Workload's migration. + // The mechanism itself creates "Variants" of the same Workload, each pursuing a different flavor. + // All Variants belong to the same "Parent" Workload, and are picked up by Kueue scheduler independently. + // Once one of the Variants is admitted, the Parent Workload gets also admitted. The Variants that pursue more + // favorable flavors keep trying to get admitted and if they succeed, the Workload migrates to the new flavor. + // The Variants that pursue less favorable flavors are deactivated. + // Flavor preferences are expressed through the order of flavors in the ClusterQueue. + // + Migration *ConcurrentAdmissionMigrationApplyConfiguration `json:"migration,omitempty"` +} + +// ConcurrentAdmissionPolicyApplyConfiguration constructs a declarative configuration of the ConcurrentAdmissionPolicy type for use with +// apply. +func ConcurrentAdmissionPolicy() *ConcurrentAdmissionPolicyApplyConfiguration { + return &ConcurrentAdmissionPolicyApplyConfiguration{} +} + +// WithMigration sets the Migration field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Migration field is set to the value of the last call. +func (b *ConcurrentAdmissionPolicyApplyConfiguration) WithMigration(value *ConcurrentAdmissionMigrationApplyConfiguration) *ConcurrentAdmissionPolicyApplyConfiguration { + b.Migration = value + return b +} diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/flavorfungibility.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/flavorfungibility.go index 573f65661..08c481c08 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/flavorfungibility.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/flavorfungibility.go @@ -18,6 +18,7 @@ type FlavorFungibilityApplyConfiguration struct { // - `MayStopSearch` (default): stop the search for candidate flavors if workload // fits or requires borrowing to fit. // - `TryNextFlavor`: try next flavor if workload requires borrowing to fit. + // WhenCanBorrow *kueuev1beta2.FlavorFungibilityPolicy `json:"whenCanBorrow,omitempty"` // whenCanPreempt determines whether a workload should try the next flavor // before preempting in current flavor. The possible values are: @@ -26,6 +27,7 @@ type FlavorFungibilityApplyConfiguration struct { // preemption to fit. // - `TryNextFlavor` (default): try next flavor if workload requires preemption // to fit in current flavor. + // WhenCanPreempt *kueuev1beta2.FlavorFungibilityPolicy `json:"whenCanPreempt,omitempty"` // preference guides the choosing of the flavor for admission in case all candidate flavors // require either preemption, borrowing, or both. The possible values are: @@ -37,6 +39,7 @@ type FlavorFungibilityApplyConfiguration struct { // when such a choice is possible. More technically it optimizes the preemption mode // (reclaim over preemption within ClusterQueue), and solves tie-breaks by minimizing // the borrowing distance in the cohort tree. + // Preference *kueuev1beta2.FlavorFungibilityPreference `json:"preference,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/kubeconfig.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/kubeconfig.go index d5302d9d5..334eb831a 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/kubeconfig.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/kubeconfig.go @@ -15,6 +15,7 @@ type KubeConfigApplyConfiguration struct { // which the kueue controller manager is running. The config should be stored in the "kubeconfig" key. Location *string `json:"location,omitempty"` // locationType of the KubeConfig. + // LocationType *kueuev1beta2.LocationType `json:"locationType,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/localqueuespec.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/localqueuespec.go index a8d1880c1..3e525f2a1 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/localqueuespec.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/localqueuespec.go @@ -21,6 +21,7 @@ type LocalQueueSpecApplyConfiguration struct { // - None - Workloads are admitted // - HoldAndDrain - Admitted workloads are evicted and Reserving workloads will cancel the reservation. // - Hold - Admitted workloads will run to completion and Reserving workloads will cancel the reservation. + // StopPolicy *kueuev1beta2.StopPolicy `json:"stopPolicy,omitempty"` // fairSharing defines the properties of the LocalQueue when // participating in AdmissionFairSharing. The values are only relevant diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/multikueueconfigspec.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/multikueueconfigspec.go index 2aa6e4a8a..cfd2a3bf4 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/multikueueconfigspec.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/multikueueconfigspec.go @@ -2,13 +2,27 @@ package v1beta2 +import ( + kueuev1beta2 "sigs.k8s.io/kueue/apis/kueue/v1beta2" +) + // MultiKueueConfigSpecApplyConfiguration represents a declarative configuration of the MultiKueueConfigSpec type for use // with apply. // // MultiKueueConfigSpec defines the desired state of MultiKueueConfig type MultiKueueConfigSpecApplyConfiguration struct { // clusters is a list of MultiKueueClusters names where the workloads from the ClusterQueue should be distributed. + // The order of the list is significant: the Incremental dispatcher nominates clusters + // following this order, so the most preferred clusters should be listed first. + // Clusters []string `json:"clusters,omitempty"` + // quotaManagement specifies the management of ClusterQueue quotas + // in the manager cluster. + // Supported modes: + // - `Manual`: Quota automation is manual. + // - `Automated`: Quota automation is enabled (provided that the MultiKueueManagerQuotaAutomation feature gate is enabled). + // If unspecified, defaults to `Manual`. + QuotaManagement *kueuev1beta2.MultiKueueConfigQuotaManagementMode `json:"quotaManagement,omitempty"` } // MultiKueueConfigSpecApplyConfiguration constructs a declarative configuration of the MultiKueueConfigSpec type for use with @@ -26,3 +40,11 @@ func (b *MultiKueueConfigSpecApplyConfiguration) WithClusters(values ...string) } return b } + +// WithQuotaManagement sets the QuotaManagement field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the QuotaManagement field is set to the value of the last call. +func (b *MultiKueueConfigSpecApplyConfiguration) WithQuotaManagement(value kueuev1beta2.MultiKueueConfigQuotaManagementMode) *MultiKueueConfigSpecApplyConfiguration { + b.QuotaManagement = &value + return b +} diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/podset.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/podset.go index a7d1d7a98..29626a405 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/podset.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/podset.go @@ -37,8 +37,10 @@ type PodSetApplyConfiguration struct { // Only one podSet within the workload can use this. // // This is an alpha field and requires enabling PartialAdmission feature gate. + // MinCount *int32 `json:"minCount,omitempty"` // topologyRequest defines the topology request for the PodSet. + // TopologyRequest *PodSetTopologyRequestApplyConfiguration `json:"topologyRequest,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/podsetassignment.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/podsetassignment.go index f3c213bfc..ae8dad77d 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/podsetassignment.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/podsetassignment.go @@ -24,6 +24,7 @@ type PodSetAssignmentApplyConfiguration struct { // This field will not change in case of quota reclaim. // Value could be missing for Workloads created before this field was added, // in that case spec.podSets[*].count value will be used. + // Count *int32 `json:"count,omitempty"` // topologyAssignment indicates the topology assignment divided into // topology domains corresponding to the lowest level of the topology. @@ -136,6 +137,7 @@ type PodSetAssignmentApplyConfiguration struct { // roots: [1, 2] // podCounts: // universal: 1 + // TopologyAssignment *TopologyAssignmentApplyConfiguration `json:"topologyAssignment,omitempty"` // delayedTopologyRequest indicates the topology assignment is delayed. // Topology assignment might be delayed in case there is ProvisioningRequest @@ -143,6 +145,7 @@ type PodSetAssignmentApplyConfiguration struct { // Kueue schedules the second pass of scheduling for each workload with at // least one PodSet which has delayedTopologyRequest=true and without // topologyAssignment. + // DelayedTopologyRequest *kueuev1beta2.DelayedTopologyRequestState `json:"delayedTopologyRequest,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/podsetslicerequiredtopologyconstraint.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/podsetslicerequiredtopologyconstraint.go index aea630e5a..a07186311 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/podsetslicerequiredtopologyconstraint.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/podsetslicerequiredtopologyconstraint.go @@ -8,8 +8,10 @@ package v1beta2 // PodsetSliceRequiredTopologyConstraint defines a single slice topology constraint layer. type PodsetSliceRequiredTopologyConstraintApplyConfiguration struct { // topology indicates the topology level required for this slice layer. + // Topology *string `json:"topology,omitempty"` // size indicates the number of pods in each group at this slice layer. + // Size *int32 `json:"size,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/podsettopologyrequest.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/podsettopologyrequest.go index d0cf96e04..c85883b36 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/podsettopologyrequest.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/podsettopologyrequest.go @@ -11,15 +11,18 @@ type PodSetTopologyRequestApplyConfiguration struct { // indicated by the `kueue.x-k8s.io/podset-required-topology` PodSet // annotation. // This is limited to 63 characters. + // Required *string `json:"required,omitempty"` // preferred indicates the topology level preferred by the PodSet, as // indicated by the `kueue.x-k8s.io/podset-preferred-topology` PodSet // annotation. // This is limited to 63 characters. + // Preferred *string `json:"preferred,omitempty"` // unconstrained indicates that Kueue has the freedom to schedule the PodSet within // the entire available capacity, without constraints on the compactness of the placement. // This is indicated by the `kueue.x-k8s.io/podset-unconstrained-topology` PodSet annotation. + // Unconstrained *bool `json:"unconstrained,omitempty"` // podIndexLabel indicates the name of the label indexing the pods. // For example, in the context of @@ -37,6 +40,7 @@ type PodSetTopologyRequestApplyConfiguration struct { SubGroupCount *int32 `json:"subGroupCount,omitempty"` // podSetGroupName indicates the name of the group of PodSets to which this PodSet belongs to. // PodSets with the same `PodSetGroupName` should be assigned the same ResourceFlavor + // PodSetGroupName *string `json:"podSetGroupName,omitempty"` // podSetSliceRequiredTopology indicates the topology level required by the PodSet slice, as // indicated by the `kueue.x-k8s.io/podset-slice-required-topology` annotation. @@ -46,6 +50,7 @@ type PodSetTopologyRequestApplyConfiguration struct { // podSetSliceSize indicates the size of a subgroup of pods in a PodSet for which // Kueue finds a requested topology domain on a level defined // in `kueue.x-k8s.io/podset-slice-required-topology` annotation. + // PodSetSliceSize *int32 `json:"podSetSliceSize,omitempty"` // podsetSliceRequiredTopologyConstraints defines all layers of slice // topology constraints. Each entry specifies a topology level and slice @@ -55,6 +60,7 @@ type PodSetTopologyRequestApplyConfiguration struct { // podSetSliceSize. // // This annotation is alpha-level for the TASMultiLayerTopology feature gate. + // PodsetSliceRequiredTopologyConstraints []PodsetSliceRequiredTopologyConstraintApplyConfiguration `json:"podsetSliceRequiredTopologyConstraints,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/priorityclassref.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/priorityclassref.go index ea5e2a02c..b06090f8e 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/priorityclassref.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/priorityclassref.go @@ -14,8 +14,10 @@ type PriorityClassRefApplyConfiguration struct { // group is the API group of the PriorityClass object. // Use "kueue.x-k8s.io" for WorkloadPriorityClass. // Use "scheduling.k8s.io" for Pod PriorityClass. + // Group *kueuev1beta2.PriorityClassGroup `json:"group,omitempty"` // kind is the kind of the PriorityClass object. + // Kind *kueuev1beta2.PriorityClassKind `json:"kind,omitempty"` // name is the name of the PriorityClass the Workload is associated with. // If specified, indicates the workload's priority. @@ -24,6 +26,7 @@ type PriorityClassRefApplyConfiguration struct { // the highest priority. Any other name must be defined by creating a // PriorityClass object with that name. If not specified, the workload // priority will be default or zero if there is no default. + // Name *string `json:"name,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/provisioningrequestconfigspec.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/provisioningrequestconfigspec.go index 8e3d4f1ee..070ea4071 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/provisioningrequestconfigspec.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/provisioningrequestconfigspec.go @@ -14,8 +14,10 @@ import ( type ProvisioningRequestConfigSpecApplyConfiguration struct { // provisioningClassName describes the different modes of provisioning the resources. // Check autoscaling.x-k8s.io ProvisioningRequestSpec.ProvisioningClassName for details. + // ProvisioningClassName *string `json:"provisioningClassName,omitempty"` // parameters contains all other parameters classes may require. + // Parameters map[string]kueuev1beta2.Parameter `json:"parameters,omitempty"` // managedResources contains the list of resources managed by the autoscaling. // @@ -26,6 +28,7 @@ type ProvisioningRequestConfigSpecApplyConfiguration struct { // // If none of the workloads podsets is requesting at least a managed resource, // the workload is considered ready. + // ManagedResources []v1.ResourceName `json:"managedResources,omitempty"` // retryStrategy defines strategy for retrying ProvisioningRequest. // If null, then the default configuration is applied with the following parameter values: @@ -35,12 +38,19 @@ type ProvisioningRequestConfigSpecApplyConfiguration struct { // // To switch off retry mechanism // set retryStrategy.backoffLimitCount to 0. + // RetryStrategy *ProvisioningRequestRetryStrategyApplyConfiguration `json:"retryStrategy,omitempty"` // podSetUpdates specifies the update of the workload's PodSetUpdates which // are used to target the provisioned nodes. + // PodSetUpdates *ProvisioningRequestPodSetUpdatesApplyConfiguration `json:"podSetUpdates,omitempty"` // podSetMergePolicy specifies the policy for merging PodSets before being passed // to the cluster autoscaler. + // + // The possible policies are: + // - `IdenticalPodTemplates`: Merges only identical PodTemplates. + // - `IdenticalWorkloadSchedulingRequirements`: Merges PodTemplates with identical fields that are considered when defining the workload scheduling requirements. + // PodSetMergePolicy *kueuev1beta2.ProvisioningRequestConfigPodSetMergePolicy `json:"podSetMergePolicy,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/provisioningrequestpodsetupdates.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/provisioningrequestpodsetupdates.go index f4417374e..146480205 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/provisioningrequestpodsetupdates.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/provisioningrequestpodsetupdates.go @@ -6,6 +6,7 @@ package v1beta2 // with apply. type ProvisioningRequestPodSetUpdatesApplyConfiguration struct { // nodeSelector specifies the list of updates for the NodeSelector. + // NodeSelector []ProvisioningRequestPodSetUpdatesNodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/provisioningrequestpodsetupdatesnodeselector.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/provisioningrequestpodsetupdatesnodeselector.go index baf3f1f63..6a90dcde8 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/provisioningrequestpodsetupdatesnodeselector.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/provisioningrequestpodsetupdatesnodeselector.go @@ -6,10 +6,12 @@ package v1beta2 // with apply. type ProvisioningRequestPodSetUpdatesNodeSelectorApplyConfiguration struct { // key specifies the key for the NodeSelector. + // Key *string `json:"key,omitempty"` // valueFromProvisioningClassDetail specifies the key of the // ProvisioningRequest.status.provisioningClassDetails from which the value // is used for the update. + // ValueFromProvisioningClassDetail *string `json:"valueFromProvisioningClassDetail,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/requeuestate.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/requeuestate.go index 7f343c4e1..637adfb8f 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/requeuestate.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/requeuestate.go @@ -12,10 +12,12 @@ type RequeueStateApplyConfiguration struct { // count records the number of times a workload has been re-queued // When a deactivated (`.spec.activate`=`false`) workload is reactivated (`.spec.activate`=`true`), // this count would be reset to null. + // Count *int32 `json:"count,omitempty"` // requeueAt records the time when a workload will be re-queued. // When a deactivated (`.spec.activate`=`false`) workload is reactivated (`.spec.activate`=`true`), // this time would be reset to null. + // RequeueAt *v1.Time `json:"requeueAt,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/resourceflavorspec.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/resourceflavorspec.go index 4159b62c1..0706f08f0 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/resourceflavorspec.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/resourceflavorspec.go @@ -36,6 +36,7 @@ type ResourceFlavorSpecApplyConfiguration struct { // cloud.provider.com/preemptible="true":NoSchedule // // nodeTaints can be up to 8 elements. + // NodeTaints []v1.TaintApplyConfiguration `json:"nodeTaints,omitempty"` // tolerations are extra tolerations that will be added to the pods admitted in // the quota associated with this resource flavor. @@ -44,10 +45,12 @@ type ResourceFlavorSpecApplyConfiguration struct { // cloud.provider.com/preemptible="true":NoSchedule // // tolerations can be up to 8 elements. + // Tolerations []v1.TolerationApplyConfiguration `json:"tolerations,omitempty"` // topologyName indicates topology for the TAS ResourceFlavor. // When specified, it enables scraping of the topology information from the // nodes matching to the Resource Flavor node labels. + // TopologyName *kueuev1beta2.TopologyReference `json:"topologyName,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/schedulingstats.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/schedulingstats.go index ada8b5759..8242270ed 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/schedulingstats.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/schedulingstats.go @@ -6,6 +6,7 @@ package v1beta2 // with apply. type SchedulingStatsApplyConfiguration struct { // evictions tracks eviction statistics by reason and underlyingCause. + // Evictions []WorkloadSchedulingStatsEvictionApplyConfiguration `json:"evictions,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/topologyassignment.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/topologyassignment.go index ace125082..5a6a237ca 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/topologyassignment.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/topologyassignment.go @@ -8,6 +8,7 @@ type TopologyAssignmentApplyConfiguration struct { // levels is an ordered list of keys denoting the levels of the assigned // topology (i.e. node label keys), from the highest to the lowest level of // the topology. + // Levels []string `json:"levels,omitempty"` // slices represent topology assignments for subsets of pods of a workload. // The full assignment is obtained as a union of all slices. diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/topologylevel.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/topologylevel.go index 23b38e14a..efa614f99 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/topologylevel.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/topologylevel.go @@ -13,6 +13,7 @@ type TopologyLevelApplyConfiguration struct { // Examples: // - cloud.provider.com/topology-block // - cloud.provider.com/topology-rack + // NodeLabel *string `json:"nodeLabel,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/topologyspec.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/topologyspec.go index c1dc9d9fd..183536363 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/topologyspec.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/topologyspec.go @@ -8,6 +8,7 @@ package v1beta2 // TopologySpec defines the desired state of Topology type TopologySpecApplyConfiguration struct { // levels define the levels of topology. + // Levels []TopologyLevelApplyConfiguration `json:"levels,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/unhealthynode.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/unhealthynode.go index 4ebf8682d..d07459beb 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/unhealthynode.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/unhealthynode.go @@ -6,6 +6,7 @@ package v1beta2 // with apply. type UnhealthyNodeApplyConfiguration struct { // name is the name of the unhealthy node. + // Name *string `json:"name,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/workloadschedulingstatseviction.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/workloadschedulingstatseviction.go index eaa52c035..76e5444f7 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/workloadschedulingstatseviction.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/workloadschedulingstatseviction.go @@ -10,11 +10,14 @@ import ( // with apply. type WorkloadSchedulingStatsEvictionApplyConfiguration struct { // reason specifies the programmatic identifier for the eviction cause. + // Reason *string `json:"reason,omitempty"` // underlyingCause specifies a finer-grained explanation that complements the eviction reason. // This may be an empty string. + // UnderlyingCause *kueuev1beta2.EvictionUnderlyingCause `json:"underlyingCause,omitempty"` // count tracks the number of evictions for this reason and detailed reason. + // Count *int32 `json:"count,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/workloadspec.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/workloadspec.go index 3d34a4299..ccb0229d3 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/workloadspec.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/workloadspec.go @@ -13,13 +13,15 @@ import ( type WorkloadSpecApplyConfiguration struct { // podSets is a list of sets of homogeneous pods, each described by a Pod spec // and a count. - // There must be at least one element and at most 8. + // There must be at least one element and at most 18. // podSets cannot be changed. + // PodSets []PodSetApplyConfiguration `json:"podSets,omitempty"` // queueName is the name of the LocalQueue the Workload is associated with. // queueName cannot be changed while .status.admission is not null. QueueName *kueuev1beta2.LocalQueueName `json:"queueName,omitempty"` // priorityClassRef references a PriorityClass object that defines the workload's priority. + // PriorityClassRef *PriorityClassRefApplyConfiguration `json:"priorityClassRef,omitempty"` // priority determines the order of access to the resources managed by the // ClusterQueue where the workload is queued. @@ -40,6 +42,7 @@ type WorkloadSpecApplyConfiguration struct { // the workload can be admitted before it's automatically deactivated. // // If unspecified, no execution time limit is enforced on the Workload. + // MaximumExecutionTimeSeconds *int32 `json:"maximumExecutionTimeSeconds,omitempty"` // preemptionGates is a list of gates governing whether the workload // can trigger preemptions. diff --git a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/workloadstatus.go b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/workloadstatus.go index bec0a82ef..025638ead 100644 --- a/pkg/kubeclients/applyconfiguration/kueue/v1beta2/workloadstatus.go +++ b/pkg/kubeclients/applyconfiguration/kueue/v1beta2/workloadstatus.go @@ -21,6 +21,7 @@ type WorkloadStatusApplyConfiguration struct { // - PodsReady: at least `.spec.podSets[*].count` Pods are ready or have // succeeded. // conditions are limited to 16 items. + // Conditions []v1.ConditionApplyConfiguration `json:"conditions,omitempty"` // admission holds the parameters of the admission of the workload by a // ClusterQueue. admission can be set back to null, but its fields cannot be @@ -28,6 +29,7 @@ type WorkloadStatusApplyConfiguration struct { Admission *AdmissionApplyConfiguration `json:"admission,omitempty"` // requeueState holds the re-queue state // when a workload meets Eviction with PodsReadyTimeout reason. + // RequeueState *RequeueStateApplyConfiguration `json:"requeueState,omitempty"` // reclaimablePods keeps track of the number pods within a podset for which // the resource reservation is no longer needed. @@ -38,16 +40,20 @@ type WorkloadStatusApplyConfiguration struct { // requested by a non-admitted workload when it was considered for admission. // If admission is non-null, resourceRequests will be empty because // admission.resourceUsage contains the detailed information. + // ResourceRequests []PodSetRequestApplyConfiguration `json:"resourceRequests,omitempty"` // accumulatedPastExecutionTimeSeconds holds the total time, in seconds, the workload spent // in Admitted state, in the previous `Admit` - `Evict` cycles. + // AccumulatedPastExecutionTimeSeconds *int32 `json:"accumulatedPastExecutionTimeSeconds,omitempty"` // schedulingStats tracks scheduling statistics + // SchedulingStats *SchedulingStatsApplyConfiguration `json:"schedulingStats,omitempty"` // nominatedClusterNames specifies the list of cluster names that have been nominated for scheduling. // This field is mutually exclusive with the `.status.clusterName` field, and is reset when // `status.clusterName` is set. // This field is optional. + // NominatedClusterNames []string `json:"nominatedClusterNames,omitempty"` // clusterName is the name of the cluster where the workload is currently assigned. // @@ -61,6 +67,7 @@ type WorkloadStatusApplyConfiguration struct { // when Topology-Aware Scheduling is used. This field should not be set by the users. // It indicates Kueue's scheduler is searching for replacements of the failed nodes. // Requires enabling the TASFailedNodeReplacement feature gate. + // UnhealthyNodes []UnhealthyNodeApplyConfiguration `json:"unhealthyNodes,omitempty"` // preemptionGates is a list of states of gates governing whether the workload // can trigger preemptions. diff --git a/pkg/kubeclients/applyconfiguration/policy/v1/poddisruptionbudgetstatus.go b/pkg/kubeclients/applyconfiguration/policy/v1/poddisruptionbudgetstatus.go index 8f51050eb..8d001ee93 100644 --- a/pkg/kubeclients/applyconfiguration/policy/v1/poddisruptionbudgetstatus.go +++ b/pkg/kubeclients/applyconfiguration/policy/v1/poddisruptionbudgetstatus.go @@ -48,6 +48,7 @@ type PodDisruptionBudgetStatusApplyConfiguration struct { // - SufficientPods: There are more pods than required by the PodDisruptionBudget. // The condition will be True, and the number of allowed // disruptions are provided by the disruptionsAllowed property. + // Conditions []applyconfigurationsmetav1.ConditionApplyConfiguration `json:"conditions,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/allocateddevicestatus.go b/pkg/kubeclients/applyconfiguration/resource/v1/allocateddevicestatus.go index b1cd7b9b3..35b369f38 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/allocateddevicestatus.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/allocateddevicestatus.go @@ -22,29 +22,36 @@ type AllocatedDeviceStatusApplyConfiguration struct { // // Must be a DNS subdomain and should end with a DNS domain owned by the // vendor of the driver. It should use only lower case characters. + // Driver *string `json:"driver,omitempty"` // This name together with the driver name and the device name field // identify which device was allocated (`//`). // // Must not be longer than 253 characters and may contain one or more // DNS sub-domains separated by slashes. + // Pool *string `json:"pool,omitempty"` // Device references one device instance via its name in the driver's // resource pool. It must be a DNS label. + // Device *string `json:"device,omitempty"` // ShareID uniquely identifies an individual allocation share of the device. + // ShareID *string `json:"shareID,omitempty"` // Conditions contains the latest observation of the device's state. // If the device has been configured according to the class and claim // config references, the `Ready` condition should be True. // // Must not contain more than 8 entries. + // Conditions []metav1.ConditionApplyConfiguration `json:"conditions,omitempty"` // Data contains arbitrary driver-specific data. // // The length of the raw data must be smaller or equal to 10 Ki. + // Data *runtime.RawExtension `json:"data,omitempty"` // NetworkData contains network-related information specific to the device. + // NetworkData *NetworkDeviceDataApplyConfiguration `json:"networkData,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/allocationresult.go b/pkg/kubeclients/applyconfiguration/resource/v1/allocationresult.go index e683dd9e5..8be50dce4 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/allocationresult.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/allocationresult.go @@ -13,15 +13,18 @@ import ( // AllocationResult contains attributes of an allocated resource. type AllocationResultApplyConfiguration struct { // Devices is the result of allocating devices. + // Devices *DeviceAllocationResultApplyConfiguration `json:"devices,omitempty"` // NodeSelector defines where the allocated resources are available. If // unset, they are available everywhere. + // NodeSelector *corev1.NodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"` // AllocationTimestamp stores the time when the resources were allocated. // This field is not guaranteed to be set, in which case that time is unknown. // - // This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus + // This is a beta field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus // feature gate. + // AllocationTimestamp *metav1.Time `json:"allocationTimestamp,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/capacityrequestpolicy.go b/pkg/kubeclients/applyconfiguration/resource/v1/capacityrequestpolicy.go index 6725d7261..2a8d19228 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/capacityrequestpolicy.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/capacityrequestpolicy.go @@ -15,6 +15,7 @@ import ( type CapacityRequestPolicyApplyConfiguration struct { // Default specifies how much of this capacity is consumed by a request // that does not contain an entry for it in DeviceRequest's Capacity. + // Default *resource.Quantity `json:"default,omitempty"` // ValidValues defines a set of acceptable quantity values in consuming requests. // @@ -30,6 +31,7 @@ type CapacityRequestPolicyApplyConfiguration struct { // // If the requested amount exceeds all valid values, the request violates the policy, // and this device cannot be allocated. + // ValidValues []resource.Quantity `json:"validValues,omitempty"` // ValidRange defines an acceptable quantity value range in consuming requests. // @@ -40,6 +42,7 @@ type CapacityRequestPolicyApplyConfiguration struct { // and this device cannot be allocated. // // If the request doesn't contain this capacity entry, Default value is used. + // ValidRange *CapacityRequestPolicyRangeApplyConfiguration `json:"validRange,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/capacityrequestpolicyrange.go b/pkg/kubeclients/applyconfiguration/resource/v1/capacityrequestpolicyrange.go index 9972e4b8b..cb1a794d2 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/capacityrequestpolicyrange.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/capacityrequestpolicyrange.go @@ -23,16 +23,19 @@ type CapacityRequestPolicyRangeApplyConfiguration struct { // Min must be greater than or equal to zero, // and less than or equal to the capacity value. // requestPolicy.default must be more than or equal to the minimum. + // Min *resource.Quantity `json:"min,omitempty"` // Max defines the upper limit for capacity that can be requested. // // Max must be less than or equal to the capacity value. // Min and requestPolicy.default must be less than or equal to the maximum. + // Max *resource.Quantity `json:"max,omitempty"` // Step defines the step size between valid capacity amounts within the range. // // Max (if set) and requestPolicy.default must be a multiple of Step. // Min + Step must be less than or equal to the capacity value. + // Step *resource.Quantity `json:"step,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/capacityrequirements.go b/pkg/kubeclients/applyconfiguration/resource/v1/capacityrequirements.go index bd00ca3c0..2c2e8a02e 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/capacityrequirements.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/capacityrequirements.go @@ -34,6 +34,7 @@ type CapacityRequirementsApplyConfiguration struct { // the aggregated amount across all requests must not exceed the capacity value. // The consumed capacity, which may be adjusted based on the requestPolicy if defined, // is recorded in the resource claim’s status.devices[*].consumedCapacity field. + // Requests map[resourcev1.QualifiedName]resource.Quantity `json:"requests,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/celdeviceselector.go b/pkg/kubeclients/applyconfiguration/resource/v1/celdeviceselector.go index 6ceb6c915..a109c2aa2 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/celdeviceselector.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/celdeviceselector.go @@ -56,9 +56,18 @@ type CELDeviceSelectorApplyConfiguration struct { // // cel.bind(dra, device.attributes["dra.example.com"], dra.someBool && dra.anotherBool) // + // When the DRAListTypeAttributes feature gate is enabled, + // the includes() helper is available and it can work for both scalar + // and list-type attributes. It was introduced to support smooth migration + // from scalar attributes to list-type attributes while keeping + // CEL expressions simple. For example: + // + // device.attributes["dra.example.com"].models.includes("some-model") + // // The length of the expression must be smaller or equal to 10 Ki. The // cost of evaluating it is also limited based on the estimated number // of logical steps. + // Expression *string `json:"expression,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/counter.go b/pkg/kubeclients/applyconfiguration/resource/v1/counter.go index 54b743257..3b9823edc 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/counter.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/counter.go @@ -12,6 +12,7 @@ import ( // Counter describes a quantity associated with a device. type CounterApplyConfiguration struct { // Value defines how much of a certain device counter is available. + // Value *resource.Quantity `json:"value,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/counterset.go b/pkg/kubeclients/applyconfiguration/resource/v1/counterset.go index edccb4df3..ca46cbb09 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/counterset.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/counterset.go @@ -16,11 +16,13 @@ package v1 type CounterSetApplyConfiguration struct { // Name defines the name of the counter set. // It must be a DNS label. + // Name *string `json:"name,omitempty"` // Counters defines the set of counters for this CounterSet // The name of each counter must be unique in that set and must be a DNS label. // // The maximum number of counters is 32. + // Counters map[string]CounterApplyConfiguration `json:"counters,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/device.go b/pkg/kubeclients/applyconfiguration/resource/v1/device.go index 45e740a56..b8e534471 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/device.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/device.go @@ -4,6 +4,7 @@ package v1 import ( corev1 "gpustack.ai/gpustack/pkg/kubeclients/applyconfiguration/core/v1" + apicorev1 "k8s.io/api/core/v1" resourcev1 "k8s.io/api/resource/v1" ) @@ -15,16 +16,19 @@ import ( type DeviceApplyConfiguration struct { // Name is unique identifier among all devices managed by // the driver in the pool. It must be a DNS label. + // Name *string `json:"name,omitempty"` // Attributes defines the set of attributes for this device. // The name of each attribute must be unique in that set. // // The maximum number of attributes and capacities combined is 32. + // Attributes map[resourcev1.QualifiedName]DeviceAttributeApplyConfiguration `json:"attributes,omitempty"` // Capacity defines the set of capacities for this device. // The name of each capacity must be unique in that set. // // The maximum number of attributes and capacities combined is 32. + // Capacity map[resourcev1.QualifiedName]DeviceCapacityApplyConfiguration `json:"capacity,omitempty"` // ConsumesCounters defines a list of references to sharedCounters // and the set of counters that the device will @@ -34,11 +38,13 @@ type DeviceApplyConfiguration struct { // // The maximum number of device counter consumptions per // device is 2. + // ConsumesCounters []DeviceCounterConsumptionApplyConfiguration `json:"consumesCounters,omitempty"` // NodeName identifies the node where the device is available. // // Must only be set if Spec.PerDeviceNodeSelection is set to true. // At most one of NodeName, NodeSelector and AllNodes can be set. + // NodeName *string `json:"nodeName,omitempty"` // NodeSelector defines the nodes where the device is available. // @@ -46,11 +52,13 @@ type DeviceApplyConfiguration struct { // // Must only be set if Spec.PerDeviceNodeSelection is set to true. // At most one of NodeName, NodeSelector and AllNodes can be set. + // NodeSelector *corev1.NodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"` // AllNodes indicates that all nodes have access to the device. // // Must only be set if Spec.PerDeviceNodeSelection is set to true. // At most one of NodeName, NodeSelector and AllNodes can be set. + // AllNodes *bool `json:"allNodes,omitempty"` // If specified, these are the driver-defined taints. // @@ -58,16 +66,18 @@ type DeviceApplyConfiguration struct { // any device in a ResourceSlice, then the maximum number of // allowed devices per ResourceSlice is 64 instead of 128. // - // This is an alpha field and requires enabling the DRADeviceTaints + // This is a beta field and requires enabling the DRADeviceTaints // feature gate. + // Taints []DeviceTaintApplyConfiguration `json:"taints,omitempty"` // BindsToNode indicates if the usage of an allocation involving this device // has to be limited to exactly the node that was chosen when allocating the claim. // If set to true, the scheduler will set the ResourceClaim.Status.Allocation.NodeSelector // to match the node where the allocation was made. // - // This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus + // This is a beta field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus // feature gates. + // BindsToNode *bool `json:"bindsToNode,omitempty"` // BindingConditions defines the conditions for proceeding with binding. // All of these conditions must be set in the per-device status @@ -78,8 +88,9 @@ type DeviceApplyConfiguration struct { // // The conditions must be a valid condition type string. // - // This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus + // This is a beta field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus // feature gates. + // BindingConditions []string `json:"bindingConditions,omitempty"` // BindingFailureConditions defines the conditions for binding failure. // They may be set in the per-device status conditions. @@ -89,14 +100,28 @@ type DeviceApplyConfiguration struct { // // The conditions must be a valid condition type string. // - // This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus + // This is a beta field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus // feature gates. + // BindingFailureConditions []string `json:"bindingFailureConditions,omitempty"` // AllowMultipleAllocations marks whether the device is allowed to be allocated to multiple DeviceRequests. // // If AllowMultipleAllocations is set to true, the device can be allocated more than once, // and all of its capacity is consumable, regardless of whether the requestPolicy is defined or not. + // AllowMultipleAllocations *bool `json:"allowMultipleAllocations,omitempty"` + // NodeAllocatableResourceMappings defines the mapping of node resources + // that are managed by the DRA driver exposing this device. This includes resources currently + // reported in v1.Node `status.allocatable` that are not extended resources + // (see https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#extended-resources). + // Examples include "cpu", "memory", "ephemeral-storage", and hugepages. + // In addition to standard requests made through the Pod `spec`, these resources + // can also be requested through claims and allocated by the DRA driver. + // For example, a CPU DRA driver might allocate exclusive CPUs or auxiliary node memory + // dependencies of an accelerator device. + // The keys of this map are the node-allocatable resource names (e.g., "cpu", "memory"). + // Extended resource names are not permitted as keys. + NodeAllocatableResourceMappings map[apicorev1.ResourceName]NodeAllocatableResourceMappingApplyConfiguration `json:"nodeAllocatableResourceMappings,omitempty"` } // DeviceApplyConfiguration constructs a declarative configuration of the Device type for use with @@ -226,3 +251,17 @@ func (b *DeviceApplyConfiguration) WithAllowMultipleAllocations(value bool) *Dev b.AllowMultipleAllocations = &value return b } + +// WithNodeAllocatableResourceMappings puts the entries into the NodeAllocatableResourceMappings field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, the entries provided by each call will be put on the NodeAllocatableResourceMappings field, +// overwriting an existing map entries in NodeAllocatableResourceMappings field with the same key. +func (b *DeviceApplyConfiguration) WithNodeAllocatableResourceMappings(entries map[apicorev1.ResourceName]NodeAllocatableResourceMappingApplyConfiguration) *DeviceApplyConfiguration { + if b.NodeAllocatableResourceMappings == nil && len(entries) > 0 { + b.NodeAllocatableResourceMappings = make(map[apicorev1.ResourceName]NodeAllocatableResourceMappingApplyConfiguration, len(entries)) + } + for k, v := range entries { + b.NodeAllocatableResourceMappings[k] = v + } + return b +} diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/deviceallocationconfiguration.go b/pkg/kubeclients/applyconfiguration/resource/v1/deviceallocationconfiguration.go index faaefcb17..b86558aca 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/deviceallocationconfiguration.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/deviceallocationconfiguration.go @@ -14,6 +14,7 @@ type DeviceAllocationConfigurationApplyConfiguration struct { // Source records whether the configuration comes from a class and thus // is not something that a normal user would have been able to set // or from a claim. + // Source *resourcev1.AllocationConfigSource `json:"source,omitempty"` // Requests lists the names of requests where the configuration applies. // If empty, its applies to all requests. @@ -21,6 +22,7 @@ type DeviceAllocationConfigurationApplyConfiguration struct { // References to subrequests must include the name of the main request // and may include the subrequest using the format
[/]. If just // the main request is given, the configuration applies to all subrequests. + // Requests []string `json:"requests,omitempty"` DeviceConfigurationApplyConfiguration `json:",inline"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/deviceallocationresult.go b/pkg/kubeclients/applyconfiguration/resource/v1/deviceallocationresult.go index c868b4996..f05eabe58 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/deviceallocationresult.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/deviceallocationresult.go @@ -8,6 +8,7 @@ package v1 // DeviceAllocationResult is the result of allocating devices. type DeviceAllocationResultApplyConfiguration struct { // Results lists all allocated devices. + // Results []DeviceRequestAllocationResultApplyConfiguration `json:"results,omitempty"` // This field is a combination of all the claim and class configuration parameters. // Drivers can distinguish between those based on a flag. @@ -16,6 +17,7 @@ type DeviceAllocationResultApplyConfiguration struct { // devices in the result because it is up to the drivers which configuration // parameters they support. They can silently ignore unknown configuration // parameters. + // Config []DeviceAllocationConfigurationApplyConfiguration `json:"config,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/deviceattribute.go b/pkg/kubeclients/applyconfiguration/resource/v1/deviceattribute.go index 438942830..35267b1a2 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/deviceattribute.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/deviceattribute.go @@ -8,14 +8,38 @@ package v1 // DeviceAttribute must have exactly one field set. type DeviceAttributeApplyConfiguration struct { // IntValue is a number. + // IntValue *int64 `json:"int,omitempty"` // BoolValue is a true/false value. + // BoolValue *bool `json:"bool,omitempty"` // StringValue is a string. Must not be longer than 64 characters. + // StringValue *string `json:"string,omitempty"` // VersionValue is a semantic version according to semver.org spec 2.0.0. // Must not be longer than 64 characters. + // VersionValue *string `json:"version,omitempty"` + // IntValues is a non-empty list of numbers. + // + // This is an alpha field and requires enabling the DRAListTypeAttributes feature gate. + // + IntValues []int64 `json:"ints,omitempty"` + // BoolValues is a non-empty list of true/false values. + // + BoolValues []bool `json:"bools,omitempty"` + // StringValues is a non-empty list of strings. + // Each string must not be longer than 64 characters. + // + // This is an alpha field and requires enabling the DRAListTypeAttributes feature gate. + // + StringValues []string `json:"strings,omitempty"` + // VersionValues is a non-empty list of semantic versions according to semver.org spec 2.0.0. + // Each version string must not be longer than 64 characters. + // + // This is an alpha field and requires enabling the DRAListTypeAttributes feature gate. + // + VersionValues []string `json:"versions,omitempty"` } // DeviceAttributeApplyConfiguration constructs a declarative configuration of the DeviceAttribute type for use with @@ -55,3 +79,43 @@ func (b *DeviceAttributeApplyConfiguration) WithVersionValue(value string) *Devi b.VersionValue = &value return b } + +// WithIntValues adds the given value to the IntValues field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the IntValues field. +func (b *DeviceAttributeApplyConfiguration) WithIntValues(values ...int64) *DeviceAttributeApplyConfiguration { + for i := range values { + b.IntValues = append(b.IntValues, values[i]) + } + return b +} + +// WithBoolValues adds the given value to the BoolValues field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the BoolValues field. +func (b *DeviceAttributeApplyConfiguration) WithBoolValues(values ...bool) *DeviceAttributeApplyConfiguration { + for i := range values { + b.BoolValues = append(b.BoolValues, values[i]) + } + return b +} + +// WithStringValues adds the given value to the StringValues field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the StringValues field. +func (b *DeviceAttributeApplyConfiguration) WithStringValues(values ...string) *DeviceAttributeApplyConfiguration { + for i := range values { + b.StringValues = append(b.StringValues, values[i]) + } + return b +} + +// WithVersionValues adds the given value to the VersionValues field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the VersionValues field. +func (b *DeviceAttributeApplyConfiguration) WithVersionValues(values ...string) *DeviceAttributeApplyConfiguration { + for i := range values { + b.VersionValues = append(b.VersionValues, values[i]) + } + return b +} diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/devicecapacity.go b/pkg/kubeclients/applyconfiguration/resource/v1/devicecapacity.go index 6daad9222..3e3269395 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/devicecapacity.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/devicecapacity.go @@ -16,6 +16,7 @@ type DeviceCapacityApplyConfiguration struct { // This field reflects the fixed total capacity and does not change. // The consumed amount is tracked separately by scheduler // and does not affect this value. + // Value *resource.Quantity `json:"value,omitempty"` // RequestPolicy defines how this DeviceCapacity must be consumed // when the device is allowed to be shared by multiple allocations. @@ -26,6 +27,7 @@ type DeviceCapacityApplyConfiguration struct { // requests can consume any amount of capacity, as long as the total consumed // across all allocations does not exceed the device's defined capacity. // If request is also unset, default is the full capacity value. + // RequestPolicy *CapacityRequestPolicyApplyConfiguration `json:"requestPolicy,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/deviceclaim.go b/pkg/kubeclients/applyconfiguration/resource/v1/deviceclaim.go index 5aa5c7f77..09e9c357d 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/deviceclaim.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/deviceclaim.go @@ -9,13 +9,16 @@ package v1 type DeviceClaimApplyConfiguration struct { // Requests represent individual requests for distinct devices which // must all be satisfied. If empty, nothing needs to be allocated. + // Requests []DeviceRequestApplyConfiguration `json:"requests,omitempty"` // These constraints must be satisfied by the set of devices that get // allocated for the claim. + // Constraints []DeviceConstraintApplyConfiguration `json:"constraints,omitempty"` // This field holds configuration for multiple potential drivers which // could satisfy requests in this claim. It is ignored while allocating // the claim. + // Config []DeviceClaimConfigurationApplyConfiguration `json:"config,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/deviceclaimconfiguration.go b/pkg/kubeclients/applyconfiguration/resource/v1/deviceclaimconfiguration.go index 1c6736ab1..e9f043b69 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/deviceclaimconfiguration.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/deviceclaimconfiguration.go @@ -13,6 +13,7 @@ type DeviceClaimConfigurationApplyConfiguration struct { // References to subrequests must include the name of the main request // and may include the subrequest using the format
[/]. If just // the main request is given, the configuration applies to all subrequests. + // Requests []string `json:"requests,omitempty"` DeviceConfigurationApplyConfiguration `json:",inline"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/deviceclass.go b/pkg/kubeclients/applyconfiguration/resource/v1/deviceclass.go index 3dba4a11e..3366dd254 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/deviceclass.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/deviceclass.go @@ -15,9 +15,6 @@ import ( // device configuration and selectors. It can be referenced in // the device requests of a claim to apply these presets. // Cluster scoped. -// -// This is an alpha type and requires enabling the DynamicResourceAllocation -// feature gate. type DeviceClassApplyConfiguration struct { metav1.TypeMetaApplyConfiguration `json:",inline"` // Standard object metadata diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/deviceclassspec.go b/pkg/kubeclients/applyconfiguration/resource/v1/deviceclassspec.go index e9a1edb9c..8813b28b7 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/deviceclassspec.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/deviceclassspec.go @@ -9,12 +9,14 @@ package v1 // and how to configure it. type DeviceClassSpecApplyConfiguration struct { // Each selector must be satisfied by a device which is claimed via this class. + // Selectors []DeviceSelectorApplyConfiguration `json:"selectors,omitempty"` // Config defines configuration parameters that apply to each device that is claimed via this class. // Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor // configuration applies to exactly one driver. // // They are passed to the driver, but are not considered while allocating the claim. + // Config []DeviceClassConfigurationApplyConfiguration `json:"config,omitempty"` // ExtendedResourceName is the extended resource name for the devices of this class. // The devices of this class can be used to satisfy a pod's extended resource requests. @@ -25,7 +27,7 @@ type DeviceClassSpecApplyConfiguration struct { // If two classes are created at the same time, then the name of the class // lexicographically sorted first is picked. // - // This is an alpha field. + // This is a beta field. ExtendedResourceName *string `json:"extendedResourceName,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/deviceconfiguration.go b/pkg/kubeclients/applyconfiguration/resource/v1/deviceconfiguration.go index a1d489970..73bbcfc2b 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/deviceconfiguration.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/deviceconfiguration.go @@ -10,6 +10,7 @@ package v1 // not conflict with those. type DeviceConfigurationApplyConfiguration struct { // Opaque provides driver-specific configuration parameters. + // Opaque *OpaqueDeviceConfigurationApplyConfiguration `json:"opaque,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/deviceconstraint.go b/pkg/kubeclients/applyconfiguration/resource/v1/deviceconstraint.go index 43fd89cb8..f5ae2f1a0 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/deviceconstraint.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/deviceconstraint.go @@ -20,6 +20,7 @@ type DeviceConstraintApplyConfiguration struct { // References to subrequests must include the name of the main request // and may include the subrequest using the format
[/]. If just // the main request is given, the constraint applies to all subrequests. + // Requests []string `json:"requests,omitempty"` // MatchAttribute requires that all devices in question have this // attribute and that its type and value are the same across those @@ -32,11 +33,22 @@ type DeviceConstraintApplyConfiguration struct { // its specification, but if one device doesn't, then it also will not be // chosen. // + // When the DRAListTypeAttributes feature gate is enabled, comparison uses + // set semantics(i.e., element order and duplicates are ignored): list-valued attributes + // match when the intersection across all devices is non-empty. + // Scalar values are treated as single-element lists for backward compatibility. + // // Must include the domain qualifier. + // MatchAttribute *resourcev1.FullyQualifiedName `json:"matchAttribute,omitempty"` // DistinctAttribute requires that all devices in question have this // attribute and that its type and value are unique across those devices. // + // When the DRAListTypeAttributes feature gate is enabled, comparison uses + // set semantics (i.e., element order and duplicates are ignored): + // list-valued attributes must be pairwise disjoint across devices. + // Scalar values are treated as singleton sets for backward compatibility. + // // This acts as the inverse of MatchAttribute. // // This constraint is used to avoid allocating multiple requests to the same device @@ -44,6 +56,7 @@ type DeviceConstraintApplyConfiguration struct { // // This is useful for scenarios where resource requests must be fulfilled by separate physical devices. // For example, a container requests two network interfaces that must be allocated from two different physical NICs. + // DistinctAttribute *resourcev1.FullyQualifiedName `json:"distinctAttribute,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/devicecounterconsumption.go b/pkg/kubeclients/applyconfiguration/resource/v1/devicecounterconsumption.go index a0d7de280..2b76f814f 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/devicecounterconsumption.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/devicecounterconsumption.go @@ -10,10 +10,12 @@ package v1 type DeviceCounterConsumptionApplyConfiguration struct { // CounterSet is the name of the set from which the // counters defined will be consumed. + // CounterSet *string `json:"counterSet,omitempty"` // Counters defines the counters that will be consumed by the device. // // The maximum number of counters is 32. + // Counters map[string]CounterApplyConfiguration `json:"counters,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/devicerequest.go b/pkg/kubeclients/applyconfiguration/resource/v1/devicerequest.go index 1f7b0843d..a94745aaa 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/devicerequest.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/devicerequest.go @@ -20,11 +20,13 @@ type DeviceRequestApplyConfiguration struct { // scheduler. // // Must be a DNS label. + // Name *string `json:"name,omitempty"` // Exactly specifies the details for a single request that must // be met exactly for the request to be satisfied. // // One of Exactly or FirstAvailable must be set. + // Exactly *ExactDeviceRequestApplyConfiguration `json:"exactly,omitempty"` // FirstAvailable contains subrequests, of which exactly one will be // selected by the scheduler. It tries to @@ -39,6 +41,7 @@ type DeviceRequestApplyConfiguration struct { // will determine which node is chosen. This means that the set of // devices allocated to a claim might not be the optimal set // available to the cluster. Scoring will be implemented later. + // FirstAvailable []DeviceSubRequestApplyConfiguration `json:"firstAvailable,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/devicerequestallocationresult.go b/pkg/kubeclients/applyconfiguration/resource/v1/devicerequestallocationresult.go index 0f43c4efd..e4b6b618b 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/devicerequestallocationresult.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/devicerequestallocationresult.go @@ -20,6 +20,7 @@ type DeviceRequestAllocationResultApplyConfiguration struct { // using the format
/. // // Multiple devices may have been allocated per request. + // Request *string `json:"request,omitempty"` // Driver specifies the name of the DRA driver whose kubelet // plugin should be invoked to process the allocation once the claim is @@ -27,48 +28,55 @@ type DeviceRequestAllocationResultApplyConfiguration struct { // // Must be a DNS subdomain and should end with a DNS domain owned by the // vendor of the driver. It should use only lower case characters. + // Driver *string `json:"driver,omitempty"` // This name together with the driver name and the device name field // identify which device was allocated (`//`). // // Must not be longer than 253 characters and may contain one or more // DNS sub-domains separated by slashes. + // Pool *string `json:"pool,omitempty"` // Device references one device instance via its name in the driver's // resource pool. It must be a DNS label. + // Device *string `json:"device,omitempty"` // AdminAccess indicates that this device was allocated for // administrative access. See the corresponding request field // for a definition of mode. // - // This is an alpha field and requires enabling the DRAAdminAccess - // feature gate. Admin access is disabled if this field is unset or + // Admin access is disabled if this field is unset or // set to false, otherwise it is enabled. + // AdminAccess *bool `json:"adminAccess,omitempty"` // A copy of all tolerations specified in the request at the time // when the device got allocated. // // The maximum number of tolerations is 16. // - // This is an alpha field and requires enabling the DRADeviceTaints + // This is a beta field and requires enabling the DRADeviceTaints // feature gate. + // Tolerations []DeviceTolerationApplyConfiguration `json:"tolerations,omitempty"` // BindingConditions contains a copy of the BindingConditions // from the corresponding ResourceSlice at the time of allocation. // - // This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus + // This is a beta field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus // feature gates. + // BindingConditions []string `json:"bindingConditions,omitempty"` // BindingFailureConditions contains a copy of the BindingFailureConditions // from the corresponding ResourceSlice at the time of allocation. // - // This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus + // This is a beta field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus // feature gates. + // BindingFailureConditions []string `json:"bindingFailureConditions,omitempty"` // ShareID uniquely identifies an individual allocation share of the device, // used when the device supports multiple simultaneous allocations. // It serves as an additional map key to differentiate concurrent shares // of the same device. + // ShareID *types.UID `json:"shareID,omitempty"` // ConsumedCapacity tracks the amount of capacity consumed per device as part of the claim request. // The consumed amount may differ from the requested amount: it is rounded up to the nearest valid @@ -78,6 +86,7 @@ type DeviceRequestAllocationResultApplyConfiguration struct { // // This field is populated only for devices that allow multiple allocations. // All capacity entries are included, even if the consumed amount is zero. + // ConsumedCapacity map[resourcev1.QualifiedName]resource.Quantity `json:"consumedCapacity,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/deviceselector.go b/pkg/kubeclients/applyconfiguration/resource/v1/deviceselector.go index bb9fd3c39..ab7d043f7 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/deviceselector.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/deviceselector.go @@ -8,6 +8,7 @@ package v1 // DeviceSelector must have exactly one field set. type DeviceSelectorApplyConfiguration struct { // CEL contains a CEL expression for selecting a device. + // CEL *CELDeviceSelectorApplyConfiguration `json:"cel,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/devicesubrequest.go b/pkg/kubeclients/applyconfiguration/resource/v1/devicesubrequest.go index 148522e66..78347163b 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/devicesubrequest.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/devicesubrequest.go @@ -23,6 +23,7 @@ type DeviceSubRequestApplyConfiguration struct { // format
/. // // Must be a DNS label. + // Name *string `json:"name,omitempty"` // DeviceClassName references a specific DeviceClass, which can define // additional configuration and selectors to be inherited by this @@ -35,11 +36,13 @@ type DeviceSubRequestApplyConfiguration struct { // devices. If users are free to request anything without restrictions, // then administrators can create an empty DeviceClass for users // to reference. + // DeviceClassName *string `json:"deviceClassName,omitempty"` // Selectors define criteria which must be satisfied by a specific // device in order for that device to be considered for this // subrequest. All selectors must be satisfied for a device to be // considered. + // Selectors []DeviceSelectorApplyConfiguration `json:"selectors,omitempty"` // AllocationMode and its related fields define how devices are allocated // to satisfy this subrequest. Supported values are: @@ -58,9 +61,11 @@ type DeviceSubRequestApplyConfiguration struct { // // More modes may get added in the future. Clients must refuse to handle // requests with unknown modes. + // AllocationMode *resourcev1.DeviceAllocationMode `json:"allocationMode,omitempty"` // Count is used only when the count mode is "ExactCount". Must be greater than zero. // If AllocationMode is ExactCount and this field is not specified, the default is one. + // Count *int64 `json:"count,omitempty"` // If specified, the request's tolerations. // @@ -77,8 +82,9 @@ type DeviceSubRequestApplyConfiguration struct { // // The maximum number of tolerations is 16. // - // This is an alpha field and requires enabling the DRADeviceTaints + // This is a beta field and requires enabling the DRADeviceTaints // feature gate. + // Tolerations []DeviceTolerationApplyConfiguration `json:"tolerations,omitempty"` // Capacity define resource requirements against each capacity. // @@ -92,6 +98,7 @@ type DeviceSubRequestApplyConfiguration struct { // If AllocationMode is set to All, // the request fails if there are devices that otherwise match the request, // and have this capacity, with a value >= the requested amount, but which cannot be allocated to this request. + // Capacity *CapacityRequirementsApplyConfiguration `json:"capacity,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/devicetaint.go b/pkg/kubeclients/applyconfiguration/resource/v1/devicetaint.go index a2d6ab3b6..ef8224279 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/devicetaint.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/devicetaint.go @@ -16,9 +16,11 @@ import ( type DeviceTaintApplyConfiguration struct { // The taint key to be applied to a device. // Must be a label name. + // Key *string `json:"key,omitempty"` // The taint value corresponding to the taint key. // Must be a label value. + // Value *string `json:"value,omitempty"` // The effect of the taint on claims that do not tolerate the taint // and through such claims on the pods using them. @@ -26,9 +28,20 @@ type DeviceTaintApplyConfiguration struct { // Valid effects are None, NoSchedule and NoExecute. PreferNoSchedule as used for // nodes is not valid here. More effects may get added in the future. // Consumers must treat unknown effects like None. + // Effect *resourcev1.DeviceTaintEffect `json:"effect,omitempty"` - // TimeAdded represents the time at which the taint was added. + // TimeAdded represents the time at which the taint was added or + // (only in a DeviceTaintRule) the effect was modified. // Added automatically during create or update if not set. + // + // In addition, in a DeviceTaintRule a value provided during + // an update gets replaced with the current time if the provided + // value is the same as the old one and the new effect is different. + // Changing the key and/or value while keeping the effect unchanged + // is possible and does not update the time stamp because the eviction + // which uses it is either already started (NoExecute) or + // not started yet (NoEffect, NoSchedule). + // TimeAdded *metav1.Time `json:"timeAdded,omitempty"` } diff --git a/pkg/kubeclients/applyconfiguration/resource/v1/devicetoleration.go b/pkg/kubeclients/applyconfiguration/resource/v1/devicetoleration.go index 70e592df9..17694ca6d 100644 --- a/pkg/kubeclients/applyconfiguration/resource/v1/devicetoleration.go +++ b/pkg/kubeclients/applyconfiguration/resource/v1/devicetoleration.go @@ -15,18 +15,22 @@ type DeviceTolerationApplyConfiguration struct { // Key is the taint key that the toleration applies to. Empty means match all taint keys. // If the key is empty, operator must be Exists; this combination means to match all values and all keys. // Must be a label name. + // Key *string `json:"key,omitempty"` // Operator represents a key's relationship to the value. // Valid operators are Exists and Equal. Defaults to Equal. // Exists is equivalent to wildcard for value, so that a ResourceClaim can // tolerate all taints of a particular category. + // Operator *resourcev1.DeviceTolerationOperator `json:"operator,omitempty"` // Value is the taint value the toleration matches to. // If the operator is Exists, the value must be empty, otherwise just a regular string. // Must be a label value. + // Value *string `json:"value,omitempty"` // Effect indicates the taint effect to match. Empty means match all taint effects. // When specified, allowed values are NoSchedule and NoExecute. + // Effect *resourcev1.DeviceTaintEffect `json:"effect,omitempty"` // TolerationSeconds represents the period of time the toleration (which must be // of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, @@ -34,6 +38,7 @@ type DeviceTolerationApplyConfiguration struct { // negative values will be treated as 0 (evict immediately) by the system. // If larger than zero, the time when the pod needs to be evicted is calculated as